DocBengal

Image to SVG

Trace images into real vector SVG paths — color or black & white.

What this tool does

Image to SVG traces raster images into genuine vector paths (real SVG <path> elements — not a bitmap wrapped in an SVG file).

Color tracing quantises the image into a set of flat-colored vector shapes; black-and-white tracing produces a clean 1-2 color silhouette, ideal for logos and signatures.

Adjust the color count, detail (curve fitting), shape merging and corner rounding to balance fidelity against file size.

The tracer (ImageTracer) is public-domain (Unlicense) software running locally in your browser — the image never leaves your device.

The generated SVG is rebuilt through a strict sanitizer before preview or download, so it contains only plain vector paths.

How to use it

  1. Pick a JPG, PNG, WebP or BMP image. Logos, icons and line art trace best; photos produce many paths.
  2. Choose Color trace or Black & white trace.
  3. Tune the options: colors (3–64), detail, shape merging and corner smoothing. A live preview updates when you press Trace.
  4. Download the SVG or copy the SVG markup to the clipboard.

Supported formats

  • JPG
  • PNG
  • WebP
  • BMP

Limitations

  • This is a geometric tracer: photographs produce many small paths (large SVG files). Flat-color art (logos, icons, line art) gives the cleanest results.
  • No AI up-scaling or cleanup is applied — very small or blurry sources produce noisy paths.
  • Very large images are scaled down before tracing to keep the browser responsive.

Frequently asked questions

Is the SVG a real vector file?

Yes — the tracer produces actual SVG path geometry (bezier curves and shapes), which scales without pixelation. It is not a raster image wrapped in an .svg extension.

Is the output safe to embed on a website?

The SVG is passed through a sanitizer that keeps only plain <path> elements with color attributes — no scripts, no event handlers, no external references.

Which images work best?

Flat-color art: logos, icons, signatures, line drawings. Photographs can be traced but produce heavy files; use the black-and-white mode to simplify them.

Is my image uploaded anywhere?

No. Tracing runs entirely in your browser.

Files are processed in your browser — nothing is uploaded.

Back to all tools