PNG to SVG converter with paths you can edit
Open, drop or paste an image. Each color becomes one clean path, and you see the node count and file size before you download. Traced on your device.
Drop an image here
PNG, JPG, WebP or GIF. Or paste one with Ctrl+V / ⌘V.
Flat colors. Finds the flat colors and leaves the background out.
What's inside the file
This is the complete SVG for the two-color sample logo above, as the converter writes it. One <path> per color, a viewBox so it scales, coordinates rounded to what the image size needs, and nothing else.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" width="600" height="600" fill-rule="evenodd">
<path fill="#1d3557" d="M460 384.2c0 12.4 1.5 29.7-.6 41.5-2.4 13.3-7.2 23.4-16.3 33.3-17.4 19.1-33.5 21-58.4 21H2… 662 more characters"/>
<path fill="#e76f51" d="M415 80c12 0 21 .5 32.2 5.2 52.8 22.5 58.4 96.5 8.3 125.2-9 5.1-19.2 8.8-29.5 9.5-73.3 5.5… 130 more characters"/>
</svg>Pick the preset that matches the image
- Logo
- Flat-color artwork. Finds the colors, removes the background, one path per color.
- Icon
- One color, ready for currentColor so CSS can color it.
- Line art & signatures
- Black-and-white: scans, sketches, signatures. Picks the threshold and the ink color, drops dust.
- JPEG logo
- Smooths compression blocks and off-white backgrounds first. Details on the JPG to SVG page.
- Flat illustration
- Like Logo but keeps the background as a shape.
- Photo
- Posterizes into 4 to 32 color bands. A graphic look, not a faithful copy.
Making favicons or a dark-background version? Build a logo kit from the same trace.
Same logo, other tracers
The same 600 × 600 PNG run through two popular open-source tracers with the settings they come with. Visually they're all close; the difference is in what you get to edit.
| Tracer | Paths | Nodes | File size |
|---|---|---|---|
| Vector Path Lab | 2 | 43 | 1.1 KB |
| VTracer, default settings | 5 | 105 | 4.5 KB |
| imagetracerjs, default settings | 129 | 464 | 20 KB |
Fewer paths means each color is one object to select and recolor. Fewer nodes means smoother curves when you edit them, and a smaller file to ship. All eight test images, with the pixel error of each result, are on the logo vectorization examples page.