Image to SVG · PNG · JPG · WebP

Image to
SVG Converter

Image to SVG conversion turns a raster file into editable vector code. Unlimited SVG redraws PNG, JPG and WebP inputs stroke by stroke as structured paths, keeping text and layers intact. The converter on this page runs it for you — nothing to install.

  • PNG · JPG · WebP
  • 2048² input
  • structured paths
  • text & layers
  • MIT license
input.png → output.svgphoto · 2048 × 2048
Landscape photograph on the left and the same scene redrawn as an editable SVG with its SVG source code on the right
image → svgpaths · text · layers

00 Converter

Convert your image online.

Drop a PNG, JPG or WebP into the converter and download the SVG it produces. Image to SVG conversion runs on Hugging Face, so there is nothing to install or set up.

01 What it means

Pixels in, paths out.

Image to SVG conversion turns a raster image — a PNG, JPG or WebP made of pixels — into a vector file that describes shapes as paths, text and coordinates. Instead of a fixed grid of dots, an SVG scales to any size without losing quality.

Traditional tracers approximate colour regions mechanically. The model works more like an illustrator: it looks at the whole canvas, then draws it one stroke at a time. Charts keep their axes, floor plans keep their walls, and labels stay as editable text.

The model was released open source on December 1, 2026. Image to SVG conversion on this page runs it for you on Hugging Face — no GPU or setup needed.

Conversion
Image to SVG, any raster input
Input
PNG · JPG · WebP
Output
SVG — paths, shapes, text
Input resolution
2048 × 2048
Method
Neural tracing, stroke by stroke
Model
Unlimited SVG · ~0.5B active
License
MIT
Runs
Hosted demo or local GPU

02 Ways to convert

How to get the best result.

Converter on this page

Scroll up, drop in an image and download the SVG. Nothing to install — the quickest way to see image to SVG conversion in action.

Batch and repeat

Need several variants? Run image to SVG conversion again with a different temperature setting — 0–0.3 keeps geometry exact, 0.5–0.8 loosens strokes for photos.

Classic auto-trace

Potrace-style tracers only outline flat shapes. Fine for simple logos, but they lose text and fall apart on dense or photographic images — where image to SVG conversion with a model shines.

03 How to convert

Three steps in an image to SVG conversion.

  1. 1

    Prepare the image

    Export a sharp PNG — JPG and WebP work too. 2048 × 2048 is the model's native input, and flat colours with clean edges give image to SVG conversion the least to guess at.

  2. 2

    Generate the SVG

    Upload in the converter above and wait a few seconds for the model to trace the image. This image to SVG step is where temperature matters: 0–0.3 for diagrams and charts, 0.5–0.8 for photos.

  3. 3

    Clean up and use

    Open the result in Figma, Illustrator, Inkscape or a code editor. Remove stray paths, recolour groups, then inline it in HTML or ship it as an asset — the last mile of every image to SVG job.

04 Formats

PNG, JPG or WebP — which one?

PNG to SVG

The ideal input. PNG supports transparency and renders flat, crisp shapes, so a PNG to SVG conversion keeps edges clean and file sizes small. Logos, icons, UI elements and line drawings all make excellent candidates.

JPG to SVG

JPG compression adds noise around edges, but a JPG to SVG conversion still works well. Use the highest-quality file you have, or export a PNG first — every image to SVG job gets easier from a clean source.

WebP to SVG

WebP combines small size with good quality and is fully supported. Convert WebP to SVG the same way — feed it to the model and take the SVG out.

05 Compared

Why image to SVG instead of PNG or JPG?

FormatScales to any sizeEditable shapes & textTypical sizeBest for
PNGNo — blurs when upscaledNoLarger for flat graphicsScreenshots, UI, transparency
JPGNo — blurs when upscaledNoMediumPhotographs
SVGYes — sharp at any resolutionYes — paths, text, layersTiny for flat graphicsLogos, icons, diagrams, charts

06 FAQ

Image to SVG questions.

How do I convert an image to SVG?

Open the image to SVG converter on this page, drop in a PNG, JPG or WebP image and download the SVG it produces. If you have a BF16-capable NVIDIA GPU, clone baidu/Unlimited-SVG and run the same model locally in a few lines.

Which image format gives the cleanest SVG?

PNG. It keeps sharp edges and flat colours, which is exactly what a vector tracer wants. Logos, icons, diagrams and UI screenshots convert almost perfectly; JPG and WebP work too but carry compression noise around edges.

Can a photo be converted to SVG?

Yes. Image to SVG conversion redraws photographs stroke by stroke, so the result is an illustrated vector rather than a pixel grid. Use a higher sampling temperature (0.5–0.8) for natural scenes to avoid repetitive strokes; expect a stylised look rather than a photorealistic one.

Does the output keep text and layers editable?

Yes. Image to SVG output is emitted in drawing order — paths, shapes, text and coordinates — so labels stay as text and regions stay as separate objects you can recolour or animate in Figma, Illustrator or a code editor.

Is image to SVG conversion free?

Yes. The model is open source under the MIT license and the image to SVG converter on this page is open to everyone.

How is this different from a traditional tracer like Potrace?

Classic tracers outline colour regions mechanically. Image to SVG conversion with this model understands the picture — charts keep their axes, plans keep their walls, text stays text — which makes it far more robust on dense or complex images.

Vectorize something.

Drop an image into the converter on this page and download the SVG — image to SVG conversion with nothing to install.