๐Ÿ—œ๏ธ Image Compressor

Drag and drop an image, or click to select

Re-encodes an uploaded image at a JPEG quality level you choose (0-100%) to reduce its file size. Compare the before/after size and reduction percentage to produce a lighter image for web use.

How to use

  1. Drag and drop an image, or click to select a file.
  2. Adjust the quality slider (lower values produce smaller files but reduce image quality).
  3. Click "Compress" to see the resulting size, then click "Download" to save it.

How the calculation works

Re-save an image as JPEG at a lower quality (0โ€“100%) to reduce the file size. Compare the size before and after and the percentage saved. JPEG shrinks files by discarding fine colour detail the eye barely notices (lossy compression). Lower quality means smaller files, but noise (blocks and smearing) appears around edges. Images with transparency, such as PNGs, are filled with white before being saved as JPEG.

Worked example

A 4 MB phone photo saved at 70% quality โ†’ often a few hundred KB Quality guide 80โ€“90%: almost indistinguishable (for keeping or printing photos) 60โ€“75%: plenty for websites and blogs 50% and below: degradation starts to show

Things to be aware of

  • Already heavily compressed JPEGs, flat graphics and illustrations can come out larger when re-saved.
  • Logos and text-heavy images are often sharper and smaller as PNG than as JPEG.
  • The pixel dimensions do not change. For a much smaller file, resize the image first, then compress it.

FAQ

Can I compress PNG images too?

Yes, you can upload one, but the output is always JPEG, so any transparent areas are filled with white.

How low can I safely set the quality?

It depends on the use case, but around 70% usually looks nearly identical for web display. Lower values produce smaller files.

Can the compressed file end up larger than the original?

Yes. If the original was already a highly compressed JPEG or a simple graphic, the output can sometimes be larger depending on the quality setting.