Skip to main content
ToolsBay

Compress Image

Shrink JPG, PNG and WebP files with quality and size controls.

Runs entirely in your browser — nothing is uploaded

Drop the images you want to compress

or click to browse · JPG, PNG, WebP · up to 30 files

Output format

Frequently asked questions

Which setting actually shrinks the file most?

Maximum dimension, by a wide margin. Halving the longest edge removes three quarters of the pixels. Quality helps, but a 4000px photo displayed at 800px is carrying 25 times more data than it needs.

Why is PNG barely smaller?

PNG is lossless — the quality slider does nothing for it. To shrink a PNG meaningfully, either scale it down or convert it to JPEG or WebP. PNG is the right choice only when you need transparency or pixel-exact graphics.

Should I use WebP?

For the web, usually yes — WebP is typically 25–35% smaller than JPEG at the same visual quality, and every current browser supports it. Use JPEG when the file has to open in older software.

What happens to transparency?

JPEG has no alpha channel, so transparent areas are filled with white. Choose PNG or WebP to keep transparency.

Is EXIF data preserved?

No. Re-encoding drops all metadata, including camera details and GPS coordinates. That is usually a privacy win — but if you need the EXIF, keep the original.

Where image weight actually comes from

Most oversized images are not badly compressed; they are simply too big. A modern phone photo is around 4000 pixels wide. Displayed in a 800-pixel column, 96% of those pixels are discarded by the browser after being downloaded. Scaling before upload is the single highest-leverage change available.

Quality settings matter second. JPEG and WebP discard detail the eye is poor at noticing; between about 70 and 85 the loss is usually invisible while the file halves. Below 60, artefacts start showing on flat gradients and around text.

Choosing a format

  • JPEG — photographs. Universal support, no transparency.
  • WebP — the default for the web now: smaller than JPEG at equivalent quality, and it supports transparency.
  • PNG — screenshots, logos, anything needing sharp edges or an alpha channel. Lossless, so the quality slider has no effect.

Everything happens on your device

Compression uses your browser's canvas, so the images are never uploaded. That also means EXIF metadata — including any GPS coordinates your camera recorded — is dropped on re-encoding rather than travelling anywhere.

To change format without compressing, see PNG to JPG, JPG to PNG and WebP to PNG. To embed a small image directly in CSS or HTML, use image to Base64.

All image tools