Compress an image
Your files never leave your device.Compression is performed by your browser’s encoder, so exact file sizes differ slightly between Chrome, Firefox and Safari.
Repeatedly compressing and re-saving the same JPEG adds artefacts. Always start from the original file when trying new settings.
How to use Image Compressor
Upload a photo or graphic
Drag a JPG, PNG or WebP file onto the drop area or browse for it. The list shows the file name and original size, and a preview appears as soon as the image decodes.
Set the quality
Move the quality slider. Lower values produce smaller files; 70–80% is a good starting point for photographs, while graphics with flat colours often look fine at 60%.
Cap the dimensions if needed
If the photo is much larger than where it will be displayed, set a maximum width. Scaling a 6000 px photo to 1920 px usually saves more than quality reduction alone.
Compress the image
Click Compress image. The picture is redrawn on a canvas and exported with the browser’s own encoder. The result panel shows both sizes, the saving and the new dimensions.
Download the result
Compare the preview, then download the compressed file. Press Reset to load another image; nothing is stored between sessions.
Features and benefits of Image Compressor
- Before and after comparisonSee the original size, the compressed size and the percentage saved before you commit to a download.
- Quality and dimension controlCompression is not one-size-fits-all. Adjust quality together with a maximum width to hit the exact target your website or form needs.
- JPEG, WebP and PNG outputPick JPEG for the smallest photographs, WebP for modern browsers, or PNG when you need lossless output.
- No server round tripImages are decoded by your browser and re-encoded locally. Compression is immediate and works offline after the page loads.
- Transparency handlingWhen exporting to JPEG, transparent areas are filled with white instead of turning black, which is the usual cause of broken-looking logos.
Why use our free online image compressor?
Large images are the main reason a page feels slow. A single unoptimised hero photo can weigh more than the rest of the site combined, and upload forms often reject photos over a fixed limit. Compressing locally solves both problems without a design tool.
The Canvas API gives you the same quality control a desktop editor offers, but with no install and no upload. You can test two or three quality settings in seconds and keep the version that looks best at the size you actually use.
Because the file never leaves your device, this is also the safer option for photos of documents, family pictures and unreleased product shots. The page needs no account and does not keep a copy of your image.
Practical tips for Image Compressor
For photographs, JPEG at 70–80% quality is usually indistinguishable from the original at normal viewing size and cuts the file dramatically. PNG is the better choice for screenshots, logos and images with flat colour or transparency, where JPEG introduces visible smudges around sharp edges. WebP often gives the smallest file of the three in current browsers.
Always compress from the original file, never from an already compressed copy, because each re-save adds artefacts. If you need to hit a specific upload limit, lower the maximum width first; halving the dimensions removes three quarters of the pixels and is far less damaging than heavy quality reduction at full size.
Image Compressor FAQ
How much smaller will my image get?
Typical photos shrink by 50–90% at 70–80% quality. PNG screenshots may only shrink modestly because PNG is lossless; use JPEG or WebP for a bigger saving.
Does compression reduce the resolution?
Only if you choose a maximum width. With “Keep original size” the pixel dimensions are unchanged and only the encoding quality is reduced.
Which format should I choose?
JPEG for photos, WebP for the best size-to-quality ratio on modern websites, PNG when you need sharp edges or transparency.
Can I compress several images at once?
This page handles one image per run so you can judge each result. For batches, process the most important images first or use the Image Resizer after compression.
Are my images uploaded?
No. The image is loaded from your disk into the browser, processed on a canvas and saved back to your device.
Related tools
Browse the full Image Tools collection or return to all 25 free tools.