Loading Image Compressor & Resizer…
Your picture is resized and re-encoded by this page, on your own device. It is never uploaded, so there is no copy of it on a server to be kept, indexed or leaked — which is the part of “free image compressor” that usually goes unsaid.
Smallest for photographs. No transparency.
Around 80 is the usual sweet spot for photographs. Below about 60 the edges in the picture start to visibly break up.
Choose an image to get started.
Re-encoding drops everything that is not pixels, including the EXIF block — which on a phone photograph normally carries the date, the camera and, if location was on, the coordinates the picture was taken at. That is usually a benefit before posting a picture, and worth knowing if you needed that data kept.
Choose a file or drop one onto the page, set a size, pick a format and a quality, and this image compressor returns the result with the before and after file size and dimensions side by side, ready to download. The size can be given as a longest side, a width or a percentage, or left as it is when all you want is to re-encode.
The work is done in the page itself, on a canvas, through canvas.toBlob(). The picture is never uploaded, so no copy exists on anyone’s server to be retained, indexed or leaked afterwards. That is the substantive difference between this and most free compressors, which need your file on their machine before they can touch it.
A photograph straight off a phone at 4032 x 3024 is 12.19 megapixels. Constrained to a longest side of 1600 it becomes 1600 x 1200, or 1.92 megapixels — an eighth of the pixels, which is why the file falls so far before the quality slider has done anything at all. Asked for 25% instead, the same photograph comes out at 1008 x 756.
Nothing is ever enlarged. A picture already 800 x 600 is left at 800 x 600 and simply re-encoded, because scaling up invents no detail and returns a bigger file for a softer image. The tool also reports when the compressed version is larger than the original, which genuinely happens where the source JPEG had already been squeezed harder than the quality you asked for.
The quality slider applies to the lossy formats only. JPEG and WebP both use it; the canvas API ignores it for PNG, which is lossless and comes out at whatever size the pixels demand.
WebP is usually smaller than JPEG at the same quality and, unlike JPEG, keeps transparency, which makes it the first thing worth trying. PNG is right for screenshots, logos and flat graphics with hard edges, and wrong for photographs, where it produces very large files. Around quality 80 is the usual sweet spot for a photograph; below about 60 the edges in a picture visibly break up.
Re-encoding keeps the pixels and discards everything else, the EXIF block included. On a phone photograph that block normally carries the date, the camera, and — if location services were switched on — the coordinates where the picture was taken. Losing it is usually a benefit before posting a picture publicly, and worth knowing about if you needed that data kept for a claim, a listing or an archive.
One piece of EXIF is honoured before it goes. The orientation flag is applied as the image is decoded, which is what stops a photograph taken in portrait from coming out on its side.
No. The file is read and re-encoded by your own browser and nothing about it crosses the network. That matters for anything sensitive: a passport scan, a medical photograph, a document with an address on it.
WebP for photographs on a modern site, since it beats JPEG at matching quality and keeps transparency. JPEG where something older has to open the file. PNG for screenshots, logos and flat graphics only.
Because the original had been compressed harder than the quality you selected, so re-encoding put data back. Lower the quality, cut the dimensions, or keep the original — the tool tells you rather than hiding it.
Yes, as a side effect of re-encoding rather than as a feature. The EXIF block is not carried across, so the coordinates, the timestamp and the camera details go with it. Keep the original if you need them.