Skip to content
Pixelate Image

Image to SVG Pixel Art Converter

Turn a photo or sprite into SVG pixel art that keeps its square edges when enlarged.

Illustrated retro spaceship over a neon synthwave grid with a ringed planet and pixel invaders
Loading sample…100%

Try a sample

Pick a grid and save the pixel art as scalable SVG shapes.

How it works

  1. Open a PNG sprite or drag and drop a photo.
  2. Match an existing sprite grid or choose a smaller grid for a photo.
  3. Keep the sprite’s original colors, or try a smaller palette for a photo.
  4. Choose SVG, download the file, and check the outlines in your design editor.

Convert an image to SVG and keep the square pixels

This image to SVG converter draws the grid as rectangles. An ordinary photo tracer looks for color regions and follows their outlines with vector paths. Rectangles keep the steps of a pixel-art outline in place as you enlarge the image.

For a 32-pixel-wide PNG sprite, start with 32 columns and choose the original colors. For a photo, start with fewer columns and check whether the subject stays recognizable.

Reduce SVG file size with larger areas of the same color

Merge runs lets the SVG converter join neighboring squares of the same color along a row. Keep separate squares if you plan to recolor individual cells. For a smaller file, try fewer columns or turn off dithering so small shade changes create fewer shapes.

Resize the vector image for print or screen

Lock the proportions when you resize the SVG to keep the cells square. If you need a PNG copy, export at a whole-number multiple of the grid. A 32-column design at 320 pixels wide gives you 10 screen pixels per square.

For a cutting project, preview the cuts before you use any material. Adjacent rectangles can leave seams even when their colors match. Join shapes in your design editor where you need one continuous piece.

Frequently asked questions

Does the SVG embed my original photo?

The export uses editable rectangle shapes for the visible grid. You can open the file in a vector editor and select the shapes.

Can I turn a PNG pixel-art sprite into SVG?

Yes. Match the number of columns to the sprite’s pixel width. If it already has a transparent background, check that the empty space stays clear in the exported SVG.

Will the edges stay sharp when I resize it?

The vector shapes scale cleanly. When saving a raster copy, use sizes that give each cell a whole number of output pixels.

Why can a detailed image produce a large SVG file?

Frequent color changes shorten runs and increase the number of rectangles the SVG has to store.