Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Change PNG Quality

Upload a PNG and reduce its file size by optimizing the color palette. Choose color count, enable dithering, preview and download.

Your files never leave your browser
Drop PNG here or click to upload
PNG files only (max 50 MB)

Color Reduction

Original

Optimized

Shrink a PNG by cutting its color palette down to 256, 64, or 16 colors. Dithering smooths the gradients so the drop from millions of colors stays invisible, while the file size often falls 40–70%. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload PNG
➔
Reduce Color Palette
➔
Download Smaller PNG

The tool reads every pixel in your PNG using the Canvas API, then builds an optimized color palette with median cut quantization. Each pixel gets remapped to the closest color in that smaller palette. Dithering — if you turn it on — scatters neighboring colors to fake the ones that were removed. The result is a valid PNG with full transparency support, just fewer unique colors and a much smaller file.

Examples

Shrinking a UI Screenshot for Documentation

You grabbed a full-screen screenshot of your app’s dashboard for the help docs. It’s way too heavy for a webpage.

INPUT
dashboard-screenshot.png 1920×1080, 24-bit color File size: 3.2 MB
OUTPUT
dashboard-screenshot.png 256 colors, dithering on File size: 890 KB (−72%)

Optimizing a Logo with Transparency

Brand logo exported from Figma at full quality. Only uses about 5 colors but the file is oddly large because it was saved as 24-bit.

INPUT
logo-transparent.png 512×512, 24-bit + alpha File size: 145 KB
OUTPUT
logo-transparent.png 32 colors, dithering off File size: 28 KB (−81%)

Batch-Prepping Game Sprites

Pixel art character sprite sheet. Clean edges matter more than smooth gradients here, so dithering goes off and the palette stays tight.

INPUT
character-sprites.png 2048×2048, 24-bit File size: 1.6 MB
OUTPUT
character-sprites.png 64 colors, dithering off File size: 310 KB (−81%)

Who Uses This

💻 Web Developers

Trim PNG assets before deployment to hit page speed targets without switching formats.

🎨 Designers

Hand off lighter mockup exports to developers who keep complaining about 15 MB Figma PNGs.

📝 Technical Writers

Compress screenshots for docs and knowledge bases that choke on large uploads.

🎮 Game Developers

Shrink sprite sheets and tilesets to reduce build sizes and loading times.

Common Mistakes

Using too few colors on photographs

Dropping a photo to 16 colors creates obvious banding and posterization. Stick with 128 or 256 for anything photographic. Save the aggressive reduction for icons and flat graphics.

Leaving dithering on for pixel art

Dithering adds scattered dots to smooth out color transitions. That’s great for photos but ruins crisp pixel art edges. Turn it off when working with sprites, icons, or any image where sharp lines matter.

Expecting smaller dimensions, not just smaller file size

Color reduction changes the palette — not the resolution. If you need a 500×500 image from a 4000×3000 original, you want a resizer, not a quality changer. This tool keeps width and height identical.

Technical Details

Frequently Asked Questions

Does reducing PNG quality make it lossy?

Technically, yes — you’re throwing away color information, which is a lossy operation. But the output file is still a valid lossless PNG. It just has fewer unique colors baked in. Think of it like painting with a smaller set of paints rather than adding compression artifacts.

How much smaller will my PNG get?

It depends on the image, but 40–70% reduction is typical. Screenshots and UI graphics compress the most because they already use limited colors. Detailed photographs see smaller gains — maybe 20–40% — since more palette entries are needed to look decent.

Will this remove transparency from my PNG?

No. The alpha channel is preserved during color reduction. Your transparent backgrounds, semi-transparent overlays, and soft edges all stay intact. Only the RGB color palette gets reduced.

When should I use dithering vs. no dithering?

Turn dithering on for photos and images with gradients. It scatters pixels to smooth out color bands that appear when you remove colors. Turn it off for pixel art, icons, logos, and flat-color graphics where you want clean, hard edges instead of scattered dots.

Is it better to convert to WebP instead of reducing PNG colors?

WebP gives better compression in most cases, but it is not supported everywhere — older email clients, some CMS platforms, and certain design tools still need PNG. Color-reduced PNGs are also easier to work with in image editors. If your target supports WebP, go for it. If you need broad compatibility or transparency with no quality trade-offs, a trimmed PNG is the safer bet.

Share: