Image Compressor
Compress PNG, JPG, and WebP images without changing format. Runs in your browser, so your images are never sent to a server.
Overview
How to compress images without changing format
Shrink image file sizes while keeping the format the same. Uses jpegli for JPG, OxiPNG for lossless PNG optimization, and libwebp for WebP. Drop your images, choose a strength level, and download the optimized versions, each shown with its size before and after. Unlike TinyPNG and similar tools, nothing is uploaded: your images stay on your device.
Use cases
When to compress images without changing format
- 01
Shrink screenshots before attaching them to a bug report
- 02
Optimize images for a website without changing format
- 03
Reduce the file size of camera JPGs without converting to WebP
- 04
Process a folder of PNGs through OxiPNG without the command line
Examples
Image compressor examples
10 PNG screenshots, ~500KB each → balanced compression
ex 0110 PNGs at ~200KB each, visually identical
A common way to shrink screenshots.
30 camera JPGs at quality 95 → balanced compression
ex 0230 JPGs at quality 82, ~40% smaller, indistinguishable to the eye
Lowers a quality setting that was higher than needed, in the same format.
FAQ
Image compressor: common questions
The result is similar: much smaller files with little visible quality loss. There are two differences. Nothing is uploaded (TinyPNG sends your files to its server), and there is no monthly limit on the number of files. The trade-off is that very large batches can take longer than a server-side service, because all the work happens in your browser.
It depends on the format. For PNG, the default is lossless: OxiPNG only reorders pixels and tries different filters, so the image is identical and the file is smaller. For JPG and WebP it's lossy by default; turn on the 'Lossless WebP' option to force lossless WebP output.
Light compresses least and favours quality (PNG level 2, JPG q90, WebP q85). Balanced is the recommended default (PNG level 4, JPG q80, WebP q75). Aggressive compresses most, with a slight loss of quality (PNG level 6, JPG q70, WebP q65).
Yes. Everything runs in the browser. Large files may be slower on a phone because it has less memory and processing power, but they still compress.
No. Compressed files are written without EXIF metadata, so camera details, timestamps and GPS location are not carried over. The photo's orientation is applied to the pixels first, so it still displays the right way up.
More
Tools that pair well
Image Converter
Convert between PNG, JPG, WebP, AVIF, JPEG XL, TIFF, BMP, GIF, SVG, ICO, and HDR in your browser. Nothing is uploaded, and it is free for any number of files.
HEIC to JPG Converter
Convert iPhone HEIC photos to JPG without uploading them. Works in browsers that can read HEIC (Safari on Mac, iPhone and iPad), with a guide for everything else.
Images to PDF Converter
Combine JPG, PNG and WebP images into one PDF, one image per page. Put them in order, pick a page size and download. Nothing is uploaded.
Last updated