Skip to content

PNG to SVG: turn a logo or icon into vector paths

A PNG or JPG is a grid of pixels: enlarge it and the edges turn blurry or blocky. An SVG describes the same shapes as outlines, so a logo stays sharp on a business card, a shop sign or a 4K screen, and can be recoloured in a drawing program. This tool traces your image into those outlines in the browser, with a live preview next to the original.

Quick answer

To convert PNG to SVG, add the image, choose "Black and white" for a one-colour logo, "Few colours" (2 to 8) for a flat colour logo, or "Posterise" for more colour bands, and compare the preview with the original. Then download the .svg file. The shapes are traced into real vector paths, not a PNG hidden inside an SVG.

Images never leave your device

Editor: Abuzar, founder of NeedMyToolsHow we check facts

Or drag and drop it here. PNG, JPG, WebP, GIF or BMP, up to 100 MB. The image stays on this device.

The image is decoded and traced in this browser, in a background thread. Nothing is uploaded.

How to use the PNG to SVG

  1. Tap "Choose an image" or drop a PNG, JPG, WebP, GIF or BMP file on the box.
  2. Pick a mode and adjust the threshold, colours, detail and corner style while you watch the SVG preview beside the original.
  3. Press "Download SVG" and open the file in any browser, drawing program or cutting machine software.

Real tracing, not a picture in a wrapper

Some converters simply place the PNG inside an SVG file. The file then has an .svg name, but it is still pixels and blurs when enlarged. Here the image is traced: the colours are grouped, the edge of every shape is followed pixel by pixel, the outline is simplified and smoothed, and the result is written as path data with straight lines and quadratic Bézier curves, the drawing commands defined in the W3C SVG 2 specification (Paths chapter, read 23 October 2026). Each colour becomes one path, stacked from the largest area to the smallest, so neighbouring shapes overlap slightly instead of leaving thin white gaps.

Choosing a mode

"Black and white" suits signatures, stamps, line art and one-colour logos. The threshold decides which pixels count as ink; it starts at a value worked out from your image, and "Invert" swaps ink and paper. "Few colours" finds the 2 to 8 colours that best describe the image and suits flat logos and icons: choose the number of colours you can see, plus one for the background. "Posterise" rounds every colour to 2, 3 or 4 levels per channel, which gives a bold poster look with more colour bands. In the two colour modes, "Leave out the background colour" removes the largest area, which is usually the white or coloured background.

Detail, curves and corners

"Detail" controls how much is cleaned up. High keeps small specks and follows the outline closely; low removes stray dots and gives simpler, smaller files. "Corners" decides how outlines are drawn: smooth curves suit round logos and lettering, straight lines suit geometric logos, and "Pixel exact" keeps every pixel step, which is right for pixel art, QR-like patterns and icons that must match the original pixel for pixel. Anti-aliased edges, the soft half-tone pixels around shapes, are given to the nearest colour, so a sharp, high-resolution source gives the cleanest result.

Photos do not become clean vectors

Tracing works on images made of flat areas of colour. A photo has thousands of shades in every small area, so any tracer either merges them into flat bands, which looks like a poster, or produces many thousands of tiny paths, which makes a large SVG that opens slowly and is hard to edit. The tool warns you when the result has that many shapes. For a photo, keep the JPG or PNG, or use Posterise on purpose for an artistic effect. A logo that only exists as a small or blurry screenshot will also trace with wobbly edges; if you can, start from the largest, sharpest copy available.

Transparent PNG, JPG and large images

Pixels that are mostly transparent are left empty in the SVG, so a logo with a transparent background stays transparent, and holes inside letters stay holes. JPG files have no transparency; use "Leave out the background colour" to drop a plain background. Phone photos turned by their EXIF setting are traced the way you see them. Images larger than 2,000 pixels on the long side are traced at 2,000 pixels, which is enough for logos, and the SVG keeps the original width and height. Files up to 100 MB and 100 megapixels are accepted. Empty, damaged or unsupported files get a clear message instead of a blank result.

How we check the output, and privacy

In our tests every SVG is drawn back to pixels by a browser engine and by LibreOffice and compared with the source image; a flat-colour test logo matches on more than 99% of its pixels. A normal 1,000-pixel logo is traced in well under a second. The work happens in a background thread of your browser, and the image is never uploaded. To go the other way, use SVG to PNG.

Frequently asked questions

How do I convert PNG to SVG?

Add the PNG here, choose black and white, a few colours or posterise, check the preview next to your image and press "Download SVG". The image is traced into vector paths in your browser.

Is the SVG a real vector or just my PNG inside an SVG file?

A real vector. Every shape is traced into SVG path data made of lines and curves, so it stays sharp at any size and can be recoloured or edited node by node in a drawing program.

Can I turn a photo into a clean SVG?

Not into a clean one. Photos have too many shades: tracing either flattens them into colour bands or makes thousands of tiny shapes. Tracing is meant for logos, icons, signatures and line art.

Does a transparent PNG background stay transparent in the SVG?

Yes. Pixels that are more than half transparent are left empty, so only the shapes are drawn. For a JPG or a white background, tick "Leave out the background colour".

How many colours should I choose when tracing a logo?

Count the colours you can see in the logo and add one for the background. Too few merges shapes; too many turns the soft edges into thin rings of extra colour.