Image Compressor

Image Compressor is a free image tool that runs directly in your browser with no account required.

About this tool

Large photos slow down web pages and hit email attachment limits. This compressor re-encodes an image at a quality level you choose, optionally capping its width, and reports exactly how much smaller the file became. Everything runs locally, and you can set a target size in KB to check whether the result fits your limit.

How to use

  1. Select a photo under Image file.
  2. Optionally set Max width to downscale large images, and enter a Target size KB if you have a size limit to hit.
  3. Adjust the Quality value (default 75) and choose an output Format such as JPG or WebP.
  4. Review the file size change and target status, then download the compressed image.

Frequently asked questions

Are my photos uploaded anywhere?

No. Compression happens entirely in your browser using the canvas API; the file is never sent to a server. This also means it works offline once the page is loaded.

How does the Target size KB field work?

It does not automatically hit the target; instead the result shows whether your output landed under or over it and by how much. If you are over, lower the Quality value or reduce Max width and check again.

What does Never upscale small images do?

When checked, a Max width larger than the original image is ignored, so a small image is never stretched to a bigger, blurrier size.

Is EXIF metadata removed?

Yes. Because the image is redrawn on a canvas and re-encoded, EXIF data such as GPS coordinates, camera model, and timestamps is stripped from the output. The result panel confirms this with a Metadata removed indicator.

Which format compresses best?

For photos, WebP or AVIF at the same quality setting usually produces smaller files than JPG, though AVIF export depends on browser support. PNG is lossless and typically the largest, so it is a poor choice for photographs.

Why did my file get larger after compressing?

If the source was already heavily compressed, re-encoding at a high quality or converting to PNG can grow the file. The Change metric will show a percentage larger; try a lower Quality value or a more efficient format.

Related tools