Pixel Art to SVG Converter: Turn Pixel Art into Crisp Square Vectors

Detect the pixel grid and output exact square rectangles, so sprites scale to any size without blur.

Pixel Art to SVG Converter tool

1Add your image

Drop your pixel art here, or click to browse You can also paste with Ctrl+V. Nothing is uploaded.
No file?

2Adjust the result

Start from

Style

More options

3Preview and download

Live preview
Loading…
Original · Pixel Art Vector · SVG
Drag the handle to compare · scroll to zoom
100%
Drop image to convertPNG, JPG, WebP, GIF
SVG file size
–
 
PNG
SVG
Colors
–
Time
–ms
 
More detailsColor layers, size history, SVG code
Shapes
–
closed outlines
Nodes
–
path points
Decode–
Quantize–
Trace–
Simplify–
Render–

Color layers

Hover to isolate · click to hide

Live size trace

SVG size per adjustment
SVG sizeOriginal PNG

SVG source

–

              

Under the hood

How Pixel Art to SVG Converter works

A pixel art to SVG converter keeps every pixel as a perfectly square rectangle. It detects the original pixel size automatically, so an upscaled sprite becomes a tiny, razor-sharp vector.

  1. Read the pixels exactly

    Pixel mode samples the image with no smoothing. Nearest-neighbor upscaled sprites keep their hard-edged blocks.

    Canvas · no interpolation
  2. Detect the pixel grid

    The converter measures the length of every run of identical pixels. Their greatest common divisor is the size of one art pixel.

    Run-length GCD
  3. Collect exact colors

    Each art pixel is sampled at its center and grouped by color. A sprite with 16 or fewer colors keeps them exactly.

    Exact palette
  4. Merge runs into rectangles

    Neighboring pixels of the same color on a row become one rectangle, and the SVG uses crispEdges so no seams appear.

    Run merging · crispEdges
The four stages of the Pixel Art to SVG Converter, from your input to the finished file.

What is special about Pixel mode

No smoothing
Corners stay perfectly square because no curves are fitted.
Automatic pixel size
Upscaled 16×16 or 32×32 sprites are detected without any input. You can override the size.
Tiny files
A whole sprite is only a few dozen rectangles.

Step by step

Pixel Art to SVG Converter process

Four steps convert pixel art to SVG. Nearest-neighbor upscaled sources give perfect results.

  1. Add your sprite

    Drop the pixel art. A native-size sprite or a nearest-neighbor upscaled one both work.

    Tip: Avoid smoothed or JPEG sources.

    Drop Pixel Art
  2. Check the pixel size

    Leave Pixel size on Auto, or set it manually if the sprite was resized with smoothing.

    Tip: The status tile shows the detected grid.

    ColorsDetailSmoothness
  3. Set the colors

    Use up to 16 colors for most sprites. Exact colors are preserved when your sprite has fewer.

    Tip: Remove anti-aliasing noise first.

  4. Download the SVG

    Save the SVG. It scales to any size with sharp square pixels.

    Tip: Use it as a game asset or sticker.

    Download SVGpixel-art-to-svg.svg

Use the Pixel Art to SVG Converter

Reference

Pixel Art to SVG Converter settings / conversion chart

The table lists settings by sprite type. The chart shows how the source affects the result.

Result quality by source

Result quality by sourceExact 1:1 sprite: 5/5; Nearest-neighbor upscale: 5/5; Smoothed upscale: 3/5; JPEG sprite: 2/5.Exact 1:1 sprite5/5Nearest-neighbor upscale5/5Smoothed upscale3/5JPEG sprite2/5
Guide, 1 to 5: crisp sources convert perfectly.

At a glance

  • Converts best: Exact 1:1 sprite.
  • Needs the most care: JPEG sprite.

Guide, 1 to 5: crisp sources convert perfectly.

Pixel Art to SVG Converter settings by sprite type
Sprite typePixel sizeColorsResult
8×8 iconAutoup to 8A handful of rectangles
16×16 spriteAutoup to 16Very small file
32×32 characterAutoup to 32Small file
Blurry or JPEG spriteSet manually16Imperfect, may need cleanup

Answers

Pixel Art to SVG Converter FAQ

Questions people ask about the Pixel Art to SVG Converter, answered for this specific use case.

Why convert pixel art to SVG?

SVG rectangles stay perfectly sharp at any size, so pixel art can be scaled up for print or high-density screens without blur.

How does it find the pixel size?

It measures runs of identical pixels across the image and takes their greatest common divisor. You can also set the size by hand.

Will my pixel art be smoothed?

No. Pixel mode outputs exact rectangles and disables all curve fitting.

How many colors are supported?

Up to 64, and sprites with fewer colors keep them exactly.

My sprite was upscaled with smoothing. Can it still convert?

Yes, but blurred edges create extra colors. Reduce Colors or set the pixel size manually for a cleaner result.

Ready to try it?

Your result is one drop away.

Open the Pixel Art to SVG Converter

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.