Image Compressor — Reduce Image File Size Without Uploading
Files are compressed entirely in your browser. Nothing is uploaded.
Pick a quality level, keep the original format, and download a lighter copy. A maximum dimension is optional and images are never enlarged.
In one line: compressing an image re-encodes the same pixels at a lower quality setting, so a 2 MB photo can become a few hundred kilobytes; converting swaps the container format, for example PNG to WebP or JPG to AVIF. Both run in your browser tab — the file is read from disk, redrawn on a canvas inside a Web Worker, and downloaded, never uploaded.
✅ Quick Answer
A 4000 × 3000 JPEG saved at quality 75 usually lands at 15–25% of its original size while looking identical on screen. A PNG stays lossless at any setting — the slider is disabled — so choose WebP if you need it smaller.
Rule of thumb: the quality slider only affects lossy formats. PNG output ignores it, and no image is ever enlarged: a maximum dimension only scales the long edge down.
Results
How to compress an image
- Drop JPG, PNG or WebP files on the box above, or click it to browse. Up to 20 files are accepted in one batch.
- Keep Output format on Same as input, then move the Quality slider. 75 is a safe starting point for photos.
- Optional: type a maximum dimension such as 1200 to cap the long edge. The tool scales down only — it never enlarges.
- Press Compress, compare original and output sizes on each card, then download the file, or all of them at once.
What quality setting should I use?
It depends on where the image goes next. Quality 75 is the default for good reason: most people cannot see the difference on a screen, and the file is several times smaller than the original.
- 40–60Thumbnails, avatars and previews where the image is displayed small. Detail is visible only when zoomed in.
- 75General purpose: web pages, email attachments, forms and uploads with a size limit.
- 85–100Photographs where fine texture matters — prints, product shots, portfolios. Gains get small above 90.
Does compressing remove metadata?
Yes. The browser redraws the image on a canvas, and a canvas only keeps pixels — so EXIF data such as camera model, capture time and GPS coordinates is dropped. That is a privacy benefit for photos you publish, and a thing to remember if you rely on EXIF for archiving. The upside: the compressed file has no hidden location data.
Frequently Asked Questions
What is the difference between compressing and converting?
Compressing re-encodes the image in the same format at a lower quality, so a JPG stays a JPG. Converting changes the format, for example PNG to WebP or JPG to AVIF. This page compresses by default; the Output format list adds conversion only when you pick a different format, and the button label changes to Compress & Convert.
Why does the quality slider not affect PNG files?
PNG is a lossless format in the browser, so there is no quality setting to adjust. The slider is disabled and labelled Lossless when the input is PNG and the output stays PNG. To reduce a PNG below lossless size, choose WebP or AVIF as the output format.
Are my images uploaded to a server?
No. Files are decoded by your browser, redrawn on a canvas inside a Web Worker and re-encoded there. Nothing is uploaded, no account is needed and no file is stored anywhere. You can confirm it in the Network panel of your browser's developer tools.
How many files can I compress at once?
Up to 20 files per batch, and each file must be 20 MB or smaller. Images above 50 megapixels are refused because decoding them would exhaust memory on most phones.
Why is my compressed file larger than the original?
Re-encoding is not always smaller. A PNG written from an already compressed JPG grows, and high quality settings can exceed a file that was previously optimised. The card shows the exact difference and the download button still works, so you can simply keep the original if it was already smaller.