webtools

Compress Image

Private: the image is compressed on your device, never uploaded

Drop an image in to start. It is read by this page only, and never leaves your device.

Make a JPG, PNG or WebP smaller without sending it anywhere. Drag one in, move the quality slider, and watch the real numbers: the size you started with, the size you end with, and the percent saved. The preview is the actual compressed file, not an approximation, so what you see is what downloads.

About this image compressor

Most compressors upload your photo to a server, compress it there and let you download it back. This one does not, because it does not need to: every browser already contains a JPEG and WebP encoder, the same one your camera app uses through the operating system. This page decodes your file, redraws it on a canvas and asks the browser to encode it again at the quality you choose. Your image never crosses the network, so there is nothing to delete afterwards and no privacy policy to trust.

The numbers are honest, which is rarer than it should be. The preview on the right is the compressed file itself, read back from memory, so the size shown is the size of the download to the byte. Nothing is estimated, and the comparison does not quietly resize your image to flatter the result.

One side effect is worth knowing about: redrawing through a canvas strips every piece of metadata, including the EXIF block. That means the GPS coordinates, the camera serial number and the timestamp your phone wrote into the file are gone from the output. For most people that is the point, especially before posting a photo taken at home, and the EXIF viewer will show you what was in there before it went. If you need the metadata kept, this is the wrong tool.

How to compress an image

  1. Drop an image on the box, click it to browse, or just paste a screenshot onto the page.
  2. Leave Quality around 75 to 85 for photos. Below 60 the blocking starts to show on skin and sky. If a form has given you a hard limit in KB instead, use the tool that compresses to an exact size, which searches for the quality that fits.
  3. For a photo saved as a PNG, switch the format to WebP. That single change is usually where the real saving is.
  4. Compare the two panes at full size before you trust the number. Look at faces and at flat areas of colour first.
  5. Press Download. Your original file is untouched: the result saves alongside it with "compressed" in the name.

Common questions about compressing images

Why did my PNG get bigger instead of smaller?

Because PNG is lossless, so there is no quality to give away, and the browser's PNG encoder is not as clever as the one that wrote your file. Re-saving a screenshot as a PNG often adds a few percent. The page tells you when that happens rather than letting you download a worse file by accident. The fix is to change format: a photo stored as a PNG usually loses 70 to 90 percent as a WebP, and a flat screenshot still tends to shrink as a WebP too.

Does the image get sent to a server to be compressed?

No. The file is read by JavaScript on this page, decoded, drawn on a canvas and encoded again, all inside your browser. That is a claim you can test in about ten seconds: press F12 to open the developer tools, choose the Network tab, and compress an image. Nothing new appears in the list, because no request is made. For the stronger version, load the page, disconnect from the internet, and compress something anyway: it still works, and a tool that uploaded could not.

Does this remove EXIF and GPS data?

Yes, all of it. Canvas gives back pixels and nothing else, so the output carries no location, no camera model, no serial number and no original timestamp. Photos from a phone routinely contain the exact coordinates of where they were taken, so this is usually a feature. If you specifically need the EXIF preserved, compress the file with a tool that edits it in place instead.

Which quality should I pick?

For a photo going on a website, 80 is a good default and 75 is usually still fine. For something that will be looked at closely, stay at 90 or above. Below 60 you will see blocks in the sky and mush in the fine detail. Quality is not a percentage of the original file size, it is a setting on the encoder, so going from 90 to 80 often halves the file while the picture looks unchanged at normal size.

JPEG or WebP?

WebP for anything on the web: it is typically 25 to 35 percent smaller than a JPEG that looks the same, it keeps transparency, and every current browser supports it. JPEG when the file has to go somewhere older, such as an upload form that rejects anything else, a print workflow, or a device that will not open a WebP. Keep the format unchanged when you only want a smaller version of what you already have.

Is there a file size limit?

25 MB, which is well above a normal camera photo. The limit exists because everything happens in your browser's memory: a much larger file can exhaust a phone tab and kill the page mid-compress, which is a worse outcome than a clear message. For something bigger, resize it down first and then compress.

Next

Related tools

All Image tools