100% offline
Media & Design
Free · no signup
Updated

Image Compressor

An Image Compressor reduces the file size of JPEG and WebP images by re-encoding them at lower quality — either to a quality level you choose or automatically to a target maximum file size — entirely in your browser, with a live before/after size comparison.

80%
Drop an image here or click Add image.
It never leaves your browser.

About Image Compressor

Drop in an image and compress it two ways: pull the quality slider and watch the output size update live, or switch to target-size mode, enter a budget like 200 KB, and the tool binary-searches the highest quality that still fits. It outputs WebP (smallest) or JPEG, shows the original beside the compressed result with the exact bytes saved, and lets you download the result. Because everything runs on a canvas in your browser, your photos are never uploaded. To change dimensions or crop, use the Image Resizer instead — this tool focuses purely on file-size compression.

What Image Compressor does

  • Compress by quality or to a target maximum file size (KB)
  • Automatic quality search to hit a size budget
  • WebP or JPEG output
  • Live before/after preview with bytes and % saved
  • Single-image focus with instant feedback
  • Runs entirely in your browser — images never uploaded

When to reach for Image Compressor

  • Getting a photo under an upload size limit (e.g. 2 MB or 200 KB)
  • Shrinking hero images to speed up a web page
  • Compressing screenshots before emailing or attaching them
  • Converting a heavy PNG photo to a much smaller WebP

How to use Image Compressor

  1. 01

    Add an image

    Drop an image in or click Add image.

  2. 02

    Choose how to compress

    Drag the quality slider, or switch to target size and enter a KB budget.

  3. 03

    Download

    Check the before/after sizes and download the compressed image.

When to use Image Compressor vs alternatives

AlternativeUse Image Compressor when…Use the alternative when…
TinyPNG / online compressorsyou don't want to upload private images to a third-party server, and you want an exact target-size mode.you need their advanced PNG palette optimization.
Our Image Resizer & Cropperyou only want to reduce file size at the current dimensions.you also need to change the pixel dimensions or crop.

Frequently asked questions

How do I compress an image to a specific size like 200 KB?
Switch to 'By target size', enter 200 in the KB field, and the tool binary-searches the highest quality whose output stays under that budget — no trial and error.
Which format compresses best?
WebP is usually 25-35% smaller than JPEG at the same visual quality, so it's the default. JPEG is offered for maximum compatibility with older tools.
Does compressing lose quality?
JPEG and WebP are lossy, so lower quality means smaller files and some detail loss. The live preview lets you find the point where the size is acceptable and the image still looks good.
Are my images uploaded anywhere?
No. Compression happens on a canvas in your browser; the bytes never leave your device. Open DevTools then Network to confirm there are no requests.
Why didn't a PNG get much smaller?
PNG is lossless, so re-encoding a photographic PNG barely helps. Compress it to WebP or JPEG instead — this tool outputs those two lossy formats for exactly that reason.