Image Compressor
Shrink an image's file size without changing its width or height. Pick a quality level yourself, or set a target file size — like getting a photo under 1 MB — and the tool finds the quality that lands there. Everything happens in your browser, so the image never leaves your device.
Everything runs in your browser — your image is never uploaded, sent to a server, or stored. Nothing leaves your device.
How it works
First pick an output format — JPG (smallest file, but no transparency) or WebP (small, and it keeps transparency). Then choose how to compress:
- By quality — drag the quality slider from 1 to 100% (80% is the default). Lower quality means a smaller file with more visible artifacts; higher quality stays closer to the original but produces a bigger file.
- To a target file size — type the size you're aiming for, such as 1 MB or 500 KB. The tool re-encodes the image at several quality levels and keeps the highest quality whose file still fits under your target, then shows you which quality it used.
Either way, the tool shows the before and after file size so you can see exactly how much you saved.
When to use it
Reach for this when a photo is too big to email or upload, when a form or website caps the file size (say, "must be under 2 MB"), or when you want a web page to load faster. Target-size mode is the quick answer to "get this under 1 MB" — you name the limit instead of guessing at a quality number. If you also need to change the image's dimensions, do that with the Image Resizer instead — this tool only touches file size.
Frequently asked questions
How do I compress an image to a target size, like under 1 MB?
Switch the mode to "To a target file size", type the size you need (for example 1 MB or 500 KB), and the tool tries a range of quality levels and keeps the best-looking one that still fits your budget. It shows the quality it settled on and the final file size. If your image can't get that small even at the lowest quality, it tells you and suggests resizing the image first.
Does compressing an image lose quality?
Yes, a little — compression here is lossy, meaning it throws away some detail to make the file smaller. At the default 80% quality most photos look nearly identical to the original. Once you save at a lower quality, that lost detail can't be brought back, so keep your original file if you might need it later.
Will this change the size of my image (width and height)?
No. The Image Compressor only reduces file size — the pixel dimensions stay exactly the same. If you need to change the width or height instead, use the Image Resizer.
Is my image uploaded anywhere?
No. The whole process runs in your browser using a canvas element. Your image is never sent to a server — it stays on your device the entire time.