Skip to main content
unraster
All posts

BlogSVG

How to Convert PNG to SVG: 4 Ways Compared (2026)

Convert PNG to SVG with Inkscape, Illustrator Image Trace, an online converter or Unraster. Real zoomed results, file sizes, and how to spot a fake SVG.

On this page
  1. What a conversion actually looks like
  2. Tracing versus wrapping: check what you got
  3. Which method to use
  4. Method 1: Inkscape (free)
  5. Method 2: Illustrator Image Trace
  6. Method 3: An online converter
  7. Method 4: Unraster
  8. How to get a cleaner trace with any tool
  9. Before you use the SVG
  10. FAQ

Quick answer: an SVG made from a PNG has to be traced: software redraws the picture as vector paths. Use Inkscape's Trace Bitmap (free) or Illustrator's Image Trace if you already work in those apps, or an in-browser converter for a quick result. Then open the file and check it is real paths, not your PNG wrapped in an SVG.

A PNG is a grid of coloured pixels. An SVG is a text file that describes shapes. That is why an SVG stays sharp at any size, while a PNG turns into visible squares when you enlarge it. Going from one to the other is not a format change like PNG to JPG. Something has to look at the pixels and draw new shapes that follow them.

This guide shows what a real conversion looks like up close, how four methods compare, and the two-minute check that catches fake SVGs.

What a conversion actually looks like

Here is the same logo, zoomed in on the ampersand: the original PNG and two SVGs made from it with Unraster, all cropped from the real files at the same spot.

Zoomed ampersand: pixelated PNG, Basic SVG with a notch and a stray patch, clean Advanced SVG
The PNG shows its pixel grid. Basic SVG is smooth but has a notch on the left stroke and a lighter patch at the top; Advanced SVG follows the letter cleanly.

Three things to take from this:

  • The SVG is a redraw. Both SVGs are smooth at any zoom, but neither is the original. Tracing decides where each edge goes, and it can decide wrong.
  • Errors hide at normal size. At 100% all three look identical. Problems show up at 400% or more, which is exactly where vector artwork gets used: large prints, signs and cutting machines.
  • Path count is not quality. This Basic SVG has 83 paths and the Advanced one has 23. Fewer, cleaner shapes are usually easier to edit.

Tracing versus wrapping: check what you got

Two very different things get sold as "PNG to SVG":

  1. Tracing (vectorizing). The software finds edges and colour areas and draws paths along them. The result scales cleanly and you can edit each shape.
  2. Wrapping. The tool puts your PNG inside an SVG file unchanged. It has an .svg extension and opens in vector apps, but it is still pixels and blurs exactly like the PNG.

To tell them apart, open the SVG in any text editor. A wrapped file looks like this, with one huge line of base64 text:

<svg xmlns="http://www.w3.org/2000/svg" width="1254" height="1254">
  <image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..." />
</svg>

A traced file is a list of shapes. These are the first lines of the Advanced SVG from the logo above, shortened:

<svg xmlns="http://www.w3.org/2000/svg" width="1254" height="1254" viewBox="0 0 1254 1254">
<path id="shape-0" fill="#ffffff" d="M 1254 0 L 1254 1254 L 0 1254 L 0 0 L 1254 0 Z"/>
<path id="shape-1" fill="#5e7544" d="M 414.8 463.31 C 414.8 460.25 414.12 454.89 409.55 456.79 Q 417.06 448.52 422 438.7 ..."/>

Two more quick checks: zoom the SVG to 400% in a browser (wrapped files go blocky), and click it in a vector editor (a traced file breaks into many shapes, a wrapped one selects as a single rectangle).

Which method to use

Your situationBest fit
You want free, desktop software and some controlInkscape, Trace Bitmap
You already use IllustratorImage Trace
One quick conversion, no installAn in-browser or online converter
A logo or icon you will reuse at large sizesAny tracer, then check edges at 400%
A single-colour file for cutting or engravingA black and white trace, or a dedicated tool
A photoUsually keep it as a PNG or JPG; traced photos are huge and look posterised

Method 1: Inkscape (free)

Inkscape is a free, open-source vector editor for Windows, macOS and Linux with a built-in tracer. The steps follow the Inkscape manual; menu wording can differ slightly between versions.

  1. Open or import your PNG in Inkscape.
  2. Select the image with the Selector tool.
  3. Choose Path > Trace Bitmap (the manual lists Shift+Alt+B).
  4. On the Single scan tab, pick a mode:
    • Brightness cutoff gives a one-colour silhouette. The manual calls it the most frequently used mode; it suits logos and line art.
    • Edge detection traces only the outlines of shapes.
    • Color quantization traces along the borders between colours.
    • Centerline tracing reduces strokes to single open paths, useful for line drawings and plotters.
  5. For colour artwork, switch to Multiple scans. You get more detail, but one object per scan, and keeping colours creates one object for each colour.
  6. Click Update to preview, then Apply. The trace is placed exactly on top of your PNG.
  7. Move the trace aside or delete the original PNG, so you know which one you are saving. Then save as SVG.

Inkscape is the best free choice when you want to tweak the result afterwards, because the traced paths are ready to edit in the same app.

