Image Compressor
Shrink JPG, PNG and WebP images by re-encoding them at the quality you choose, with an optional resize and a live before/after size saving. Compressed in your browser, your images are never uploaded.
Compressed images appear here with the size saved.
How it works
Each image is redrawn onto a canvas and re-encoded at the quality you choose. Lower quality discards fine detail the eye barely notices, which can shrink a photo by 50–90%. Optionally cap the longest side to resize oversized pictures before encoding.
saved % = (original − compressed) ÷ original × 100
Compression is lossy for JPEG and WebP, keep your originals. Everything runs in your browser; no image is ever uploaded.
What this does
An image compressor shrinks JPG, PNG, and WebP files by re-encoding them at a quality you choose, with an optional resize.
How to use it
- Add your images.
- Pick the output format and quality.
- Optionally cap the longest side.
- Download the smaller copies.
How it works
Each image is redrawn on a canvas and re-encoded at your chosen quality in your browser, so nothing is uploaded. Lower quality discards detail the eye barely notices.
Understanding your result
Compression is lossy and irreversible, so the saved file permanently drops detail in exchange for size, which is why you should choose quality by destination: aggressive for web and email, gentle for anything you may print. A PNG of a photo barely shrinks (JPEG or WebP do far better), so check the result looks acceptable at full size before discarding the original.
Example
A 4 MB photo can drop to under 500 KB at 70% quality.
Sources & methodology
Last updated .
Frequently asked questions
How does the compression work?
Each image is redrawn onto a canvas and re-encoded at your chosen quality. Lower quality discards fine detail the eye barely notices, often shrinking a photo by 50–90%. You can also cap the longest side to resize oversized images.
Which output format should I pick?
JPEG is smallest for photographs, WebP is even smaller and modern, and PNG is lossless for graphics with sharp edges or transparency.
Is the compression reversible?
No, JPEG and WebP compression is lossy, so keep your originals. The tool never overwrites your files; it produces a new compressed copy to download.
Are my images uploaded?
No. Compression runs entirely in your browser on an HTML canvas; nothing is sent to any server.
Related tools
HEIC to JPG Converter
Convert iPhone HEIC and HEIF photos to standard JPG or PNG, drop in one or many and download universally compatible images. Decoded and converted in your browser; nothing is ever uploaded.
WEBP to PNG Converter
Convert WebP images to universally supported PNG, drag in one file or many, keep full transparency, and download each result instantly. Decoded and converted in your browser; nothing is ever uploaded.
JPG to PNG Converter
Convert JPG photos to lossless PNG, drag in one or many files and download edit-friendly copies with no further generation loss. Converted in your browser; nothing is ever uploaded.
Excel & CSV Viewer
Open and read XLSX, XLS, CSV and ODS spreadsheets right in your browser, switch between sheets and scroll the data as a clean table, with no Excel install needed. Parsed locally; nothing is ever uploaded.