Image to Pattern — Color Grid and Pixel Art PNG

Turn a picture into a reduced-color grid with squares, circles, crosses or numbers. Preview the HEX palette and download a PNG of the pattern.

🔒 Local processing
⚡ Free to use
🌐 Runs in your browser
📦 See output options
⚡

Image to Pattern — Color Grid and Pixel Art PNG

Tool workspace

Ready

Loading tool...

  1. Select a PNG, JPEG, WebP or GIF up to 10 MiB.
  2. Choose a grid width of 10–120 cells and a maximum of 4–64 colors.
  3. Select the drawing style and whether to show grid lines.
  4. Generate again after changing settings, then download the PNG.

Make a visual grid from a picture

This tool resamples a picture into a small grid and reduces its RGB palette. Squares create pixel art; circles and diagonal crosses offer alternative visual styles. Numbered mode adds a palette index when cells are at least 10 pixels wide. At smaller cell sizes, numbers are omitted. The on-screen legend lists each representative HEX color and its index.

Grid and image limits

Grid width ranges from 10 to 120 cells. Height follows the source aspect ratio, rounded to at least one row. A result requiring more than 240 rows is rejected; lower the width or crop the image first. Cells are drawn at 6–24 pixels, so the maximum canvas is bounded by these dimensions rather than an unlimited print resolution.

PNG, JPEG, WebP and GIF inputs are accepted up to 10 MiB. The browser must decode the image within 15 seconds. A decoded source over 40 million pixels is rejected after loading; this does not eliminate all decoding memory pressure. Animated files contribute a still image. Transparent areas are composited over white before sampling.

What color reduction means

Choose a maximum of 4, 8, 16, 32 or 64 representative colors. RGB groups are split and averaged; identical representatives are merged, so simple images may produce fewer colors. Each cell takes the nearest representative by RGB distance. This is an approximation and can lose fine details or subtle color differences. It does not map colors to DMC, Anchor or any physical thread or bead catalog.

Download and practical limitations

The download is a raster PNG containing the grid only. The separate palette legend and statistics are not included in that file. There is no PDF, SVG, stitch-instruction export, thread quantity calculation or color-percentage report. Save the on-screen legend separately if your project needs it. A visual X is not a validated embroidery instruction. Generation runs on the main browser thread and may briefly pause the interface.

Changing any setting clears the old result until you generate again. Loading another image clears earlier output even if the new image fails. The processing code uses the selected file locally; loading the website still involves network requests.

Frequently asked questions

Does the PNG include the palette legend?

No. It contains the pattern canvas; the legend stays on the page.

Can I get DMC thread codes?

No. The tool provides approximate RGB/HEX colors, not physical thread matches.

Why are numbers missing from the numbered grid?

Numbers are drawn only when the displayed cell size is at least 10 pixels.