PNG Compressor
Shrink PNG files by 50–80% with smart colour reduction, like TinyPNG, while keeping transparency. Choose colours and dithering; runs in your browser.
PNG keeps every pixel exactly, which makes screenshots, logos and illustrations needlessly large. Most of them need far fewer than the 16 million colours a normal PNG can hold. This compressor reduces each image to a palette of up to 256 well-chosen colours, smooths gradients with dithering, and writes a compact indexed PNG — the same idea TinyPNG and pngquant use — while keeping transparency. It runs in your browser, so nothing is uploaded.
How to use this tool
- Choose one or more PNG files (screenshots, logos, icons, UI graphics).
- Keep 256 colours for the best quality, or go lower for even smaller files — 64 or 32 often still looks identical for flat graphics.
- Leave dithering on for gradients and photos; turn it off for flat artwork, where it only adds noise and bytes.
- Compare the sizes, then download each file or all of them as a ZIP.
Formula
Bit depth = 1 for ≤ 2 colours, 2 for ≤ 4, 4 for ≤ 16, otherwise 8
The palette is built with pairwise-nearest-neighbour clustering (gifenc’s quantiser, on RGB565, or RGBA4444 when the image has transparency; very colourful pictures with more than 4,000 distinct RGB565 colours use RGB444, which keeps big photos fast). Each pixel is mapped to its nearest palette colour; with dithering the rounding error is spread to the neighbours with Floyd–Steinberg weights 7/16, 3/16, 5/16 and 1/16. The indices are packed at the bit depth above, filtered, deflated and stored with PLTE and tRNS chunks.
Example
A 1920 × 1080 px app screenshot saved by the system as a 1.4 MB truecolour PNG usually drops to about 300–450 KB at 256 colours — 70–80% smaller — and looks the same at normal zoom. A 512 × 512 px flat logo with 16 colours is stored at 4 bits per pixel, so its raw pixel data shrinks from 1 MB (RGBA) to 128 KB before deflate compression.
Frequently asked questions
Is this lossless?
No — it is lossy in colour, like TinyPNG. Fine detail and text stay sharp because there is no blurring; only the number of distinct colours drops. Keep your original if you need every exact colour.
Is transparency kept?
Yes. Transparent and semi-transparent pixels are kept through palette entries with alpha (the tRNS chunk), which every browser and editor supports.
Why did a file not get smaller?
It was already an optimised palette PNG. With “keep the original” ticked, you simply get it back unchanged.
Are my files uploaded?
No. Quantisation and compression run on your device.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/png-compressor/
Cite or embed this tool
kakaoCalc. (2026, November 8). PNG Compressor. https://kakao.mobile/tools/png-compressor/
“PNG Compressor.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/png-compressor/.