Skip to content
Free tools Let's talk

Free tool

PNG to SVG converter

Trace a PNG or JPG into an SVG made of vector paths. Pick a preset, set the number of colors and the level of detail, compare the result with the original, then download the SVG or copy its code. It works best on logos and icons with clean edges, and the image never leaves your device.

1Add your image

2Set the tracing

Fewer colors give a cleaner, lighter SVG.

Low follows every edge closely in a heavier file. High gives simpler curves.

Blurs the image a little before tracing, which removes JPG noise and jagged edges.

Drops tiny isolated dots of color.

Everything runs in your browser. The image is traced on your device and never uploaded or stored. Automatic tracing gives an approximation of the image, not a redrawn original.

Beyond the tool

A traced logo is an approximation. A redrawn logo is the real thing.

We redraw logos by hand as clean vector files, with true curves, exact colors and the right typeface, then deliver SVG, PDF and PNG for web, print and signage.

Get a logo design proposalA fixed-price proposal within one working day

The guide

PNG to SVG Converter: the complete guide

4 referencesMethodology and limitsUpdated 17 October 2026

Built and maintained by the designers and marketers at DEMARCA, an award-winning design studio in Portugal.

On this page
  1. How to convert PNG to SVG
  2. What the converter does, and what it cannot do
  3. Getting a cleaner SVG
  4. When a traced logo is not enough
  5. Is it safe and private
  6. Methodology and limits
  7. Sources

How to convert PNG to SVG

  1. Add the image. Drop a PNG or JPG on the box, click it to choose one, or paste an image you copied. The tool traces it straight away with the Logo or icon preset.
  2. Pick a preset, then fine tune. Logo or icon suits flat artwork, Illustration suits drawings with some shading, and Photo gives a poster effect. Change the number of colors first: it makes the biggest difference. Every change traces the image again.
  3. Compare and download. The original and the SVG sit side by side. When the edges look right, download the .svg file or copy the code to paste into a web page, a design tool or a CMS.

There is nothing to install and no account. To go the other way, from a vector to a sharp PNG at any size, use the SVG to PNG converter.

What the converter does, and what it cannot do

A PNG or a JPG is a grid of pixels. An SVG describes shapes: paths with curves, filled with colors, that stay sharp at any size. Converting one into the other is called tracing. The tool groups the pixels into the number of colors you choose, follows the outline of each area, and fits straight lines and curves to those outlines.

That is an approximation of the image, not a reconstruction of how it was drawn. The tracer does not know that a shape is a letter, a circle or a straight edge, so letters come out slightly wobbly, circles slightly uneven and thin lines can break. On a clean, high resolution logo the result can be close enough to use. On a small, blurry or compressed image it reproduces the blur and the compression blocks as shapes.

ImageHow well it tracesStart with
Logo, icon or monogram with flat colorsWell, if the PNG is large and sharpLogo or icon, 2 to 8 colors
Black and white line art, stamps, signaturesWellLogo or icon, 2 colors
Flat illustration with a few shadesFairly well, with heavier filesIllustration, 12 to 24 colors
Small or blurry logo, screenshot of a logoPoorly: edges come out roughLogo or icon with smoothing 1 to 2
Photo, gradient or textureBadly: thousands of color patchesKeep the JPG, or use Photo for a poster effect

Getting a cleaner SVG

  • Start from the largest, sharpest file you have. The tracer can only follow the edges in the pixels. A 1,000 pixel wide logo traces far better than a 150 pixel one taken from a website header.
  • Use as few colors as the design really has. A two color logo traced with 16 colors gets extra paths for the soft pixels along every edge. Set the count to the real number of colors, plus one for the background if it is not transparent.
  • Smooth noisy images. JPG compression leaves speckles around edges. A smoothing of 1 or 2 and a higher speck limit remove most of them.
  • Watch the file size. A good trace of a logo is often smaller than the PNG. If the SVG is many times bigger, the image is too detailed for tracing and the PNG or JPG is the better file to keep.

A transparent PNG keeps its transparency: transparent areas are left out of the SVG, so the logo sits on any background. Semi-transparent edge pixels become shapes with partial opacity.

