SVGFlow
Open editor

PNG to SVG converter

Convert a PNG file to SVG online, free — vectorize a PNG, JPG or WebP logo, icon or screenshot into real SVG paths entirely in your browser. Full-colour, greyscale or black-and-white tracing, adjustable threshold, one-click background removal, and paste-a-screenshot input. The image is never uploaded.

Runs entirely in your browser — nothing is uploaded, no account needed.

Preview
no image
Drop an image to trace — or paste a screenshot
PNG, JPG, WebP, GIF or BMP · max 10 MB · ⌘V / Ctrl+V works too
SVG output
Drop an image to see the traced markup.
Mode
Fit
Colours8
Split touching objects — off
Objects joined by something thinner than this — held hands, a ground line — become separate layers. Raise it until the count looks right.
Source
Paths
Output size

Traced output benefits from a pass through the Optimizer — posterised paths carry more precision than they need. Need the other direction? SVG to PNG renders vectors back to pixels at any size.

How to convert PNG to SVG (in full colour)

Drop an image — or paste a screenshot with ⌘V / Ctrl+V — adjust the mode, fit and colour count until the preview looks right, and download the SVG — free, online, no signup. This is a vectorizer, not a wrapper: the PNG is not embedded inside an SVG tag, it is traced into real paths. Under the hood the image is decoded in your browser, downscaled to at most 800 px on the long edge, and posterised to at most the number of colours you choose — the palette is the image's own most common colours, with antialias blends and near-duplicate shades folded into the colours they came from, so a three-colour logo comes back with three fills, not thirty. Each colour region is then traced: straight runs become lines, curved runs become quadratic splines, and speck regions below the preset's minimum area are merged into their surroundings before the tracer ever sees them. The result is one SVG where every colour region is an editable path, organised into named object groups, which you can download, copy, open in the editor, or compare side by side with the original. Nothing is uploaded — the tracer is loaded on demand and runs in a Web Worker on your machine, so even a detailed pass never freezes the page.

The three fits move the same three knobs. Posterised smooths the input and tolerates loose fitting, which suits logos photographed off a wall. Detailed follows edges tightly and keeps small features, at the price of many more nodes — worth it for intricate sources, but on clean flat art it mostly adds weight, so start with Balanced. The Paths counter under the controls shows the cost of each choice.

Colour, greyscale, or black and white with a threshold

Colour is colour-first tracing: the palette is sampled from the image itself, so a six-colour logo comes back as six recolourable layers, not a black silhouette. Greyscale keeps only luminance and quantises it to the number of grey levels you set — the right choice for pencil sketches, engravings and anything destined for a single-ink print. Black & white makes one cut: every pixel darker than the threshold becomes black, everything else white. Slide the threshold up to catch faint lines, down to drop shadows and JPEG noise. That is the mode for cutting machines (Cricut, Silhouette), laser engravers, stencils, embroidery digitising and line art — one colour, closed shapes, and with Remove background on, nothing but the shapes. Invert flips light and dark in any mode, so a white-on-black screenshot traces as dark shapes on nothing.

Transparent backgrounds and background removal

Transparent PNGs stay transparent: fully transparent regions are recognised up front, reserved their own palette slot, and then dropped from the output entirely rather than written as invisible paths — which is why the traced file is often smaller than a naive trace of the same image. For a logo sitting on a flat white (or any flat) background, tick Remove background: the dominant colour along the image border is detected, pixels within a small tolerance of it are made transparent before tracing, and the swatch next to the checkbox shows what was removed. The result is an SVG that shows whatever sits behind it — a page, a T-shirt mock-up, a dark UI — with no white box. Soft edges snap to solid or transparent at the halfway point, so the traced outline is a clean shape rather than a lace of semi-opaque slivers — but partial opacity that covers real area is kept: a shape drawn at, say, 70% opacity comes out as paths with that opacity, not flattened to solid.

Layers: one group per object, and parts inside it

With Group into layers on (the default), the SVG is not a flat pile of paths. The background becomes one rectangle; every separately drawn thing — a figure, the sun, a cloud, each tuft of grass — becomes its own <g>, largest first, named Object 1, 2, 3…, and the paths inside it are ordered top to bottom so hair comes before shoes. Tiny stragglers (a sun's rays, dust) share a Small parts group instead of each getting a layer. White areas that are enclosed by a drawing — the inside of a face on a colouring page — belong to that drawing, not to the background, so they stay selectable and fillable.

Drawings that touch — three people holding hands on a ground line — come out as one object. Split touching objects subdivides such an object into Parts: raise it past the line thickness and thin connectors (a held hand, the ground line) are cut while the enclosed cells that share an outline (hair and face, top and skirt) stay together, so each figure becomes a part with its own group. A large empty area trapped between two figures is treated as background for that decision, so it cannot glue them back together — but it is still traced and kept, assigned to the nearer part. Open the result in the editor and the layers panel shows the tree; double-click a group to name it Mom, Dad, Sun. The tool does not know what a face is — it knows what is connected to what — so the naming is yours, and it takes seconds.

When tracing pays off

When the vector original is gone and all that survives is a PNG — a logo inherited from an old agency, an icon lifted from a slide deck, a diagram that exists only as a screenshot. Tracing gives you paths you can recolour with the Color Replacer, scale for print, and edit shape by shape. It is a reconstruction, not a conversion: the goal is a clean redraw you own, not pixel fidelity. JPEGs work as well as PNGs — the vectorizer accepts JPG, WebP, GIF and BMP — but their compression noise argues for the Posterised fit or a slightly higher threshold. If what you actually need is the reverse — a PNG copy of an SVG you already have — that is the SVG to PNG converter.

Common problems

  • The output is huge. Photographs and gradients posterise into hundreds of jagged colour fields — often heavier than the JPEG they came from. Tracing pays off for flat artwork; for photos, stay raster (or accept the poster look deliberately with 4–6 colours). Watch the Paths counter: fewer, larger paths is the goal.
  • Halo colours around edges. Antialiasing blends foreground into background, and a naive tracer invents a colour for the blend and traces it as a lace of slivers. The palette here is built from the colours the image is actually made of — a colour that only ever appears as a thin band between two others is folded into them, and each edge pixel goes to whichever side it is nearer. What can still slip through is JPEG chroma noise: reduce the colour count, use the Posterised fit, or switch to Black & white where a threshold decides.
  • The white box came along. The background was opaque white in the PNG, so it is a colour like any other. Tick Remove background — or, in Black & white mode, it is the difference between a stencil and a white rectangle with a hole in it.
  • Wobbly lines that should be straight. The source was blurry or JPEG-compressed. Trace from the sharpest copy you have, and prefer the Posterised fit, which smooths before it traces.
  • Text traced into blobs. Letterforms become outlines of whatever the pixels said, not editable text. If you know the font, set the words again with Text to Path and drop the traced text layer.

Questions

Is this PNG to SVG converter free?

Yes. Tracing is free, with no account, no watermark and no signup — up to 10 MB per image. The site is funded by advertising.

Does the SVG keep the colours of my PNG?

Yes — Colour mode is full-colour tracing. The palette is built from the colours the image is actually made of (up to the 2–24 you allow), antialias blends and near-duplicate shades are folded back into them, and each colour region becomes an editable vector path, organised into named object groups — a three-colour logo comes back with three fills, recolourable shape by shape. Greyscale and Black & white modes are there when you want fewer.

Can I make a black and white SVG for Cricut or a laser cutter?

Yes. Choose Black & white mode, set the threshold so the shapes you want are black, and tick Remove background. The SVG contains only the black shapes as closed paths — what cutting and engraving software expects.

Can it remove the white background?

Yes. Tick Remove background: the dominant colour along the image border is detected and knocked out to transparent before tracing, and the swatch next to the checkbox shows which colour was removed. Any flat background colour works, not just white.

Can I paste a screenshot instead of uploading a file?

Yes. Copy an image or take a screenshot to the clipboard and press ⌘V or Ctrl+V anywhere on the page. It is traced exactly like a dropped file, and like a dropped file it never leaves your browser.

Is this AI vectorization?

No. It is deterministic tracing — posterisation followed by curve fitting, the same family of algorithm as Illustrator’s Image Trace or Inkscape’s Trace Bitmap, running in your browser. The same image and settings always produce the same SVG, and nothing is sent to a model.

What happens to a transparent background?

It survives. Fully transparent regions are given their own palette slot and then dropped from the output rather than written as invisible paths, so the SVG shows through to whatever is behind it — and is smaller for it.

Can I convert JPG to SVG here too?

Yes. The vectorizer accepts PNG, JPG, WebP, GIF and BMP. JPEG compression adds noise around edges, so prefer the Posterised fit or a slightly higher threshold in Black & white mode.

Can I convert a logo from PNG to SVG?

Logos are the ideal case. Flat colours and hard edges trace cleanly into a handful of tidy paths you can scale for print. Screenshots of diagrams and simple icons work well too. Photographs posterise into heavy colour fields — usually not worth it.

Does the SVG come with layers?

Yes. By default every separately drawn object — a figure, the sun, a cloud — becomes its own named group, largest first, with its paths ordered top to bottom; the background is one rectangle beneath them. Split touching objects subdivides drawings that connect (people holding hands on a ground line) into parts, one group each. Open the result in the editor to see the tree and rename the groups; the tool groups by connectivity, it does not know what a face is.

Will the SVG open in Figma, Illustrator, Inkscape or Cricut Design Space?

Yes. The output is a plain SVG of filled paths — no app-specific extensions, embedded images or scripts — so it imports anywhere SVG does: Figma, Illustrator, Inkscape, Affinity, Canva, Cricut Design Space and Silhouette Studio, and it renders as vector in every browser. If you would rather trace inside those apps, the guides cover Illustrator, Photoshop, GIMP and Figma and Inkscape.

Is my image uploaded anywhere?

No. The image is decoded and traced in your browser — the tracer library is fetched on demand and runs in a Web Worker on your machine. Nothing you drop or paste here leaves your computer.

Notes

  • Images longer than 800px on a side are traced at a downscaled working size — tracing cost grows with area, and finer input mostly produces heavier paths, not better shapes. The downloaded SVG keeps the original width and height; the Traced at row shows the working size.
  • Tracing suits flat artwork: logos, icons, screenshots of diagrams. Photographs come out as posterised colour fields many times the size of the JPEG.
  • Black & white mode is the one to use for cutting machines and stencils: one threshold, one colour, and with Remove background on, only the shapes remain.
  • The traced file is a fresh start — no layers or object names survive from whatever produced the raster.

Related tools