OmniFeed Search

PNG to SVG converter

Trace a PNG logo, icon, or drawing into an SVG made of filled shapes that stay sharp at any size, in black and white or up to 64 colors. Every shape is one flat color, so flat artwork traces cleanly, while photos and gradients come out looking like posters. It runs in your browser; nothing you enter is uploaded.

For the reverse, use the SVG to PNG converter.

You can also drop images on this box. Your images never leave your browser: the site doesn't store them, and the tracing happens on your device.

More options

What the tracing does to your PNG

A PNG stores a grid of colored pixels; an SVG stores shapes that cutting machines and design apps can follow and edit. The converter sorts the PNG's pixels into the number of colors you pick, then draws the outline of each area of one color as a shape filled with that color.

Each color in the SVG is the average of the pixels sorted into it, so a brand color can come out a few shades off. You can set the exact color afterward in Inkscape, Illustrator, or Figma. A PNG larger than 1,200 pixels on its longest side is scaled down to that size before tracing, which can blur away the thinnest lines; the SVG still opens at the PNG's own width and height. The transparent parts of the PNG usually get no shapes, so they stay transparent in the SVG.

Choosing the colors and detail

Each result shows how many shapes its SVG has. When a simple logo comes out with thousands, the tracer is outlining noise or edge shades, and fewer colors or the Smooth setting bring the count down. For a photo or a screenshot of one, Smooth out noise under More options evens out grain before tracing and leaves strong edges alone.

Cut files for Cricut, lasers, and 3D printing

Cricut Design Space, laser software such as LightBurn, and Tinkercad all import SVG files and work from their shapes: a cutter or laser follows each outline, and Tinkercad raises the shapes into a solid you can print. Fewer shapes make a design quicker to cut and easier to weed, so for a cut file, use as few colors as the design allows and the Smooth setting.

Leave out the white background, under More options, removes every white or near-white shape, not only the background. White inside the design, such as the middle of a letter O, becomes a hole, which is what a cut file needs but not what a printed sticker needs.

The tracer outlines areas, so a drawn line becomes a long, thin shape with an edge on each side, and a pen plotter or a laser set to score lines goes along both edges. For a single line down the middle, Inkscape's Path → Trace Bitmap has a centerline tracing mode.

Other ways to get an SVG from a PNG

Inkscape, which is free, and Adobe Illustrator also trace images, with Trace Bitmap and Image Trace. Both let you set the cutoff between black and white yourself and touch up the shapes by hand in the same window.

Some converters and design apps make an SVG by putting the PNG's pixels inside an SVG file. The file ends in .svg, but it blurs when enlarged and has no shapes to cut or edit. Open it in a text editor to check: a long run of letters after data:image/png;base64, is the PNG, embedded unchanged.

Questions

Can I convert a PNG to SVG without losing quality?

For a logo or icon with flat colors, nearly: the shapes are sharp at any size, and only soft edges and the smallest specks change. Shading in a photo or a gradient is lost, because every area becomes one flat color.

Why is my SVG bigger than the PNG?

An SVG stores every shape's outline as a list of coordinates in text, so an image traced into thousands of shapes can take more space than the PNG's compressed pixels. Fewer colors and the Smooth setting make it smaller.

More in image converters

Other tools