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
- Colors: for a logo or icon, pick the first option at or above the number of colors you can see in it. A PNG's edges blend into the background through in-between shades, and spare colors give those shades thin outlines of their own.
- Black and white makes every pixel darker than mid-gray black and the rest white, which suits line art, signatures, and stencils. Light colors such as yellow end up white.
- Detail: Smooth simplifies curves and drops specks up to a few pixels across, while Detailed follows the pixels closely and keeps even single-pixel specks. Balanced, the default, sits between them.
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
- Image converter
- HEIC to JPG converter
- JPG to PDF converter
- WebP to PNG converter
- WebP to JPG converter
- PNG to JPG converter
- JPG to PNG converter
- SVG to PNG converter
- AVIF to JPG converter
- AVIF to PNG converter
- PNG to WebP converter
- JPG to WebP converter
- SVG to JPG converter
- PDF to JPG converter
- JPG to SVG converter
- PNG to AVIF converter
- JPG to AVIF converter