Too Much Tools logoToo Much Tools

Image Compressor

Resize and compress images to JPEG/WebP/PNG in your browser, nothing is uploaded.

Local, Runs entirely in your browser, your data never leaves your device.
Loading tool…

Shrink an image without a round trip to a server

This tool redraws an image onto a canvas at a smaller pixel size and re-encodes it in the format you choose, showing the before-and-after dimensions, file size and percentage reduction as you adjust the controls. It's the kind of thing you reach for before attaching a photo to an email or uploading it to a form with a size limit. Because the resize and re-encode both run in canvas APIs your browser already ships, the original file is never sent anywhere to be processed.

How to use the Image Compressor

  1. Choose an image file to load it into the tool.
  2. Pick an output format: JPEG, WebP or PNG.
  3. For JPEG or WebP, drag the quality slider and watch the file size update live.
  4. Set a maximum dimension to scale the longest side down, or leave it at 'Original'.
  5. Download the compressed file once the size reduction and preview look right.

PNG is lossless, so it has no quality slider; switching to PNG only reduces file size through the max-dimension resize, not through the quality control that JPEG and WebP expose.

The max-dimension setting only ever scales an image down, never up, so choosing a cap larger than the original's dimensions leaves both its pixel size and its file size unchanged, whatever format or quality you pick.

Frequently asked questions

Does the quality slider do anything when I choose PNG?
No, PNG is a lossless format so it has no quality parameter; the slider is hidden for PNG output and the only way to shrink a PNG here is by lowering its maximum dimension.
Will this upscale a small image if I pick a larger max size?
No, the resize only scales an image down to fit the chosen maximum dimension; if the original is already smaller than that value, its pixel dimensions are left exactly as they are.
Is my photo uploaded to a server to be compressed?
No, the file is decoded and redrawn on an HTML canvas element using your browser's own image codecs, so the original photo and the compressed output are both generated on your device.
Should I pick JPEG or WebP for the smallest file size?
WebP generally produces a smaller file than JPEG at a comparable quality setting for photographic content, but JPEG remains the safer choice if the image needs to open in very old software.