What this tool does
Image compression reduces the amount of data needed to store a photo. A camera photo taken at full resolution can easily be 5–8 MB, which is too large to attach to most email services and slows down any website that displays it. This compressor re-encodes the image at a lower quality setting, producing a visually similar file at a fraction of the size.
All encoding happens inside your browser using the Canvas API. Your photo is decoded, re-encoded, and offered as a download — it never leaves your device.
How to compress an image
- Click the upload area and choose a JPG, PNG or WEBP file.
- Pick a quality percentage (75–85% is usually the sweet spot for photos; 90%+ for images with text).
- Choose an output format — WebP is the smallest for most photos; JPEG is universally compatible; PNG is best for images with transparency or sharp text.
- Press Compress image and compare the before/after size.
- Click Download to save the compressed file.
Choosing quality vs file size
A 100% quality setting re-encodes the image almost losslessly — the file is barely smaller than the original. Dropping to 80% typically cuts the size in half with no visible difference at normal viewing size. Below 50%, JPG and WebP begin to show visible artefacts (blocky patches around edges, colour banding in smooth gradients). For documents and screenshots with text, keep quality at 85% or higher, or use PNG.
PNG vs JPEG vs WEBP
JPEG is a lossy format designed for photographs. It compresses well but does not support transparency. PNG is lossless and supports transparency, but produces much larger files for photos. WebP supports both lossy and lossless compression and produces the smallest files in most cases — but some older software still cannot open it. For general sharing, WebP is the best choice; for guaranteed compatibility, JPEG.
Common questions
Is my image uploaded? No. All processing happens in your browser.
Can I compress multiple images at once? Yes — use the Bulk Image Processing tool, which processes a whole batch and downloads the results as a ZIP.
What happens if the file gets larger? Re-encoding an already-small image sometimes produces a larger file, especially if you convert PNG to JPEG. The result panel tells you if the output grew. Try a different format or lower quality.