Image Compressor

Compress JPEG, PNG & WebP — adjust quality, convert formats, and resize dimensions. 100% private — your images never leave your device.

80%
Output Format
Max Width (optional resize)
px
🖼️
Drop images here
or click to browse — JPEG, PNG, WebP (max 20 files, 50 MB each)
100% Private. Your images never leave your device. All compression happens locally in your browser using the Canvas API.

How to Use

1

Upload Images

Drag & drop your JPEG, PNG, or WebP files onto the drop zone, or click Browse Files. Up to 20 images at once, 50 MB each.

2

Adjust & Convert

Set quality with the slider or a preset chip. Choose an Output Format to convert (e.g. PNG → WebP for real size savings). Optionally set a Max Width to downscale large images.

3

Download

Click Download on any card, or Download All for a ZIP. Click any thumbnail to preview the compressed image full-size before downloading.

Frequently Asked Questions

Are my images uploaded to a server?

No. This tool runs entirely in your browser using the HTML5 Canvas API. Your images never leave your device — you can verify by disconnecting from the internet and using the tool offline.

Why doesn't the quality slider reduce PNG file size?

PNG is a lossless format — the browser ignores the quality parameter when encoding PNG. To get real compression on PNGs, use the Output Format chips to convert them to WebP (typically 60–80% smaller) or JPEG. The per-card format selector lets you convert individual images.

What's the difference between JPEG and WebP output?

WebP is a modern format developed by Google that achieves roughly 25–35% smaller file sizes than JPEG at equivalent visual quality. It's supported by all modern browsers. JPEG offers broader compatibility with older software. For web use, WebP is usually the better choice.

What quality setting should I use?

The Web (85%) preset is ideal for most web images — visually lossless at significantly reduced size. Balanced (75%) cuts size further with minimal visible quality loss. Aggressive (50%) gives maximum compression; artifacts may appear on detailed photos but it works well for thumbnails or screenshots.

How does the Max Width resize work?

If you enter a Max Width (e.g. 1920), any image wider than that is scaled down proportionally before compression. Height is adjusted automatically to maintain the original aspect ratio. Images already narrower than the limit are left at their original size. This is done entirely on the canvas — no server involved.

Is there a file size limit?

Each file can be up to 50 MB, and you can process up to 20 images at once. Since everything runs locally, performance depends on your device's available memory and CPU speed.