PNG to Vector converter
Drop your image here
PNG, JPG, WebP or GIF. The palette is extracted automatically and every color becomes its own vector layer. You can also paste an image with Ctrl+V.
How to convert a PNG to vector with TraceMantra
The editor gives you a live preview, so the fastest way to learn it is to open an image and move the sliders. Here is what each part does.
Open an image
Click Open image, drag a file onto the canvas or paste with Ctrl+V. The first trace starts straight away with default settings.
Pick an engine
In the Trace panel, keep Faithful for sharp logos or switch to Smooth if edges look wavy.
Refine colors
Open Colors to change the palette size, recolor swatches or delete a background color you do not need.
Download
Check the result in Outline view, then press Download SVG or copy the code.
Recommended settings by image type
These are untested starting points, not guarantees. Adjust from here while watching the preview.
| Image type | Engine | Palette | Detail | Despeckle | Why |
|---|---|---|---|---|---|
| Flat logo, 1–3 colors | Faithful | 2–4 | 3× | 2–10 | Clean edges and few colors trace almost perfectly. |
| Small or low-res icon | Faithful | Match the icon | 4× | 2 | Supersampling rebuilds the true shape behind the pixels. |
| Cartoon or sticker art | Faithful | 8–16 | 2–3× | 10–30 | Keeps outlines sharp while cleaning shading noise. |
| Scanned drawing or lettering | Smooth | 2–3 | 2× | 30–80 | Ignores paper grain and fits flowing curves. |
| Blurry screenshot or JPG | Smooth | 4–12 | 2× | 20–60 | Soft edges trace as wobbles in Faithful mode. |
| Photo (posterized look) | Smooth | 24–64 | 1–2× | 40+ | More colors keep more tone; expect a screen-print style. |
Scope: the ranges are the author's rules of thumb for the controls in this editor and have not been measured on a test set. Faithful mode follows the method in Peter Selinger's Potrace documentation.
Check your vector before you export
The four buttons above the canvas change what you see, not what you download.
- Vector shows the finished SVG exactly as it will look.
- Overlay lays the vector over the original so you can spot shapes that drift.
- Outline draws only the path edges, which is the best way to judge curve quality.
- Source shows your original image for comparison.
Navigating the canvas
Scroll the mouse wheel to zoom at the cursor, and click and drag to pan. Use Fit to see the whole image and 1:1 to view it at its real pixel size. The zoom goes up to 6400%, so you can inspect single anchor points.
Reading the status bar
Under the canvas you will see the number of colors, paths and anchor points, the SVG file size and the trace time. Fewer anchors usually means a cleaner, more editable file. If the size jumps, try a lower palette size or more despeckle.
Remove a color Eyedropper
Press Remove color, then click any spot on the image: that color disappears from the whole image. It is the quickest way to cut out a background. Remove background automatically picks the border color for you, and Removal strength controls how similar shades are caught too.
Edit points by hand Like a vector editor
After a trace, press Edit points and click any shape. Its anchor points and Bézier handles appear: drag them to reshape, double-click a point to switch it between smooth and sharp, double-click the outline to add a point, and press Delete to remove one. Undo and Redo work with Ctrl+Z and Ctrl+Y. Trace settings are locked while you edit, so your changes are never overwritten by accident.