Drag and drop JPG, PNG or WebP files to reduce image file size in your browser.
The tool tries several encodings and keeps the smallest — and never returns a file bigger than the one you started with.
No uploads, no account, works offline.
Compress JPG PNG WebP · Batch Compress · 100% Private
Supports JPG, PNG and WebP — compress multiple images at once
Drag JPG, PNG or WebP files into the zone above, or click to browse. Select several to compress multiple images at once.
Pick a quality level (80% suits most web images) and click Compress Images. Everything runs locally in your browser.
Each result shows before and after sizes plus the saving. Download files individually or use Download All.
An online image compressor reduces the file size of images such as JPG, PNG and WebP while preserving as much visual quality as possible. Compression works either by removing data that can be reconstructed exactly (lossless) or by discarding detail the eye is unlikely to notice in exchange for a much smaller file (lossy).
This free online image compressor decodes your image with the browser's Canvas API and re-encodes it at your chosen quality, entirely on your own device. Nothing is uploaded, so it is also the most private way to reduce image file size.
| Type | How it works | Best for | Typical saving |
|---|---|---|---|
| Lossless (PNG, WebP lossless) | Reorganises data — every pixel is reconstructed exactly | Logos, screenshots, line art | 10–30% |
| Lossy, quality 80–90% | Discards detail that is hard to perceive | Photos for the web | 40–70% |
| Lossy, quality 60–75% | Visible only on close inspection | Thumbnails, email attachments | 70–85% |
A well-made PNG is often already optimised — an indexed palette, a reduced bit depth, no metadata. When a browser draws that image to a canvas and saves it again, all of that is lost: the canvas always produces a full 32-bit RGBA PNG, which can be several times the size of the original. The PNG format also has no quality setting, so a quality slider has no effect on it whatsoever.
This tool handles that in two ways. To actually shrink a PNG, it converts to WebP or JPEG, formats that do respond to quality — choosing WebP when the image has transparency so the alpha channel survives. And before showing you any result, it compares every candidate against your original file: if nothing is smaller, the original is kept and reported as already optimised. The download is never larger than the file you started with.
Images are typically the largest part of a web page's total weight, so reducing them is one of the highest-impact optimisations available: