# Image compressor

> Compress JPG, PNG and WebP images in your browser. Pick the quality and format, and compare sizes before you download. No uploads, no sign-up.

Canonical: https://toolspace.tech/image-compressor/
Last updated: 2026-10-25

Make JPG, PNG and WebP images smaller in your browser. Choose a format and quality, compare the sizes and the before and after, then download. Images never leave your device.

This is an interactive tool that runs in the browser: [open the Image compressor](https://toolspace.tech/image-compressor/) to use it. Nothing typed into it is uploaded.

## Common mistakes

### Compressing the same JPEG again and again

Each lossy save loses a little more detail. Start from the original file every time.

### Saving transparent images as JPEG

JPEG has no transparency, so transparent areas become white here. Use WebP or PNG to keep them.

### Shrinking bytes but not pixels

A 6000 px photo shown 800 px wide wastes most of its size. Resize it first, then compress.

### Judging quality at a glance

Look at faces, text and smooth gradients up close; that is where compression shows first.

## How it works

1. **Add images:** Drop one or more JPG, PNG or WebP files, or pick them. They are decoded in this tab, not uploaded.
2. **Choose format and quality:** JPEG and WebP get smaller as quality drops; around 75–80% is usually hard to tell from the original.
3. **Compare and download:** Each file shows its old size, new size and the change. If the new file is bigger, keep the original instead.

## Questions

### Are my images uploaded?

No. Decoding and re-encoding happen in this tab with the browser’s own image tools, and the page is blocked from sending data anywhere.

### Why did my PNG barely shrink, or grow?

PNG is lossless, so saving it again keeps every pixel and the browser’s PNG encoder is not tuned for size. To make a PNG much smaller, save it as WebP or JPEG instead (JPEG has no transparency).

### Which format should I pick?

WebP is usually the smallest and keeps transparency, and every current browser shows it. JPEG works everywhere and suits photos. PNG suits screenshots and flat graphics that need exact pixels.

### Is the photo’s metadata kept?

No. Re-encoding through a canvas drops EXIF data such as camera details and GPS location, and ignores the EXIF rotation once it has been applied to the pixels.

## Related

- [Image resizer](https://toolspace.tech/image-resizer/)
- [Favicon generator](https://toolspace.tech/favicon-generator/)
- [SVG optimizer](https://toolspace.tech/svg-optimizer/)
