Skip to content
DoItJag

PNG to SVG

Turn a flat picture such as a logo, icon, stamp or signature into an SVG made of vector shapes, so it stays sharp at any size and opens in Illustrator, Inkscape, Figma or a laser cutter program. Works best on clean artwork with few colours.

or drop a file here · PNG, JPG, WebP, GIF, BMP · up to 50 MB

Processed on your device. Your files are not uploaded.

About the PNG to SVG Converter

A PNG is a grid of coloured dots. Enlarge it and the edges turn jagged. An SVG instead describes shapes with mathematical outlines, so a logo can be printed on a banner or a business card from the same file and still look clean. Converting from one to the other is called tracing, and this page does it in your browser.

How tracing works

The tracer first reduces your picture to a limited palette of flat colours. It then follows the border of every area of the same colour and smooths those borders into straight lines and curves. Each area becomes a vector path in the SVG. The open-source library used, imagetracerjs, is bundled with the site and runs in a background worker, so nothing is downloaded and nothing is uploaded.

Choosing a preset

  • Logo or icon uses eight colours and keeps right angles crisp.
  • Illustration allows more colours for clip art and drawings.
  • Black and white line art turns signatures, stamps and sketches into black shapes and leaves the paper transparent.
  • Detailed uses up to 64 colours and finer curves, producing bigger files.

The colour slider sets exactly how many colours to keep. The speck setting throws away tiny islands, which removes noise from scanned pages. Smoothing helps with JPG artefacts before tracing.

Honest expectations

Tracing cannot invent detail. Gradients, shadows and photographs turn into bands of flat colour, and a photo traced with many colours can produce an SVG larger than the original image. Thin lines in a small or blurry source may break apart; start from the largest, cleanest version available. Pictures over about 1.5 megapixels are scaled down before tracing to keep things responsive, although the SVG keeps the original dimensions.

Using the result

The comparison slider shows the SVG over your original before you save. The file opens in Inkscape, Illustrator, Figma, Cricut Design Space and laser cutter software, where each shape can be recoloured or edited.

How to use PNG to SVG

  1. Choose a PNG (JPG, WebP, GIF and BMP also work).
  2. Pick the type of picture, then adjust colours and speck size if needed.
  3. Select Convert to SVG, compare with the slider and download the SVG.

Privacy: how it works

Your image is traced on your own device by your browser with an open-source tracer (imagetracerjs) that is part of this site. It is not uploaded.

Frequently asked questions

Will a photo become a proper vector?

No. Tracing turns areas of similar colour into shapes, so photos come out like a poster with flat colour bands and a large file. It is meant for logos, icons, line art and simple illustrations.

How do I get a transparent background for a signature?

Choose Black and white line art. Dark ink becomes black shapes and the white paper is left out, so the SVG is transparent there.

Is the SVG just my PNG wrapped in a file?

No. Some converters only embed the bitmap inside an SVG. This page traces real paths, which you can recolour and edit node by node.