Skip to content
YouNeed Tools
Free VPN

Reduce Image Colours (PNG-8)

Make PNGs much smaller by cutting them down to the colours they really need. Choose 2 to 256 colours, let median cut or octree pick the best palette, add dithering if you like, and save a true palette PNG with transparency, with the size saved shown for every file.

Drop pictures to save as PNG-8

JPG, PNG, WebP, HEIC, AVIF, GIF, TIFF or SVG. One or a whole batch.

or drag and drop here

Add a picture to see the preview here.

Settings

Palette method

Dithering

Output

Saved as a palette PNG (PNG-8): every pixel is one byte or less, which is why the files get so much smaller. Transparency is kept. Like any PNG, it holds no camera or location info.

Why fewer colours means a smaller file

A 1,000 × 1,000 logo stored as a normal RGBA PNG starts from 4 bytes per pixel, 4,000,000 bytes before compression. As a 16-colour PNG-8 each pixel is a 4-bit number, so two pixels fit in one byte: 500,000 bytes before compression, plus a palette of 16 × 3 = 48 bytes. Long runs of the same palette number then compress very well, which is why flat graphics often shrink by 70% or more.

What is inside the file

ChunkHolds
IHDRWidth, height, bit depth (1, 2, 4 or 8) and colour type 3 (palette)
PLTEThe colours, 3 bytes each (red, green, blue)
tRNSThe opacity of the see-through colours, listed first so the chunk stays short
IDATThe palette numbers of every row, compressed
IENDThe end marker

The bit depth is picked for you: 2 colours use 1 bit, up to 4 use 2 bits, up to 16 use 4 bits, and more use 8 bits.

When to use something else

Frequently asked questions

What is a PNG-8?
A palette PNG (colour type 3). Instead of storing red, green, blue and alpha for every pixel, the file holds a palette of up to 256 colours and each pixel stores only the number of its colour: 8 bits or fewer. With 16 colours that is 4 bits per pixel, with 2 colours just 1 bit, so the file is often 50–80% smaller than a normal PNG.
Do I lose transparency?
No. See-through and partly see-through colours get their own palette entries, and their transparency is stored in the PNG’s tRNS chunk. Logos and icons on a clear background stay clear, including soft edges.
Median cut or octree?
Median cut keeps splitting the group of colours with the widest spread at its middle until there are enough groups, which suits photos and gradients. Octree sorts colours into a tree by their bits and merges the rarest branches, which keeps small, distinct colours such as a red logo detail. Try both on your picture; the preview and the palette update straight away.
Should I turn dithering on?
Dithering mixes palette colours in fine patterns so gradients look smooth even with few colours. The catch is that patterns compress worse, so the file gets larger. For flat graphics, screenshots and logos keep it off; for photos with skies or skin at 16–64 colours, turn it on.
How many colours do I need?
Logos and icons: 8–32. Screenshots of apps and websites: 64–128. Illustrations: 64–256. Photos: 256 with dithering usually looks close to the original; below 64 the loss becomes visible.
Why is my file not smaller?
A PNG that was already very well compressed, or a small JPG, can beat a PNG-8, because JPG uses a different kind of compression. The tool tells you the size before and after; try fewer colours or no dithering, or use Compress image for photos.

Last updated: 2026-11-26