Image Compressor
Reduce image file size with an adjustable quality setting and an instant before/after comparison.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server. Limited by your device's memory rather than a server quota. Very large images may take several seconds.
How to use the image compressor
- Drop an image onto the page or choose a file.
- Adjust the quality slider and watch the estimated size update.
- Compare with the original, then download the compressed version.
About this tool
Most photographs carry far more data than a web page needs. Compression discards detail the eye is least sensitive to; the question is how much can go before the loss becomes visible. That threshold depends on the picture — a portrait with smooth skin shows artefacts earlier than a busy landscape — which is why this tool shows the compressed result next to the original rather than promising a fixed percentage.
Quality around 0.8 is a reasonable starting point for photographs and typically removes half the file size or more. Converting to WebP usually saves more again at the same visual quality. Flat graphics, screenshots and anything with sharp text compress badly as JPEG and should stay PNG or become WebP.
Decoding and re-encoding happen through the browser's Canvas API on your own device. The file is never uploaded, which also means there is no queue and no size cap beyond what your device's memory allows.
Common uses
- Shrinking photos so a page loads faster.
- Getting a picture under an upload size limit.
- Preparing images for email without emptying an inbox quota.
Frequently asked questions
- Will compression reduce the image quality?
- JPEG and WebP compression is lossy, so some detail is discarded. At moderate settings the difference is usually invisible at normal viewing size — use the comparison view to judge it on your own image.
- Are my images uploaded?
- No. The file is read and re-encoded by your browser on your device. Nothing is transmitted to a server.
- Why did my PNG get bigger?
- PNG is lossless and already compressed. Re-encoding a PNG as PNG can add bytes; convert it to WebP or JPEG instead if the image is a photograph.
- Does compressing remove EXIF data?
- Yes. Re-encoding through the canvas drops metadata such as camera model and GPS location, which is often a useful side effect before publishing.
Related tools
Image Resizer
Resize an image to exact pixel dimensions or a percentage, with the aspect ratio locked by default.
Image Converter
Convert images between JPG, PNG and WebP, with quality control for the lossy formats.
Image Cropper
Crop an image by dragging a selection, with optional fixed aspect ratios such as 1:1 and 16:9.
HEX to RGB Converter
Convert colours between HEX, RGB and HSL with a live preview and copyable CSS values.