About the PNG to SVG Converter
This tool converts raster images into vector SVGs in your browser. It uses imagetracerjs to trace PNG, JPG or WebP files into layered vector shapes. You choose colour counts from 2 to 32, pick low, medium or high detail, and enable smoothing for noisy scans. The tool shows a live preview and the number of shapes before you download. Files are processed locally in your browser, so nothing is uploaded to any server. This makes the tool faster and safer for private logos and designs. The tracer works best for logos, icons, text and simple drawings with flat colours. Photos will convert but usually create many flat patches and larger SVG files. Results download directly to your device as an SVG you can open in Inkscape, Illustrator or a browser.
How to use it
- 1Upload or drag a PNG, JPG or WebP file into the tool.
- 2Pick a colour count: 2, 4, 8, 16 or 32.
- 3Set detail to low, medium or high and toggle smoothing if needed.
- 4Preview the vector and check the reported shape count.
- 5Download the SVG to your device.
Worked example
Example: You upload a 512 by 512 PNG logo with three flat colours. You choose 4 colours, medium detail and smoothing on. The preview shows 9 shapes and the downloaded SVG is about 18 KB.
How it works
Traces a PNG, JPG or WebP into a vector SVG with imagetracerjs: 2 (black and white), 4, 8, 16 or 32 colours, low, medium or high detail, optional smoothing for noisy scansShows a preview and the number of shapesWorks best for logos, icons, text and simple drawings with flat colours; photos become many flat patches and large filesRuns in the browser: files are never uploadedResults download straight to the deviceSource: W3C SVG specificationPotrace tracing algorithm. Last checked 5 November 2026.
What it is good for
- Runs in your browser so files do not leave your device.
- Pick 2 to 32 colours and tune detail for fewer or more shapes.
- Live preview and shape count help you check results before download.
- Best for logos, icons, text and simple flat-colour art; photos become many patches and large files.
- Traces semi-transparent pixels into solid shapes, so soft shadows may not reproduce exactly.
Questions people ask
Can I turn a PNG into an SVG?
Yes. The tool traces bitmap pixels into vector shapes. It works best for line art, logos and icons, not for detailed photographs.
Will converting a photo improve image quality?
No. Tracing does not recover photographic detail. For simple graphics, vectors scale sharply. For photos, expect posterized patches and larger files.
Does transparency carry over into the SVG?
Fully transparent pixels become empty space in the SVG. Semi-transparent pixels usually become solid vector fills during tracing, which can alter soft edges.
Are my files uploaded to a server?
No. This tool runs in your browser and processes files locally. Nothing is uploaded and the SVG downloads straight to your device.
Which settings should I use for a logo?
Start with 4 or 8 colours and medium detail. Turn on smoothing for scanned or noisy logos. Lower detail reduces node count for easier editing.
Can I edit the SVG after download?
Yes. Open the SVG in editors like Inkscape or Illustrator to simplify paths, change colours, or merge shapes.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.