Skip to content

Image Compressor — shrink JPG, PNG & WebP

Runs 100% in your browser — nothing is uploaded, nothing is stored.

Compress images in your browser — pick a format and quality and download a smaller file. Nothing is uploaded.

Processed entirely in your browser. JPG and WebP shrink files with the quality slider; PNG is lossless.

How to compress an image

Pick a JPG or PNG file. Choose an output format and, for JPG or WebP, drag the quality slider. Press Download compressed image and the smaller file saves instantly.

Which format should I use?

JPG and WebP are lossy — lower quality means a smaller file, ideal for photos and web images. PNG is lossless and best for graphics, screenshots and anything with sharp text or transparency, but it will not shrink much.

Frequently asked questions

Is my image uploaded?
No. The compression runs on a canvas in your browser. The file is read locally and never sent to a server.

Why is my PNG not much smaller?
PNG keeps every pixel exactly. Switch to JPG or WebP if you want a real size reduction and can accept minor quality loss.

Does it keep the original resolution?
Yes. Compression here changes file size, not dimensions. Use the image resizer if you also need smaller dimensions.

How to use it

  1. Pick an image file. Click the file input and choose a JPG or PNG from your computer. The original stays where it is; only the file path is read locally.
  2. Select an output format. Choose image/jpeg, image/png, or image/webp from the format options. The selection determines whether the result uses lossy or lossless encoding.
  3. Set the quality level. If you chose JPG or WebP, drag the quality slider (default 80%). Lower values produce smaller files but introduce more compression artifacts. PNG ignores this setting because it does not support lossy compression.
  4. Download the result. Press “Download compressed image.” The browser generates the new file on a canvas and saves it immediately. No server request is made at any point.

Where it comes in handy

A photographer exports a 14 MB RAW-to-JPG image at 100% quality. Dropping the quality to 70% through this tool brings it down to roughly 3.2 MB with no visible degradation at normal viewing size, making it fast enough to email as an attachment.

A design team maintains a shared folder of 60 PNG screenshots averaging 4.8 MB each. Re-exporting as WebP at quality 85% shrinks the average to about 1.1 MB, cutting total storage from 288 MB to under 66 MB without altering the images pixel-for-pixel.

An online forum limits uploads to 2 MB per image. A 5 MB PNG banner can be converted to JPEG at quality 75% and dropped below the limit in a single download, preserving all text and logos for forum display.

Worth knowing

  • Quality is expressed as a percentage but mapped to an internal 0–1 float. Moving the slider from 80% to 79% may change the file size by less than 1 KB because the encoder rounds to discrete quality steps.
  • PNG output is always lossless, so it may end up larger than the original if the source used a different color profile or interlacing setting. There is no quality slider for PNG — setting it has no effect.
  • Browsers that do not support WebP natively will download a WebP file that cannot open until the user converts it separately. The tool cannot fall back to JPEG automatically for those browsers.

Related tools

Scroll to Top