PNG to SVG Converter
Convert a PNG or JPG logo, icon or line drawing to a real vector SVG, with presets, colour count, background removal and an overlay. Runs in your browser.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
PNG to SVG Converter: Vectorize a Logo or Icon
Vectorize a PNG or JPG logo, icon or line drawing into a scalable SVG in your browser, with presets, a colour-count control and an overlay to compare.
A PNG to SVG converter turns a raster image's pixels into vector shapes, so the result scales to any size without blurring. This one reduces the image to a set number of colours (k-means clustering), traces the outline of every colour region along the pixel grid, replaces the pixel steps with straight lines and smooth quadratic curves, and then shrinks the markup with the same rules as our SVG Optimizer. Presets suit logos, line art and icons. It works best on flat-colour artwork. Photos trace poorly: gradients become flat bands and the file gets large. Everything runs in your browser.
How to use PNG to SVG Converter
- 1
Choose a PNG, JPG or WebP file under PNG, JPG or WebP file; a notice appears if it looks like a photo, which traces poorly
- 2
Pick a preset: Logo, Line art, Icon or Illustration
- 3
Adjust Number of colours (or the Ink threshold for line art), the Detail size, and tick Remove the background colour for a transparent SVG
- 4
Press Convert to SVG and drag the Overlay slider to compare the SVG with your original; the panel lists file size, colours and shapes
- 5
Use Download to save the .svg file, or Copy SVG code to paste the markup into your page or design tool
Why use PNG to SVG Converter
Real vector paths
The output is filled paths, not a PNG wrapped inside an SVG, so it can be edited and scaled freely.
Presets and colour control
Logo, Line art, Icon and Illustration presets, a 2 to 32 colour slider and a mono ink threshold.
Check before you download
An overlay slider fades between your original and the SVG so you can see where the trace differs.
Private and free
The tracer runs on your device. Nothing is uploaded and there is no sign-up.
Common use cases
- Turning a PNG logo into an SVG for a website, a print vendor or a laser cutter
- Vectorizing a scanned signature or pen sketch as clean black line art
- Rebuilding a small icon as an SVG that stays sharp at any size
- Making a transparent SVG from a logo on a white background
Frequently asked questions
How do I convert a PNG logo to SVG?
Choose the PNG, keep the Logo preset, set Number of colours to the colours in your logo including the background, and press Convert to SVG. Compare with the overlay slider, then download. Tick Remove the background colour if you want a transparent SVG.
Does converting PNG to SVG make it a real vector?
Yes. Each colour region becomes a filled path made of lines and curves, so it stays sharp at any size and can be edited in Illustrator, Inkscape or Figma. Some converters only wrap the PNG inside an SVG file; this one does not.
Can I convert a photo to SVG?
You can, but photos trace poorly. Tracing makes flat-colour shapes, so the smooth gradients and fine detail of a photo become blotchy bands, and the SVG is often larger than the JPG. Keep photos as JPG or WebP; trace logos, icons and drawings.
How many colours should I choose?
Choose the number of distinct colours in the artwork, counting the background. A two-colour logo on white needs 3. Extra colours tend to pick up the soft edge pixels and add thin fringes around shapes.
How do I vectorize a signature or a sketch?
Use the Line art preset. It keeps only pixels darker than the ink threshold and traces them as black shapes on a transparent background. Raise the threshold if light strokes disappear; lower it to drop grey smudges.
Can I edit the SVG in Illustrator, Inkscape or Figma?
Yes. The output is plain filled <path> elements, one per colour, with no embedded bitmap, so each colour can be selected, recoloured or reshaped. Tracing happens in your browser, so the image is never uploaded.
Embed this tool on your site
Add the PNG to SVG Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/png-to-svg-converter"
title="PNG to SVG Converter — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/png-to-svg-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>