Image Compressor
Compress and convert JPG, PNG, WebP and AVIF images entirely in your browser. Nothing is ever uploaded.
Always stripped. Canvas re-draw removes all metadata automatically.
Drop images here, or click to browse
Batch process multiple files or paste from clipboard (Ctrl+V)
Results 0
| Preview | File | Original | Compressed | Saving | Actions |
|---|
How to use
- Drop one or more images onto the upload area.
- Pick a target quality level or use the smart preset.
- The compressed previews appear with their new sizes and percentage saved.
- Adjust the quality slider until the file size and visual quality match your needs.
- Download images individually or as a zip.
Frequently asked questions
How much can I expect to save?
JPGs typically shrink 40-70% with little perceptual loss. PNGs vary more widely; converting flat illustrations to optimized PNG or WebP often saves 50% or more.
Is the compression lossy or lossless?
JPG and WebP at quality below 100 are lossy. PNG compression here is lossless palette-based optimisation; nothing visual is discarded.
Are my files uploaded?
No. All compression runs locally in your browser. Even sensitive images never leave your device.
Why does WebP often win?
WebP uses a more modern compression scheme than JPG and PNG, so it produces smaller files at the same visual quality. All current browsers and most apps support it.
Can I convert images to AVIF?
Yes. Pick AVIF as the output format to convert JPG, PNG, WebP or GIF images to AVIF, which is typically 20-50% smaller than WebP at the same visual quality. Chrome and Edge encode AVIF natively; other browsers use a small WebAssembly encoder that loads automatically the first time you pick AVIF. Either way, your images are still never uploaded — only the encoder code itself is fetched, once, from a public CDN.
Lossy vs lossless, and what "quality 80" really does
Lossless compression (PNG) rearranges data so the exact pixels survive; lossy compression (JPEG, most WebP) discards information your eye weighs least, starting with fine colour detail. A JPEG quality slider maps to how aggressive that discarding is: the visually meaningful range for photos is 70-85, where files shrink 5-10x from the original with differences most viewers cannot spot. Below about 60, block artifacts and smeared edges appear; above 90, file size balloons for invisible gains. Quality 80 is the workhorse default for a reason.
Matching format to content
- Photographs: JPEG or WebP. WebP typically lands 25-35% smaller than JPEG at equivalent visual quality.
- Screenshots, logos, diagrams, anything with text or sharp edges: PNG or lossless WebP... JPEG visibly smears hard edges.
- Transparency: PNG or WebP; JPEG has no alpha channel.
- Re-compressing a JPEG repeatedly compounds artifacts like photocopying a photocopy; always compress from the best original you have.
Why this matters beyond disk space
Images are the heaviest component of a typical web page, and Largest Contentful Paint... a Google ranking signal... usually measures the hero image. Compressing a 2.4 MB hero to 280 KB routinely cuts seconds off mobile load times. A sane pipeline: resize to the largest displayed dimensions first, then compress, then check the result at 100% zoom on both a phone and a desktop screen before shipping.
Metadata: the invisible payload
Photos carry EXIF data... camera model, settings, timestamps and, from phones, GPS coordinates of where the shot was taken. Compression pipelines typically strip this, which is simultaneously a size win (metadata can run tens of kilobytes) and a privacy decision worth making consciously: an image posted online with intact GPS tags publishes the location it was taken, which for photos taken at home is your address. Before sharing images from a phone camera anywhere public, compressing them is the convenient point at which the location data quietly disappears along with the excess bytes.
Advertisement