Turn a photo into a crisp, scalable SVG built from vector pixel blocks. Pick a cell size and color count, then export clean vector pixel art.
100% Local
How to Use Image to SVG
- Upload an image โ click the drop box, drag a file in, or paste with Ctrl/โ+V.
- Set the cell size โ each output SVG rectangle covers a square of this many source pixels. Bigger values give a blockier, lighter vector.
- Choose a color count โ the image is quantized to at most this many colors using a median-cut palette.
- Pick a background โ cells that match it are omitted, so transparent-looking areas stay empty and the file stays small.
- Download the SVG โ it scales to any size without going blurry.
What this tool is (and isn't)
This is a vector pixel art converter: every blocky pixel becomes a crisp <rect>, so the result stays sharp at any zoom. It does not trace photo outlines into smooth curves (true vectorization) โ that needs a different, much heavier process. For logo-like or low-color art it produces clean, tiny SVGs; for photos it gives a stylized mosaic look.
Features
- Generates a real, scalable SVG file โ no rasterization on zoom.
- Adjustable cell size from 2 to 32 pixels per block.
- Median-cut color quantization, 2 to 32 colors.
- Background color is drawn once and matching cells are skipped to shrink the file.
- Live inline preview and an estimated file size.
- All processing runs locally in your browser. Your data is not uploaded to any server.
Related Tools