PNG to SVG conversion trades file size for flexibility, but the result depends on your image type

Converting a PNG to SVG is possible, but the outcome varies wildly depending on what's in your image. A PNG is a grid of colored dots (called a raster image). An SVG is a set of mathematical instructions that draw shapes and lines (called a vector image). The conversion process tries to trace the outlines in your PNG and turn them into vector paths — but it works well only for images with clear, solid shapes and few colors.

If your PNG is a logo, icon, or graphic with flat colors and sharp edges, conversion can work. If it's a photograph or a detailed illustration with gradients and thousands of colors, the result will be bloated and often uglier than the original. Understanding what you're starting with matters more than which tool you pick.

Key Takeaways

  • PNG-to-SVG conversion works best on simple graphics with solid colors and clear outlines, not photographs or complex illustrations.
  • Free online tools like Potrace, Vectorizer.io, and Adobe Express handle most conversions without installing software.
  • Desktop tools like Inkscape (free) and Adobe Illustrator (paid) give you more control to clean up and edit the result afterward.
  • The converted SVG often needs manual editing to look good — expect to spend time removing stray paths and simplifying shapes.
  • For photos and detailed images, conversion usually produces worse results than redrawing from scratch or finding a vector version.

When PNG-to-SVG conversion actually works

Conversion succeeds when your PNG has a small number of solid colors, clear boundaries between shapes, and minimal detail. Logos, icons, simple diagrams, and flat-design graphics are good candidates. A logo with three colors and clean edges will convert to a usable SVG in seconds.

Conversion fails or produces poor results with photographs, watercolor paintings, detailed illustrations, gradients, and images with soft shadows or anti-aliasing (the blurred edges that make raster images look smooth). A photo of a face converted to SVG will either become a massive file with thousands of tiny paths, or a blurry, unrecognizable mess.

Before you convert, zoom in on your PNG and ask: could I describe this image by listing shapes and colors? If yes, conversion will likely work. If the answer is "it's too detailed" or "there are too many colors," you're better off finding a vector version or redrawing it.

Free online converters: Potrace and Vectorizer.io

Potrace is the engine behind many online converters. You upload a PNG, it traces the outlines, and you download an SVG. The web version at potrace.sourceforge.net is free and works in your browser — no account needed. Upload your file, adjust the threshold slider (which controls how aggressively it traces), and download the result. The threshold setting matters: too low and you get extra noise; too high and you lose detail.

Vectorizer.io is another free online option that also uses tracing. It has a slightly friendlier interface and lets you preview the result before downloading. Both tools are genuinely free with no hidden paywalls, though Vectorizer offers a paid tier for batch processing and higher resolution output.

These tools are fastest for one-off conversions. You don't install anything, and the whole process takes under a minute. The downside: you can't edit the result in the browser. If the conversion isn't perfect, you'll need to download the SVG and open it in a separate editor.

Adobe Express: conversion plus basic editing

Adobe Express (express.adobe.com) includes a free PNG-to-SVG converter that also lets you edit the result in the same tool. Upload your PNG, watch it convert, then use the built-in editor to remove unwanted paths, adjust colors, or combine shapes. You need a free Adobe account, but no subscription.

Adobe Express is slower than Potrace and Vectorizer — the conversion takes longer and the interface is heavier — but the editing tools are more intuitive for people who haven't used vector software before. If your conversion needs minor cleanup, you can do it without leaving the browser.

The trade-off: Adobe Express is less aggressive about simplifying the result. Your SVG may end up larger than what Potrace produces, especially if your PNG has many colors or soft edges.

Inkscape: free desktop software with full control

Inkscape is a free, open-source vector editor that runs on Windows, Mac, and Linux. It has a built-in PNG-to-SVG converter (called "Trace Bitmap") that gives you more control than online tools. Download Inkscape from inkscape.org, open your PNG as a new document, select the image, go to Path > Trace Bitmap, adjust the settings, and click OK. Inkscape creates a new vector layer on top of your original PNG.

The advantage: Inkscape's trace settings are more granular. You can choose between "Brightness", "Color", and "Edge Detection" modes depending on your image. You can also set the number of colors, smoothing level, and stack scans to refine the result. After tracing, you're already in a full vector editor, so you can immediately delete stray paths, merge shapes, or adjust colors without switching tools.

The disadvantage: Inkscape has a steeper learning curve than online tools. The interface is complex, and understanding what each trace setting does takes some experimentation. For a simple logo, it's overkill. For a complex image that needs heavy editing, it's worth the time investment.

Adobe Illustrator: professional-grade tracing

Adobe Illustrator (part of Creative Cloud, subscription required) includes Image Trace, a more sophisticated converter than Potrace or Inkscape's Trace Bitmap. Place your PNG in Illustrator, select it, and click Image Trace in the Properties panel. Illustrator offers presets like "Logo", "Icon", "Sketch Art", and "Detailed Illustration" that adjust the tracing parameters automatically.

Image Trace is faster and produces cleaner results than free tools, especially on complex images. It also integrates seamlessly with Illustrator's editing tools, so you can refine the result without leaving the application. However, Illustrator costs money — Creative Cloud subscriptions start at around $20 per month for a single app.

Use Illustrator only if you already subscribe or if you're converting many images professionally. For occasional conversions, the free tools are sufficient.

What to do after conversion: editing the SVG

Most conversions produce SVGs that need cleanup. You'll often see stray paths, extra nodes, or colors that don't match your original PNG. Open the converted SVG in your editor of choice (Inkscape, Illustrator, or even a code editor) and look for problems.

Common issues: extra paths around the edges (delete them), too many nodes making curves look jagged (use the simplify or reduce nodes function), colors that are slightly off (edit the fill color), and grouped shapes that should be merged (ungroup and combine). Most vector editors have a "Simplify Path" or "Reduce Nodes" function under the Path menu — use it to smooth out jagged curves and shrink file size.

If the conversion is too messy to fix quickly, consider whether redrawing from scratch or finding an existing vector version would be faster. For a simple icon, cleanup takes minutes. For a detailed illustration, it can take hours.

Frequently Asked Questions

Can I convert a PNG with a transparent background to SVG?

Yes. The converter will trace the visible shapes and ignore the transparent areas. The resulting SVG will have a transparent background by default. If your PNG has a white background that you want to keep, the converter will trace it as a white shape — you may need to delete it afterward.

Why is my converted SVG file bigger than the original PNG?

Complex images with many colors or soft edges convert to SVGs with thousands of tiny paths, making the file larger. Simple logos usually convert to smaller SVGs. If your result is huge, the conversion probably wasn't a good fit for that image — consider keeping the PNG instead.

Can I convert a JPEG to SVG the same way?

Yes, the same tools work on JPEG files. However, JPEGs are already compressed and lose quality, so the conversion result is often worse than converting from PNG. If you have a choice, use PNG.

What if the converter removes details I want to keep?

Lower the threshold or sensitivity setting in your converter — this tells it to trace more aggressively and keep finer details. The trade-off is a larger file and more stray paths. You can also open the result in an editor and manually add back details by drawing new paths.

Is there a way to convert a photograph to SVG that actually looks good?

Not really. Photographs have too much detail and too many colors for standard tracing to work well. Some tools offer "posterize" modes that reduce colors first, but the result is usually a stylized, low-detail version of the original. If you need a vector version of a photo, consider hiring an illustrator to redraw it or using AI-powered tools like Adobe Firefly, which can generate vector art from a photo description.