Image Compressor
Shrink an image's file size with an adjustable quality slider, in your browser.
About the Image Compressor
A photo straight off a phone camera can easily run 3-5 MB — far more than any website, email attachment or WhatsApp share actually needs, and often the reason a page loads slowly or an email bounces for being too large. This tool re-encodes your image at an adjustable quality level, cutting file size while keeping the picture visually indistinguishable at any reasonable quality setting.
Drag the quality slider and compress — higher settings (80-95%) preserve near-original detail with modest savings, useful for photography you'll print or zoom into; lower settings (40-70%) shrink file size dramatically with a barely noticeable quality trade-off, ideal for web images and email attachments. The tool reports the before-and-after size so you can see exactly what you gained before committing to the download.
Compression happens entirely in your browser using the canvas API — your photos are never uploaded to a server, which matters for anything personal or sensitive. For website images specifically, pairing a compressed JPEG with the right dimensions (via the image resizer) typically cuts page weight far more than compression alone, since an oversized image wastes bytes regardless of compression level.
A quick way to judge the right setting: compress at 80%, look closely at fine detail like text or hair strands, and only drop further if the size still isn't small enough for your purpose. Photos with lots of flat colour (product shots on white, screenshots) compress far more forgivingly than busy, high-detail photography, so don't assume one quality number suits every image in a batch.
Frequently asked questions
- What quality setting should I use?
- 80% is a good default for most photos — a meaningful size reduction with no visible quality loss. Drop to 50-60% for web thumbnails or email attachments where file size matters more than fine detail.
- Does compression convert my image to JPEG?
- Yes — this tool outputs JPEG, which supports the adjustable quality compression that gives the biggest size reductions. If you need to keep transparency (PNG), compress separately or accept a flattened white background.
- Is my photo uploaded anywhere?
- No — compression runs entirely in your browser using the canvas API. Your image never leaves your device.
Related tools
Resize any image to exact pixel dimensions, with optional aspect-ratio lock.
WebP ConverterConvert any image to the modern, smaller WebP format.
Compress PDFShrink a PDF's file size with a lossless structural pass, in your browser.
PNG to JPG ConverterConvert PNG images to JPG, with transparency flattened to white.