Method 2: Illustrator Image Trace

If you have Illustrator, Image Trace is the most configurable option:

  1. File > Place the image, then open Window > Image Trace.
  2. Pick a preset: Black and White for one-colour art, a limited colour preset for logos, a photo preset for photos.
  3. Adjust Threshold or Colors, Paths, Corners and Noise while watching the Info line, which counts paths, anchors and colours.
  4. Click Expand to turn the live trace into editable paths, then save as SVG (svg).

Each preset and setting, with screenshots of a real session, is covered in How to Trace an Image in Illustrator.

Method 3: An online converter

Online converters all follow the same pattern: upload a PNG, wait, download an SVG. Adobe Express, for example, offers a free PNG to SVG page that accepts JPEG, JPG or PNG files up to 40 MB. Unraster is not affiliated with Adobe or Inkscape.

Before you trust one, check three things:

  • Tracing or wrapping? Run the text-editor test above on the downloaded file.
  • Where does the image go? Most online tools upload your file to their servers. For unreleased logos or client work, read the privacy terms or use a tool that runs on your own computer.
  • What do you get for free? Some sites limit size, add watermarks or require an account for the download. Find out before you upload.

Method 4: Unraster

Unraster converts PNG, JPG and WebP images to SVG on its home page, with the original and the result side by side so you can compare them before downloading.

  • Basic SVG is free and runs entirely in your browser, so the image is never uploaded. It is a good first try for logos, icons and flat artwork.
  • Advanced SVG is for images where Basic is not clean enough, like the ampersand above. Your first Advanced conversion is free; after that it costs 1 credit, shown on the button, and charged only for a delivered file.

Here is what four real sample images turned into, measured from the actual files:

SamplePNGBasic SVGAdvanced SVG
Two-colour logo295 KB36 KB, 83 paths41 KB, 23 paths
Technical camera drawing1.5 MB920 KB, 2,561 paths1.25 MB, 1,536 paths
Science infographic1.2 MB757 KB, 2,303 paths989 KB, 733 paths
Detailed bird illustration1.8 MB4.0 MB, 11,337 paths7.5 MB, 4,189 paths

The pattern: Advanced uses far fewer paths, but each one carries more detail, so files can be larger. For a logo the SVG ends up much smaller than the PNG. For a detailed illustration it ends up bigger, which is normal for any tracer. These are single measurements on our samples, not guarantees for your image.

What Unraster does not do: it does not keep text as editable text, and it will not make a photo into a tidy vector. For single-colour cut files there are separate free tools that produce a clean black shape:

How to get a cleaner trace with any tool

  • Use the largest, sharpest source you have. A tracer can only follow the pixels it is given. A small or heavily compressed PNG gives wobbly edges and speckles.
  • Crop away empty space so the tracer spends its detail on the artwork.
  • Flatten transparency onto white if your tool has no transparency option. In one of our tests, a logo on a transparent background picked up speckles that disappeared once it sat on white.
  • Reduce colours first for logos. Four clean colours trace better than a logo with soft anti-aliased edges in dozens of shades.
  • Check small text. Tiny lettering is where every tracer struggles first. Retype it in a vector editor if it matters.

Before you use the SVG

  1. Open it in a text editor and confirm it contains path elements, not a base64 image.
  2. Zoom to 400% and inspect edges, corners and small text against the original.
  3. Click into it in a vector editor and make sure the shapes separate the way you expect.
  4. Check the file size. If a simple logo is several megabytes, retrace with fewer colours.
  5. Test it where it will be used: on the website, in the cutting software or in the print layout.

Bottom line: converting PNG to SVG means tracing, and every tracer makes judgement calls you should check at high zoom. Inkscape is the best free desktop route, Illustrator gives the most control, and an in-browser converter like Unraster is fastest for a one-off. Whichever you use, confirm the file is real paths before you rely on it.

FAQ

Is a PNG converted to SVG an exact copy?

No. Tracing redraws the picture as paths that follow its edges and colour areas. A clean logo comes back very close; fine detail, gradients and tiny text get simplified. Always compare the SVG with the original at high zoom.

Will the text in my PNG become editable text?

No. Tracing turns each letter into a filled shape, not a font character. To edit the words, retype them with a text tool and delete the traced letters.

Why is my SVG bigger than the PNG?

Every traced shape is written out as coordinates. A flat logo becomes a few dozen paths and a small file; a detailed illustration becomes thousands of paths and can be several times larger than the PNG. In our tests a detailed bird illustration went from a 1.8 MB PNG to a 4 MB Basic SVG.

Can I use the SVG with Cricut, Silhouette or a laser cutter?

Usually, yes: it is an ordinary SVG file. Cutting software has its own rules for fills, strokes and overlapping shapes, so check that program's instructions. For a single-colour cut file, a black and white trace is usually easier to work with than a full-colour one.

How do I know an online converter actually traced my image?

Open the downloaded file in a text editor. A real trace is full of path elements with long d attributes. A fake one contains a single image element with base64 data, which is just your PNG inside an SVG wrapper.

Can I convert an SVG back to PNG?

Yes. Open the SVG in a browser or vector editor and export it at the size you need. That direction does not involve tracing, so nothing is approximated.