Pixel Art Palette Extractor

Drop in pixel art, sprites, or other small game assets and this tool will read the exact visible colors from the image, then build a swatch palette with hex codes and usage counts. The extraction runs entirely in your browser, so the image never leaves your device or touches server memory.

Choose a PNG, GIF, WebP, or JPG file to preview and extract its palette.

Zoom in, then click a pixel to highlight its matching color in the extracted palette.

Image size No image loaded
File size -
Unique colors -
Selected pixel -
Selected color -
Visible pixels -
Fully transparent pixels -
Palette order First appearance
Zoom 12x
Export format Hex list (.txt)
12x

Palette export

Extract the palette, then copy or download the current export format from one consistent result area.

Download export

Choose a file to extract its palette.

Extracted palette

Each swatch shows an exact color pulled from the current image, along with its hex code and how often it appears. Click a swatch to select and highlight it.

Load a sprite or pixel art image to build a palette from the colors it actually uses.

What this tool does

It reads the pixels in your image directly in the browser and extracts the exact visible colors into a swatch palette with copyable hex codes.

Why it is private

The extraction happens locally in your browser. Your image is never uploaded, never sent to an API route, and never stored in server memory.

Why it is good for pixel art

Pixel art usually relies on small, intentional color sets. This tool preserves exact colors instead of generating an approximate palette from sampling or clustering.

Helpful note

PNG, GIF, and crisp WebP pixel art usually give the cleanest palette results. JPG compression can add extra near-matching shades that inflate the color count, while the export menu lets you take the palette into other tools afterward.