QA Toolbox

Image Compressor

Shrink PNG, JPG and WebP images to a smaller file size or an exact target size — right in your browser.

Drop images here to compress

PNG, JPG, WebP or GIF — add as many as you like and compress them in one pass.

Everything runs in your browser — nothing is uploaded to a server.

About Image Compressor

The Image Compressor shrinks PNG, JPG and WebP images to a much smaller file size without a noticeable drop in quality — ideal when a test management tool, wiki or ticketing system rejects your screenshot for being too large. You can compress a whole batch of images in one pass, resize them to a sensible maximum dimension, and convert to WebP for the smallest possible files.

Compression happens entirely in your browser on an HTML canvas, so nothing is uploaded to a server — safe for screenshots that contain internal or customer data. A "Target file size" mode auto-tunes the quality for you: tell it you need the image under 500 KB and it binary-searches the best quality that still fits, so you never have to guess a quality percentage.

How to use

  1. Drag in one or more images, or click "Choose files" — PNG, JPG, WebP and GIF are all accepted.
  2. Pick an output format (Smart/WebP gives the smallest files) and, if you want, a maximum size for the longest side to downscale large screenshots.
  3. Choose "Quality slider" for manual control, or "Target file size" to have the quality auto-tuned to hit a size in KB.
  4. Click "Compress", check the before/after size and percentage saved on each file, then download images individually or use "Download all".

Frequently asked questions

Are my images uploaded to a server?

No. Every image is decoded and re-encoded locally in your browser using a canvas — the files never leave your machine, which makes this safe for screenshots with internal data.

Which format gives the smallest file?

WebP is almost always the smallest for the same visual quality, and the "Smart" option uses it automatically where your browser supports encoding it, falling back to JPEG. JPEG is a good universal choice; PNG is lossless, so the only way to shrink a PNG is to resize it or convert it to WebP/JPEG.

How does "Target file size" work?

You enter a size in KB and the tool repeatedly re-encodes the image at different quality levels, honing in on the highest quality that still fits under your target — so a 4 MB screenshot can be brought under, say, 800 KB automatically.

Will compressing reduce image quality?

JPEG and WebP are lossy, so very aggressive settings can introduce artifacts. In practice a quality around 70% is visually indistinguishable for screenshots while cutting file size dramatically. Use the slider or a realistic target size to balance quality and weight.

Related tools