How PNG Compressor works
In Lossless mode, Squeezo evaluates both UPNG deflate packing and native browser PNG encoding, keeps whichever produces fewer bytes, and never discards alpha values or alters pixels.
In Lossy Quantized mode, UPNG color quantization reduces 24/32-bit RGBA colors into an indexed RGBA palette (16 to 256 colors) while retaining smooth translucent edges.
Step-by-step usage
- Upload one or multiple PNG files.
- Select Lossless mode for bit-exact pixel fidelity, or Lossy Quantized mode for maximum byte savings on UI screenshots and icons.
- Adjust the palette color count if using lossy mode and preview transparency over the checkerboard backdrop.
- Download individual PNG files or grab all optimized assets in one ZIP.
Supported formats and technical notes
Formats
Inputs verified by binary magic-byte headers before decoding:
Input: PNG
Output: PNG
Implementation notes
- Full-color photographic PNGs benefit most from lossy palette quantization (128–256 colors) or converting to WebP/JPEG.
- Transparent PNGs keep 8-bit alpha channel fidelity across both lossless and quantized modes.
Privacy handling
All image decoding, pixel transformations, and file packaging execute inside your browser tab via Canvas, OffscreenCanvas, and WebAssembly codecs. Your original files and exported outputs are not transmitted to Squeezo servers. Review full details in our Privacy Policy.
Questions about PNG Compressor
Does PNG compression remove transparent backgrounds?
No. Both lossless packing and palette quantization preserve RGBA transparency. Your transparent logos stay transparent.
When should I choose Lossy Quantized instead of Lossless?
Use Lossy Quantized (128 or 256 colors) for web UI graphics, illustrations, and screenshots where cutting file weight by 50%–75% matters more than keeping millions of subtle shades.