Image Compressor

Shrink JPG, PNG, and WebP file sizes with adjustable quality.

Drop an image here or

How to use

  1. Drop an image or click browse.
  2. Pick a quality preset (High 90, Medium 75, Low 50) or set a custom value.
  3. Optionally convert the format to WebP (usually the smallest) and cap the longest dimension to downscale oversized photos.
  4. Click Compress, then Download.

What does it do?

The tool re-encodes your image through a browser canvas at the quality level you pick. JPG and WebP are lossy — they discard perceptually unimportant data to shrink the file. PNG is lossless, so the same PNG re-encoded at any quality stays the same visual content; to shrink a PNG photo, convert it to JPG or WebP instead.

Example

Input:  1920 × 1080 PNG screenshot of a photograph, 2.4 MB
Action: convert to JPG, quality 82
Output: 1920 × 1080 JPG, 268 KB  (about 9× smaller, visually identical)

Why is my compressed image bigger than the original?

This catches people out constantly. Common causes, in rough order of frequency.

  • Re-encoding an already-compressed PNG. Tools like pngquant or TinyPNG produce tightly-packed PNGs. A browser canvas PNG encoder does not match them and the file gets larger. For photos, convert to JPG or WebP; for PNGs, don't re-compress.
  • Quality set higher than the original. If you download a JPG that was encoded at quality 70 and re-compress at 92, you are asking the encoder to preserve noise it doesn't know is noise. Result: larger file, no visual gain.
  • Converting JPG → PNG. PNG stores every pixel exactly. A photographic JPG converted to PNG will explode in size. Keep photos as JPG or WebP.
  • Forgetting to downscale oversized photos. A 48 MP camera photo stays huge at quality 80 because there are just too many pixels. Check "Downscale if wider than" and set 2000 px — often a 10× total size reduction.
  • Using WebP lossless on a photo. The tool uses lossy WebP by default, but if you've converted via another tool first, a lossless WebP on a photo is typically larger than equivalent JPG.

Is my data private?

Yes. We don't save the image you drop here, and we don't keep the compressed version you download either. Nothing is stored, logged, or retained — everything is discarded the moment you close or refresh the tab. There's no record on our side of the photos you ran through the tool. Feel free to verify in your browser's developer tools.

Frequently asked questions

What is the difference between lossy and lossless compression?

Lossy formats (JPG, WebP at default settings) throw away visual information the eye does not notice, trading fidelity for smaller files. Lossless formats (PNG, WebP lossless) keep every pixel exactly. Photos shrink dramatically with lossy compression; screenshots and logos should stay lossless.

Why did my PNG get bigger after compressing it?

Browser canvas PNG encoding does not apply the advanced filters and palette optimization that tools like pngquant or oxipng use, so an already-optimized small PNG can round-trip larger. For photos, convert to JPG or WebP instead — PNG is lossless and cannot compete with lossy formats on photographic content.

What quality setting should I pick?

For photos on the web, 75–85 is the sweet spot — barely visible loss, 3–5× smaller than the original. Use 90+ for portfolio or print work. Below 60, expect visible blocking and banding in skies and gradients. The Medium preset (75) is a safe default.

JPG vs WebP — which should I use?

WebP produces roughly 25–35% smaller files than JPG at equal perceptual quality and every current browser supports it. Pick WebP for web use. Pick JPG only if the file is going somewhere that still might not accept WebP (some email clients, some legacy software, some social uploaders).

Is there a size or dimension limit?

The tool runs on browser memory. Very large images (over ~100 megapixels, or files over ~200 MB) may fail to decode on low-memory devices. Enable "Downscale if wider than" to cap the longest side — this often gives the biggest single size win for oversized camera photos.

Do you save the images I compress here?

No. We don't save the original image you drop in or the compressed version you download. Everything is discarded as soon as you close or refresh the tab — no logs, no record on our side of the photos you ran through the tool. You can verify in your browser's developer tools if you want extra confidence.

Related tools