SVG Color Reducer

Reduce the colors in an SVG to the few you meant, and keep every path exactly as it was.

Drop in an SVG and the tool lists every color it contains; a traced or exported file usually carries far more than the design uses. Set a target count and it merges the near-duplicates into one palette. Screen printers, vinyl cutters and embroiderers use it to hit a color limit.

You get the same SVG with fewer colors, every path untouched, plus a PNG and the palette as a file. Fewer colors mean a smaller file and one shape per ink.

Palette analysis

Every color in the file, counted, before you change anything.

Nine algorithms

Perceptual, K-Means, Median Cut, Octree, Popularity, hue, brightness, web-safe and grayscale, or a custom palette.

Lock and recolor

Lock a swatch so it survives a change, or click one to recolor it across the whole file.

Lossless paths

Shapes and paths never move. Only fill and stroke colors are merged or remapped.

How to use it

  1. Press Choose file Drop an SVG or press Try a sample. The palette appears at once with a count per color; a file from Illustrator or a tracer often carries dozens of near-identical fills.
  2. Set Target colors Type the number your job allows: one screen per color, one sheet per color, one thread per color. Reduce to that exact number rather than a round one.
  3. Pick the Algorithm Perceptual (CIEDE2000) merges by how different colors look and is the default. K-Means (Lab) and Median Cut split the space differently; try them when the default keeps the wrong shade.
  4. Check Split Split puts the original beside the reduced file on the same artwork. Watch gradients and soft edges; that is where a reduction shows first. Lock a swatch to keep it.
  5. Press Download SVG The paths are the same paths; only fill and stroke colors changed. Download PNG at up to 8× for a preview, Save palette for the codes.

FAQ

Is it free?

Yes. Every feature and every export is free, with no account and no watermark. An account is optional and only keeps your projects so you can reopen them on another device.

Are my files uploaded?

No. Everything runs in your browser and your files stay on your device. The only thing that leaves it is a project you choose to save to your account.

Why reduce the colors in an SVG?

Traced and exported SVGs carry near-identical colors that bloat the file and break the one-color-per-screen rule. Reducing them gives a palette a printer or cutter can use.

Will reducing colors distort my artwork?

No. Paths and shapes are untouched; only fill and stroke colors are merged or remapped. Gradients are flattened to their nearest solid.

My file has a gradient or a raster inside. Does it work?

Fills and strokes are reduced; a gradient stop is treated as a color, and an embedded image is left as it is. The tool tells you when a file needs converting first.