Resize vs compress
Resizing lowers the pixel dimensions (e.g. 4000px to 1200px), which alone cuts size dramatically. Compression then reduces quality slightly to shrink the file further. Doing both gives the smallest result that still looks good.
How to use it
Choose an image, set a max width, pick a quality level and format, and download the optimized file. Everything runs locally with a canvas, so your images are never uploaded.