Image Compressor
Reduce JPG, PNG and WebP file size with a quality slider, a max-dimension cap or an exact target size — compressed in your browser, nothing uploaded.
Settings
Quality 75 · Original size · PNG → WebP
How to Compress an Image in 3 Steps
Drop an Image
Drag a JPG, PNG or WebP onto the left pane or click to browse. The original size and dimensions show in the header badge.
Tune the Settings
Move the quality slider, cap the longest side, or type a target size in KB and the tool finds the quality that hits it. The preview updates live.
Compare & Download
Check the before/after sizes and the saved percentage in the toolbar, then download the compressed file or copy it to the clipboard.
Which Setting Should I Use?
| Goal | Suggested setting | Why |
|---|---|---|
| Email / chat attachment | Target size 500 KB | Most inboxes and apps are happy under 1 MB; 500 KB leaves headroom |
| Web page or blog | Quality 70–80, max 1600 px | Screens rarely show more than 1600 px wide; 75 is visually lossless for photos |
| Social media upload | Quality 85, max 2048 px | Platforms recompress anyway — give them a clean, not-too-big source |
| Screenshots / UI with text | Keep PNG → WebP on, quality 90 | WebP keeps flat colours and text crisp at a fraction of PNG size |
| Logos with transparency | PNG → WebP on | WebP preserves the alpha channel; JPG does not |
Image Compressor — Frequently Asked Questions
Does compressing reduce image quality?
Lossy formats (JPG, WebP) trade a little detail for a much smaller file. At quality 70–85 the difference is invisible on screens. PNG is lossless, which is why the tool offers to convert PNGs to WebP — the only way to make them meaningfully smaller without reducing dimensions.
How does Target size work?
Type a size in KB and the tool binary-searches the quality setting (up to 7 encodes) until the output lands at or under that size. If the target cannot be reached at minimum quality, it also lowers the dimensions and tells you.
Why is my PNG not getting smaller?
PNG is lossless, so the quality slider does nothing to it. Turn on Convert PNG to WebP or set a max dimension. Transparency is preserved in WebP.
Are my images uploaded to a server?
No. The image is decoded, resized and re-encoded with the Canvas API inside your browser. Nothing is transmitted or stored anywhere.
What is the maximum file size?
Up to 50 MB per image. Very large images (over 50 megapixels) can exhaust mobile browser memory, so the tool also caps the longest side at 8192 px during processing.