What is PNG to SVG?
This page traces one PNG into SVG paths. It is meant for logos, icons, line art, and flat illustrations. Tracing stays in the browser. The image is not uploaded.
The default preset is a logo. You can switch to line art or illustration, and between color and black and white. In color mode the color count runs from 2 to 32. Detail is low, medium, or high. Before tracing, the long edge is scaled to 1024 pixels or less so a large file does not turn into an oversized path document.
When it fits
- You have a PNG logo and need vectors that can scale
- A line drawing or icon should become paths you can recolor
- A flat illustration should export as SVG without hand-tracing every shape
To edit paths afterward, use the SVG editor. To draw the SVG back to a transparent PNG, use SVG to PNG. If the file is already a bitmap and you only want JPG or WebP, use the image converter.
How it works
Tracing rebuilds shapes. It does not recover layers from a design file.
- Color quantization. The image is reduced to the color count you set (2–32), or to black and white. Close colors collapse into one fill.
- Region tracing. Connected pixels of one color become regions. Specks below the detail setting are dropped.
- Curve fitting. VTracer fits those regions with curves. If VTracer does not start, imagetracerjs runs instead and the paths are rougher.
A long edge above 1024 pixels is scaled down first. The file cap is 8 MB. A later bitmap export, on SVG to PNG or SVG to PDF, caps that long edge at 4096 pixels.
Privacy
The PNG never leaves your browser. Decode, the 1024-pixel scale, quantization, and both tracers run on this device. The preview is a blob URL. There is no upload.
Limits
- PNG only. One image at a time, up to 8 MB. Transparent pixels stay transparent. The alpha channel is defined in the W3C PNG specification.
- The preview loads the cleaned SVG from a blob URL in an
<img>. MDN's img element reference describes that mode: scripts inside an SVG used as an image do not run. - Lettering becomes paths, so you cannot change the font afterward. Photos are not a preset in this version.
- Tracing uses VTracer. If that tracer does not start, imagetracerjs runs instead and the paths are rougher. Input is 8 MB. The trace edge is 1024 pixels. A bitmap export of the result caps the long edge at 4096 pixels.