Image Compressor
Add up to 20 images, set a format, size limit and quality, then download the smaller versions. Everything runs client-side — your images never leave the browser.
How the compression works
Each image is decoded with createImageBitmap, drawn onto an off-screen <canvas> at the target size, and re-encoded with canvas.toBlob(type, quality). That is the same pipeline a browser uses to render a photo, so there is no upload step and no third-party service — open your developer tools and watch the network tab stay empty. When you close the tab, every trace of the images is gone.
Resizing versus re-compressing
Two things shrink a file: fewer pixels and a lower quality setting. Halving the width and height of a photo removes three-quarters of its pixels, which usually matters far more than the quality slider. If your goal is a smaller download for the web, set a sensible maximum dimension first — 1600 px is plenty for a full-width blog image — and only then lower the quality. The tool preserves the aspect ratio and never enlarges an image, so a small source stays its original size.
Choosing a format
JPEG is the universal choice for photographs and is supported everywhere. WebP typically produces a file 20–30% smaller than JPEG at the same visual quality and is now supported by every current browser, so it is the best default for websites.PNG is lossless: keep it for screenshots, logos, line art and anything with a transparent background or hard edges, but never convert a photo to PNG expecting it to shrink — it will balloon.
Related tools
Need a scannable graphic rather than a smaller photo? TheQR code generator builds one in the browser too. Working with documents instead of images? TryPDF merge & split. And if you just need placeholder pictures while you design, generate copy with theLorem Ipsum generator.
Related tools
Frequently asked questions
Do my images get uploaded anywhere?
Which formats can I convert between?
What does the quality slider do?
Why did my PNG get bigger?
Can it open HEIC photos from my iPhone?
How do the max width and height work?
Is there a limit on file size or count?
Last reviewed: September 2026. Figures and formulas are checked against their published sources; see the site's data notes.