Image Compressor — Free, Private, Browser-Based
Adjust image size with quality or target-size settings. JPG, PNG and WebP are supported; results depend on the image and your browser. Files are processed locally.
How to compress images in your browser
- Drop your images. Add JPG, JPEG, PNG or WebP files by drag-and-drop or the file picker. Multiple files are processed as a batch.
- Choose quality or target size. Either set an output quality percentage, or ask for an approximate target file size. How much either helps depends on the image.
- Choose the output format. Auto (WebP) always uses WebP; choose WebP, JPEG or PNG to force another format. PNG is lossless, so the quality and target-size settings have limited effect on it.
- Download and compare. Download a single result or the whole batch as a ZIP, and compare each output with the original before replacing your files.
Use Cases
Frequently Asked Questions
What image formats are supported?
JPG/JPEG, PNG and WebP, for both input and output. HEIC is not accepted directly — convert iPhone photos with the HEIC to JPG tool first, then compress the result here.
Will compression lose quality?
JPEG and WebP are lossy formats — lower settings can visibly soften detail, and quality already lost in a lossy source file cannot be recovered. PNG output uses lossless encoding.
Are my images uploaded to a server?
No. Compression runs locally in your browser. Your files are not uploaded anywhere.
How much smaller will my files get?
There is no fixed reduction and no guaranteed target size. Already-optimized images and PNG output can shrink very little or even come out larger — always compare the output with the original.
Is there a file size limit?
There is no fixed cap, but practical limits depend on your device and the memory your browser has available. Very large images may process slowly or fail on low-memory devices.
What each output format does to your file
The output format decides most of what is possible. Auto picks WebP because it is lossy and keeps transparency. In target-size mode the tool searches for a quality that fits, then lowers the resolution if quality alone is not enough.
| Output | Quality slider | Target size | Transparency | Choose it when |
|---|---|---|---|---|
| WebP (Auto) | Works | Works | Kept | The destination accepts WebP. Usually the smallest result. |
| JPEG | Works | Works | Replaced with white | A form or app only takes JPG. |
| PNG | Little effect | Little effect | Kept | You need lossless output. It may not get smaller. |
- The longest edge is capped at 4096 pixels, so a larger photo also comes back smaller in dimensions.
- The target-size field stops at 0.02 MB (about 20 KB). If a result misses the target, the file is marked; try WebP or a smaller resolution.
- Re-encoding removes EXIF data such as GPS and camera details. Keep the original if you need them.
- Files that are already well compressed can come back the same size or larger. Compare before you replace anything.