Compress Image - Reduce File Size, Keep Quality
Shrink image file sizes before uploading to websites, sending by email, or sharing on social media. Drag and drop your images and use the quality slider to find the right balance between file size and visual quality. By default the output keeps the input format, or pick WebP, AVIF, JPG or PNG to compress and convert in one step. Everything runs locally in your browser using high-performance WebAssembly codecs.
Quality is how much detail is kept, not a target size. Each file saves a different amount: one that is already compressed has less left to remove.

Drop files here
or browse to upload · paste from clipboard
Up to 50.0 MB per file
How to use this tool
Upload your images
Drop one or more JPEG, PNG, WebP, or AVIF images. Batch compression is supported - all files process in parallel.
Adjust the quality slider
The default setting of 75% reduces most images by 40–70% with no perceptible quality loss. Slide lower for smaller files or higher for maximum quality.
Click Compress
Each image is decoded and re-encoded at your chosen quality. JPEG, WebP and AVIF keep less fine detail as the slider goes down; a PNG is reduced to a smaller palette of colours, the way TinyPNG does it. At 95% and above a PNG stays lossless and is only repacked.
Download and compare
Each result shows the output file size and the percentage reduction. Download individually or as a ZIP archive.
Frequently Asked Questions
How much can I reduce image file size without visible quality loss?
For JPEG, going from 100% to 80% quality typically reduces file size by 50–70% with virtually no visible difference on screen or print. For PNG with flat colors, switching to WebP lossless can reduce size by 25–35%. The right quality depends on your use case - web thumbnails can use 60–70% quality; print assets should stay at 85–95%.
What is the difference between JPEG compression and PNG compression?
JPEG, WebP and AVIF compress by approximating detail, so lowering quality trades sharpness for size. PNG stores pixels exactly, so this tool compresses it by reducing the number of colours to at most 256, with dithering to keep gradients smooth. A screenshot usually drops 70–90% that way; at 95% quality and above the PNG stays lossless.
Will compressing an already-compressed JPEG make it worse?
Yes, re-compressing JPEG introduces "generation loss" - each compression cycle degrades quality slightly. This tool minimizes damage by using a high-quality decoder (jsquash), but the principle applies. If preserving maximum quality is critical, compress from the original RAW or lossless source, not from an already-compressed JPEG.
Why do my images shrink by different percentages at the same quality?
Because the slider sets how much detail is kept, not a target size. At the same setting, a camera original might lose 80% and a copy that was already compressed only 25%, since it has less left to remove. If a file would come out bigger, the original is kept instead, so lower the quality to shrink it further.
Is there a lossless way to reduce JPEG file size?
Standard JPEG compression is inherently lossy. There are lossless JPEG optimization tools (like jpegtran) that strip metadata and optimize Huffman coding without touching pixels - typically saving 2–8%. This tool uses lossy re-encoding at your chosen quality. For lossless JPEG optimization, consider ImageOptim on macOS or Squoosh with its Mozjpeg encoder at 100% quality.
You might also need
Something not working? Report a bug
