Compress images right in your browser
Photos from a modern phone often weigh several megabytes, yet many upload forms, job portals and email servers only accept small attachments. This tool shrinks JPG, PNG and WebP images in seconds. You choose the quality, the dimensions and the output format, and you can process a whole batch at once.
Everything runs on your own device. Your images are not uploaded to any server.
How to use it
- Add your images. Drag them into the drop area, or click it to pick files. You can add up to 50 images at a time.
- Pick your settings: output format (keep original, JPG, WebP or PNG), quality, and whether to resize.
- Click “Compress images”. Each file shows its size before and after, plus the percentage saved. A total line shows how much you saved overall.
- Download. Use “Download” on a single image, or “Download all (zip)” once you have two or more results.
If you change a setting after compressing, the images go back to the waiting state so they can be recompressed with the new values.
What the settings do
- Quality (1–100): applies to JPG and WebP, which are lossy formats that discard some detail to save space. Lower quality means a smaller file, but also more blur or blocky artifacts. The default is 80.
- PNG: a lossless format that keeps every pixel, so the quality slider is disabled for it. Resizing is the most effective way to shrink a PNG.
- WebP: usually produces smaller files than JPG at a similar look, but some older software can’t open it. If your browser can’t encode WebP, the tool falls back to JPG.
- Fit inside a box: enter a maximum width and height in pixels. The image is scaled down to fit and keeps its aspect ratio. Images already smaller than the box are never enlarged. Use 0 for no limit on that side.
- By percentage: for example, 50% halves both width and height, which leaves roughly a quarter of the pixels.
Under the hood, your browser decodes the image, draws it onto a canvas at the new size, and encodes it again in the format and quality you chose. The image is rotated to match the camera’s orientation. Because the image is re-encoded, extra metadata such as the location or camera model is usually not carried over to the result.
Example
Say you have a phone photo to attach to an online application that limits file size. Keep the format on “Keep original”, set the quality to 80, choose “Fit inside a box” and enter 1920 for width and 1080 for height. The file will shrink considerably while staying sharp enough to view on a screen. If it is still too big, lower the quality to 70 or use a smaller box and compress again. Each attempt takes only a few seconds.
These numbers are only a starting point. The right values depend on the photo and on the limit you need to meet.
Privacy
Images are compressed in your browser. They never leave your device and are not stored anywhere else. Closing or reloading the page clears the images you selected.