When a traced logo is not enough

Printers, sign makers and embroidery shops ask for a vector logo because they cut, engrave or scale it, and every wobble shows. Brand guidelines need exact colors, and a traced file only has colors averaged from pixels. If the logo exists only as a small PNG or a photo of a sign, the reliable fix is to redraw it by hand as a vector: true geometric curves, the real typeface or a matched one, and exact color values. Traced files are fine for a quick preview, a cutting machine at home or an icon on a slide.

Is it safe and private

The image never leaves your device. The page reads it with your browser, traces it with an open source library running in the page, and builds the SVG on your computer or phone. There is no upload and no queue, and once the page has loaded it keeps working offline.

Methodology and limits

Tracing
The image is traced by imagetracer.js 1.2.6, a public domain library by András Jankovics. It reduces the image to the number of colors you set (palette sampled from the image, refined over 3 cycles), scans the outline of each color area, and fits straight lines and quadratic curves within the error set by curve simplification (0.1 to 4.0 pixels).
Presets
Logo or icon: 6 colors, no smoothing, simplification 1.0, specks up to 8 px ignored. Illustration: 16 colors, smoothing 1, 1.0, 8 px. Photo: 32 colors, smoothing 2, 1.5, 4 px. Right angle corners are kept sharp in every preset.
Size
Images larger than 1,200 pixels on their longer side are scaled down to 1,200 for tracing, then the paths are scaled back up, so the SVG has the width and height of the original in pixels.
Output
The SVG holds one filled path per shape, with hex colors, coordinates rounded to one decimal, a viewBox, and no strokes, scripts or embedded images. Fully transparent areas are left out.
Limits
One image at a time, up to 100 million pixels and 16,384 pixels on a side. Tracing runs on the page, so a large photo with many colors can take several seconds and freeze the page while it works. The tracer does not recognize text, so letters are traced as shapes, not as editable type.

Sources

FAQ

Questions people ask

How do I convert a PNG to SVG?

Drop the PNG on the box above. The tool traces it with the Logo or icon preset; change the number of colors and the curve simplification until the edges look right, then download the SVG or copy its code. It runs in your browser and is free.

Will the SVG look exactly like my PNG?

Not exactly. Tracing approximates the pixels with curves, so letters and circles can come out slightly uneven and fine detail may be simplified. A large, sharp logo with flat colors traces closely; a small or blurry one does not.

Can I convert a photo to SVG?

You can, but the result is a poster-like set of color patches, usually in a file far bigger than the JPG. SVG suits logos, icons and flat illustrations. For a photo, keep the JPG or WebP.

Is renaming a .png file to .svg the same thing?

No. Renaming changes only the extension, and the file stays a grid of pixels that most programs then refuse to open. Some converters embed the PNG inside an SVG wrapper, which is still pixels. This tool traces the image into real vector paths.

Does the SVG keep a transparent background?

Yes. Transparent areas of the PNG are left out of the SVG, so the shapes sit on whatever background the SVG is placed on. Semi-transparent edge pixels become shapes with partial opacity.

Can I use the traced SVG for printing or a sign?

For a quick job, often yes. For brand use, signage, embroidery or engraving, printers want exact curves and exact colors, which tracing cannot guarantee. Redrawing the logo by hand as a vector is the reliable way to get a file that holds up.

Is my image uploaded?

No. The image is read and traced by your browser on your own device, and the SVG is built there. Nothing is sent to a server.

More free tools

See all 52 tools

Logo redraw

Let's make something matter.

We redraw logos by hand as clean vector files, with true curves, exact colors and the right typeface, then deliver SVG, PDF and PNG for web, print and signage. Independent design and marketing studio in Portugal. Senior-led projects, transparent pricing and clearly defined deliverables for international clients.

  • A reply from a designer within one working day
  • A fixed-price proposal before any work starts
  • Senior-led work with clearly defined deliverables
  • Clients in Portugal, across Europe and further afield

Request a quote

Prefer email? hello@wearedemarca.com