Image compressor

Compress an image in your browser

Choose a JPG, PNG or WebP file, set a size target or a quality level, and download a real, re-encoded image. Everything happens on this device.

Your files are processed in this browser tab. Nothing is uploaded, stored or logged.

How compression works here

  1. Add one image. The tool checks the file signature, not just the extension.
  2. Optionally type a target in KB and pick a maximum dimension.
  3. Choose the output format. Keeping the input format usually gives the best result.
  4. Press Compress image. The browser re-encodes it and measures the real output size.
  5. Download the file. The reported size is the byte count of the file you receive.

What it can and cannot do

Questions

Is my image uploaded to a server?

No. The image is decoded and re-encoded by your own browser. There is no upload endpoint and no file is stored. You can confirm this in the browser network panel.

Why can the target size sometimes not be reached?

Compression trades size against quality and resolution. The tool makes a bounded number of attempts and stops at a quality floor. When it cannot reach your target it says “Closest possible” and shows the real resulting size instead of claiming success.

Does compression remove EXIF data?

Yes. Re-encoding through a canvas drops EXIF metadata, including GPS location and camera details. The image is drawn with its orientation applied first, so it will not appear rotated.

What happens to transparent PNGs?

PNG and WebP keep transparency. If you choose JPEG output, transparency has to be flattened onto a background colour and the tool tells you before you convert.

How large can my image be?

Up to 25 MB per file and 40 megapixels after decoding. Those limits keep a mid-range phone responsive; larger files are rejected with a clear message rather than freezing the tab.

Related tools