Image Compressor
Shrink JPG, PNG, WebP and HEIC files TinyPNG-style — free, unlimited, and 100% private: compression happens in your browser, so your images never leave your device.
How it works: JPG and WebP are re-encoded at the smartest quality we can find — a binary search against a size target, with a quality floor so photos still look right. PNG is re-encoded losslessly with metadata stripped; that alone is a small win, so for photos the WebP output is where the big saving is. HEIC is decoded on your device and re-encoded as JPG or WebP, because browsers can't write HEIC files.
Your images never leave your browser
Most online compressors upload your images to a server, squeeze them there, and let you download the result. This one works differently: decoding and re-encoding happen on your own device, in this tab. There is no upload endpoint, so your images cannot be stored, scanned or leaked by us. Close the tab and everything is gone.
How it works
Add your images
Drag JPG, PNG, WebP or HEIC files anywhere onto this page, paste them, or tap to browse. Batches of any size are welcome.
Pick a strength
Light, Balanced or Strong, and keep the original format or switch output to WebP for the smallest files. Settings apply to the whole batch.
Download
Save files one by one, or grab the whole batch as a single ZIP. Every card shows the size before and after, and how much you saved.
What each format gets
JPG and WebP get smart lossy compression: the tool binary-searches the quality setting against a size target for the strength you picked, keeping the highest quality that fits and never dropping below a quality floor. The result is a much smaller file that still looks right — the same idea behind TinyPNG.
PNG is lossless, and we are upfront about the limits of doing this in a browser: the PNG path re-encodes the image with its metadata stripped, and Strong additionally caps the largest side at 2048 px. There is no palette quantization, so a photo PNG often shrinks only a little as PNG. Choose WebP output for the same photo and it typically comes out 50–80% smaller.
HEIC photos are decoded on your device with the same libheif decoder the converter uses, then re-encoded as JPG (or WebP). Browsers cannot write HEIC, so the output is never HEIC — and because HEIC is the more efficient format, a compressed JPG can occasionally be larger than the HEIC original. The card always shows the honest before-and-after numbers.
Need to change format instead? The HEIC converter turns HEIC into JPG, PNG, WebP or PDF, and every tool on this site runs entirely in your browser.
More free tools
HEIC to JPG Converter
Convert iPhone HEIC photos to JPG, PNG, WebP or PDF — same privacy, same browser.
→WEBPHEIC to WebP
The smallest format for websites, straight from your HEIC photos.
→HEICWhat is a HEIC file?
Where the format came from, why your iPhone uses it, and when to convert.
→FAQQuestions & answers
Uploads, quality, EXIF, Live Photos and everything else people ask.
→Frequently asked questions
Are my images uploaded for compression?
No. Compression runs entirely inside your browser, exactly like conversion on this site. JPG, PNG and WebP are decoded and re-encoded by the browser itself; HEIC is decoded by a WebAssembly build of the libheif decoder that is downloaded to your device. There is no upload endpoint — open your browser's network inspector while compressing and you will see no request carrying your image.
How does the compression work?
For JPG and WebP, the compressor binary-searches the quality setting against a size target for the strength you pick — Light, Balanced or Strong — and keeps the highest quality that fits, never going below that strength's quality floor. That is the same idea as TinyPNG's smart lossy compression: a big saving where the eye won't notice. If a file is already smaller than anything the search can produce, the original file is kept and the card says so.
Why did my PNG barely get smaller?
PNG is lossless, and this compressor is honest about what a browser can do: re-encoding a PNG strips its metadata chunks but cannot do palette quantization, so a photo PNG usually only shrinks a little (Strong also caps the largest side at 2048 px). For a much smaller file, switch the Output control to WebP — the same photo typically comes out 50–80% smaller.
Can I compress a HEIC photo?
Yes. HEIC files are decoded on your device and re-encoded as JPG (or WebP, if you choose WebP output), at the compressed quality. Browsers cannot write HEIC files, so the output is never HEIC — and because HEIC is more efficient than JPG, a compressed JPG can occasionally be larger than the HEIC original; the card shows the real before-and-after sizes either way.