Compress an image
Reduce JPG, PNG or WEBP file size with a quality slider you control. Compression happens in your browser.
Shrink a JPG, PNG or WEBP with a real quality slider and, where useful, a format switch — every result is a genuine encode measured in bytes, not an estimate.
Processed in your browser
Drop your image here
or choose an image from your device
Accepts JPG, PNG or WEBP · No fixed size limit — we adapt to what your device can handle. Very large files may take longer or show a warning.
About Image Compressor
Why the output format choice matters more than the slider for PNG
PNG is lossless, so re-encoding a PNG as PNG rarely saves much — a well-made PNG is often already close to optimal at that pixel count. The real saving on a photographic PNG comes from switching output to WEBP or JPG, which this tool lets you do directly, with a live comparison of the actual byte counts.
One honest measurement per run
Every compression pass encodes the file for real in the browser and reports its exact size against the original — never a formula-based guess. If a setting makes the file bigger, the result panel says 'Larger' instead of hiding it.
Settings and output
Output format
Keeping the original format is the safe default. Switching a PNG to WEBP or JPG is usually the biggest single lever if the source has photographic content and no need for a hard-edged transparent background.
Quality slider
75–85 covers most web images. Text-heavy or large hero images look better at 90+; below 70 you'll notice banding in skies and haloing around edges.
When to use it
- Bringing a photo under an email attachment or upload size limit.
- Reducing the weight of images across a website or gallery without changing dimensions.
- Comparing how a single image behaves at different quality levels before publishing.
Limitations to know
- PNG output has no quality dial — the only way to shrink a PNG is fewer pixels or a different output format.
- Repeated compression of the same lossy file compounds quality loss; always start from your best original.
- Very large source files depend on the memory available in your browser tab.
Common problems and fixes
My PNG barely changed size after compressing.
That's normal — PNG is lossless and a well-encoded original leaves little to gain. Switch the output format to WEBP or JPG to see a real reduction.
I compressed the same file twice and it looks worse than expected.
Each lossy pass adds permanent damage on top of the last. Start again from the original file and pick a lower quality in a single pass instead.
The compressed file is larger than my original.
This happens when the source was already efficiently compressed. Keep the original in that case — the result panel flags it as 'Larger' rather than a saving.
How to use it
- 1Drop a JPG, PNG or WEBP file. The tool detects the input format and shows its true size and dimensions.
- 2Choose an output format. For PNG sources this matters: PNG is lossless, so re-encoding it as PNG often saves nothing — switching to WEBP or JPG is what actually shrinks it.
- 3Drag the quality slider and press Compress. Each run encodes for real and measures the output.
- 4Check the Saved / Larger label and dimensions, then download. If the result is larger, keep your original.
Frequently asked questions
Why didn't my PNG get smaller?
PNG has no quality setting — it stores every pixel exactly. Re-encoding a PNG that was already saved by a good encoder typically produces the same size or slightly more. To genuinely shrink it, reduce the dimensions or convert to WEBP or JPG.
What quality value should I use?
75–85 covers almost every web use. Go to 90+ for images displayed large or containing text; below 70 you'll see banding in skies and halos around edges.
Is the reported saving real?
Yes. It's computed from the byte length of the encoded output against your original file, not estimated from the quality setting.
Can I compress the same file twice to make it smaller?
You can, but you shouldn't. Each lossy pass adds permanent damage. Go back to the original and use a lower quality value in one pass instead.
Is my file uploaded anywhere?
No. Decoding and encoding both happen in your browser via the Canvas API. Nothing is transmitted, which is why this works offline once the page has loaded.
Related guides
- How to reduce image file size without wrecking the pictureMost oversized images are oversized for one boring reason: the dimensions are far larger than anywhere they're displayed. Fix that first, then compress.
- JPG vs WEBP: is it worth converting your images?WEBP typically saves 25–35% over an equivalent JPG. Here is where that saving is real, where it isn't, and what you give up.
Not sure which settings this image needs? Run it through the image optimization tool to get an optimization score and automatic format, quality and size choices.
Related tools
- Resize ImageSet exact pixel dimensions or aim for a target file size in KB. Everything runs in your browser.
- JPG to WEBPTurn JPG images into WEBP files right in your browser. No upload, no signup, no watermark.
- PNG to JPGTurn PNG images into JPG files right in your browser. No upload, no signup, no watermark.
- Crop ImageTrim an image to the exact area you want, using pixel-accurate crop values.