Toolhaus

Image Compressor

Shrink JPEG and WebP file size with an adjustable quality slider.

Reduce the file size of a photo by lowering its quality — useful for email, web pages and uploads. Drag the quality slider and watch the estimated size and savings update live, then download. Everything runs locally in your browser.

Drop an image here, or

Choose an image, then pick an output format (JPEG or WebP) and drag the quality slider. The preview updates live with the estimated file size and percentage saved, so you can compare before downloading.

Assumptions

  • Lower quality settings shrink files further but introduce visible artifacts like blockiness, especially in detailed areas.
  • Compression ratio depends on the source image — detailed photos shrink less than screenshots or flat-color graphics at the same setting.
  • Only the encoding changes — pixel dimensions stay exactly as uploaded; use a resizer for smaller dimensions.

Frequently asked questions

Does compressing lose quality?

Lossy formats trade some detail for smaller files. Use the slider to balance quality and size.

What quality setting should I use?

Around 70-80% works well for most photos, keeping detail intact while cutting size noticeably. Go lower for casual use like email attachments, and higher for images you'll print or zoom into.

Why didn't the file get much smaller?

The source may already be compressed, or the quality slider may be set close to 100%. Detailed, busy photos also shrink less than simple graphics at the same setting.

Does compressing change the image dimensions?

No — only the encoding changes. Width and height stay exactly as uploaded; use an image resizer if you also need smaller dimensions.

Which format compresses better, JPEG or WebP?

WebP usually beats JPEG at the same visual quality, especially for photos, but it varies by image — try both and compare the live size estimate.

Is my photo uploaded anywhere?

No. Compression happens entirely in your browser, so nothing is sent to a server.

Privacy

All processing happens locally in your browser. Your data is never uploaded.

Read the practical guide for this category.

Related tools