Table of Contents
TogglePNG → SVG Converter
How to Work
- Upload a PNG or JPG file, or paste an image URL when prompted.
- Choose Embed to wrap the raster in an SVG (perfect visual fidelity), or Auto-trace to create vector paths (best for simple shapes).
- Adjust Output Width and Threshold (trace mode) to improve results.
- Click Convert → SVG. The generated SVG appears in the code box — you can edit, copy, or download it.
- Use Preview SVG to render the result and check transparency/scale.
Frequently Asked Questions
Does this truly convert raster to vector (like Potrace)?
It uses a lightweight client-side auto-tracer that detects high-contrast regions and traces outlines into SVG paths. It produces usable vectors for simple images but won't match advanced tools like Potrace for complex photographs.
What's the difference between Embed and Trace?
Embed inserts the raster image as base64 inside an SVG (keeps pixel-perfect look). Trace attempts to create vector paths by detecting shapes — results are scalable and editable but depend on image simplicity and threshold settings.
Is my image uploaded to a server?
No. All processing (embedding, tracing, canvas work) happens in your browser. Nothing is sent to external servers.
Can I change colors in traced SVG?
Yes — after conversion you can edit the SVG code: change fills/strokes in the path elements or open the SVG in a vector editor like Inkscape/Illustrator for advanced editing.
Why does the traced SVG look blocky?
The tracer is intentionally simple and fast. For smoother results, increase the source image resolution before tracing, tweak threshold, or use a dedicated vectorization tool for advanced smoothing.