PNG to SVG Converter
: Free PNG to SVG converter: trace PNG, JPG or WebP logos, icons and line art into real vector paths in black and white or colour, batch and ZIP, traced in your browser with no uploadOptions
PNG to SVG Converter
Convert PNG to SVG by tracing it: the picture is redrawn as real vector paths that stay sharp at any size, ready for a cutting machine, a laser, a print shop or a website. It works best on logos, icons, signatures, stamps and line art, and it takes JPG, WebP, GIF, BMP and AVIF images too, so it also serves as a JPG to SVG converter. Each image is traced on your own device, with no account or watermark.
How to convert PNG to SVG
- Add images with
Open filesor drag them onto the page;Exampleloads a small logo with a ring, a triangle and lettering. Each image is traced as soon as it arrives, one at a time, with progress and a Cancel button for large ones. - Pick a
Mode.Colourkeeps up to the number ofColoursyou choose (2 to 32, 8 to start);Black and whitedraws only the dark parts, with theThresholdpicked from the image unless you type one (0 to 255).Inverttraces the light parts instead. - Set
Detail:Sharp (pixel edges)follows every pixel step, which suits pixel art and QR codes;Balancedkeeps real corners and fits smooth curves;Smoothrounds more.Remove specks (px)merges tiny shapes into their surroundings, andRemove backgrounddrops the main colour that touches the edge. - Click a result to check it large, then
Downloadone SVG orDownload allaspng-to-svg.zip. Each row gives the SVG's size, the colours and the number of paths.
Example
An 8 × 8 pixel ring traced with Black and white, Sharp: one path for the outside and one for the hole, drawn with the even-odd rule so the hole stays open.
........
..####..
.######.
.##..##.
.##..##.
.######.
..####..
........<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="#000" fill-rule="evenodd" d="m2 1h4v1h1v4h-1v1h-4v-1h-1v-4h1zm1 4h2v-2h-2z"/></svg>Details
- Real vectors, not a wrapper: many PNG to SVG converters only place the PNG inside an SVG file, which is still a bitmap and blurs when scaled. This page traces the outline of every shape and writes it as SVG path data, one filled
<path>per colour, with holes in letters such as O, A and B kept open. - How the colours are chosen: the image is reduced to the number of colours you ask for by repeatedly splitting the colour range where the error is largest, then refining the groups. An image with fewer flat colours than you asked for keeps only those. In Balanced and Smooth, the thin blended edge that antialiasing leaves between two colours joins its neighbour, so shapes do not get grey outlines.
- No gaps between shapes: each colour layer is drawn over the ones before it, the largest area first, so neighbouring colours overlap a little instead of leaving hairline gaps when the SVG is scaled or cut.
- Transparency: see-through pixels in a PNG stay see-through in the SVG and are never filled. A logo on a white background can lose the white with
Remove background; note that it also clears enclosed white areas such as the inside of an O. - Clean output: coordinates are rounded to two decimals (one above 500 pixels), paths use short relative commands, and the SVG carries
width,heightandviewBoxwith no editor metadata. Run it through the SVG Optimizer if you want it smaller still.
Limits
- Tracing redraws the picture as flat shapes. Logos, icons and line art trace well; photos and gradients turn into thousands of shapes and a large file, and the row warns when an image looks like a photo.
- Up to 25 MB (MiB) and 40 megapixels per image, the size browsers decode reliably. Any number of images.
- Shapes narrower than about 8 pixels come out slightly rounded in Balanced and Smooth; use Sharp, or a larger source image, for very small details.
- GIFs use their first frame. HEIC photos are not read here: convert them to JPG first.
- Filled shapes only: there is no centre-line (single-stroke) tracing for pen plotters.
FAQ
Is this PNG to SVG converter free and private?
Yes. No sign-up, no watermark and no limit on the number of images. Decoding and tracing run in your browser, so your images never reach tomz.dev or anyone else.
Can I convert JPG to SVG here too?
Yes. JPG, WebP, GIF, BMP and AVIF images are traced the same way as PNG. JPG compression leaves faint noise around edges; Remove specks (px) and fewer Colours clean it up.
Why does my logo come out with too many colours or specks?
Lower Colours to the number the logo really has, raise Remove specks (px), or switch to Black and white for a one-colour mark. A larger, sharper source image also traces more cleanly.
Can I use the SVG with Cricut, Silhouette or a laser cutter?
Yes. The output is plain SVG with filled paths, which cutting and engraving software opens. Black and white mode gives a single path, which is usually what a cut file needs.
Is converting a PNG to SVG lossless?
No. A PNG stores pixels and an SVG stores shapes, so tracing approximates the edges. Sharp detail keeps exact pixel edges; Balanced and Smooth trade exactness for clean curves.
Runs entirely in your browser. Nothing is uploaded.