Compress Image

Reduce the size of a photo or graphic by re-encoding it at a quality and a maximum dimension you control — with a before/after size readout so you can see the result.

Files are never uploaded

How to use it

Add your images

Drop one or more photos, or click to browse. Mixed formats are fine, so JPG, PNG, WebP and HEIC can all go into the same batch.

Choose an output format

JPG is usually the smallest for photographs, WebP is smaller still in most browsers, and PNG stays lossless for screenshots and graphics.

Set the maximum dimension

This is the long edge of the result in pixels and is the single biggest lever on file size. 1920 is a good web default; 0 keeps the original dimensions.

Slide the quality

Quality applies only to the lossy formats. 0.7 is a sensible starting point for photos; go lower for a smaller file or higher to protect detail.

Compress and compare

The card reports the total before and after size. If the result is too aggressive or not small enough, adjust a setting and run it again.

Common issues

A screenshot gets blurry when saved as JPG

Screenshots are full of hard edges and flat colour, which is exactly what JPG handles badly. Use PNG for anything containing text or sharp lines and keep JPG for photographs.

A PNG comes out larger than the original

Re-encoding a PNG rarely helps, because it is already lossless. If a PNG has to be smaller, accept JPG or WebP and the loss of transparency that comes with them.

Setting a large maximum dimension does nothing

If the value is larger than the original image, the result simply keeps the original size. Only set a maximum that is smaller than the source if you want a real reduction.

A batch of a hundred photos takes a while

Every image is decoded and re-encoded in turn on your device, with progress shown per file. Splitting a very large batch into smaller groups keeps the tab responsive.

Frequently asked questions

How small should I make an image?
For a website, 1920 pixels on the long edge at quality 0.7 is a good balance. For email attachments, 1280 pixels is usually plenty.
Does compression reduce image dimensions?
Only if you set a maximum dimension smaller than the original. Setting it to 0 keeps the original width and height.
Why did my PNG get bigger?
PNG is lossless, so re-encoding rarely shrinks a photograph. Choose JPG or WebP for photos and keep PNG for screenshots and graphics with flat colour.
Will transparency be preserved?
Yes for PNG and WebP. JPG has no transparency channel, so transparent pixels are filled with white.
Are my photos uploaded?
No. Everything happens in the browser tab on your own device.
What does the before and after size tell me?
It is the combined size of everything you added compared with the combined size of the results, so you can judge the saving at a glance before downloading.
Should I resize an image or just lower the quality?
Resizing usually saves more and is safer for photographs. Lower quality saves space but can introduce visible blockiness on fine detail, so reduce the dimensions first.
Can I compress an image that is already a compressed JPG?
Yes, but each pass loses a little quality. Re-compressing an image that has already been saved as JPG once will not look better and can look slightly worse, so keep the original if you can.
Does the tool keep the file names?
Yes. Each result keeps the original name with the new extension, so a batch stays easy to match up with its sources.

Related tools

Send us feedback

Something broken, or unclear? Tell us and we will look at it.

About this page. Written and maintained by the AI-Mind team. Last reviewed 11 October 2026. This tool runs entirely in your browser. Found an error or have a suggestion? Use the feedback form above or email [email protected].