Image Compressor
Shrink JPG, PNG and WebP images
Shrinks JPG, PNG, and WebP images by re-encoding them at a lower quality setting you control with a slider, so you can trade a little visual quality for a much smaller file — useful for email attachments, page load times, or upload limits.
How it works
Moving the quality slider re-encodes the image live using the Canvas API's built-in encoder, and the resulting file size updates immediately so you can find the smallest size that still looks acceptable before downloading. If the re-encoded version would end up larger than your original, the tool keeps the original instead of handing you a bigger "compressed" file.
Frequently asked questions
Does compressing a PNG actually make it smaller?
PNG is a lossless format, so the quality slider has no effect on it — but re-encoding a PNG can still shrink it a little on its own, since the browser's encoder sometimes packs pixel data more efficiently than whatever originally created the file.
What's the size limit?
100MB per image, which comfortably covers even large uncompressed JPG, PNG, or WebP photos.
What quality setting should I use?
There's no single right answer — it depends on the image and what you need it for. Start around 80% and adjust down if the file still isn't small enough, watching the live preview and size as you go.
Do you see or store my images?
No — the slider, the re-encoding, and the resulting file all stay in your browser tab. Nothing is uploaded to a server.
Why is my "compressed" file the same size as the original?
If re-encoding wouldn't actually shrink the file, the tool returns your original bytes unchanged rather than a larger file labeled "compressed."