Advertisement

JPG to SVG Converter

Trace a JPG logo, signature or sketch into a real vector SVG: black-and-white line art or 2–16 colours, with JPEG noise removal. No upload.

Logos, signatures, icons and drawings trace best. Photos become posterised art.
Pixels darker than this become ink. Raise it to keep faint strokes; 0 = choose automatically.

A JPG is a grid of pixels; an SVG describes shapes, so it scales to any size without blurring. Converting one to the other means tracing: finding the outlines of areas of similar colour and turning them into smooth vector paths. This works very well for logos, signatures, stamps, icons and pencil sketches, and gives a stylised, poster-like result for photos. Tracing runs entirely in your browser — files never leave your device.

How to use this tool

  1. Choose a JPG (PNG and WebP also work).
  2. Use Black & white for line art and set the threshold; use Colour for logos with a few flat colours.
  3. Adjust detail and smoothing if edges look too blocky or too rounded.
  4. Download the .svg and open it in a browser, Inkscape, Illustrator or Figma.

Formula

denoise (3 × 3 median) → classify pixels (threshold, or k-means colours) → follow pixel boundaries → Douglas–Peucker simplification → quadratic Bézier curves, keeping corners sharper than the smoothing angle.

JPEG compression leaves faint blocks and halos around edges. Without a clean-up pass these become hundreds of tiny specks in the SVG; the median filter removes them while keeping edges crisp. In colour mode the layers are stacked from lightest to darkest so no hairline gaps appear between neighbouring shapes.

Example

A 1200 × 800 photo of a signature on white paper, black & white mode, threshold 128, medium detail: the image is traced at 1000 × 667 px, the paper becomes transparent and the ink turns into a few dozen filled paths — typically a 10–40 KB SVG that stays sharp when printed large.

Frequently asked questions

Will a photo look the same as SVG?

No. Tracing reduces a photo to flat colour areas, like a screen print. Real photos are better kept as JPG; SVG is for graphics with clear shapes.

Parts of my signature disappeared — what do I change?

Raise the threshold so lighter strokes count as ink, or choose High detail. If the paper turns grey and blotchy, lower the threshold instead.

Can I edit the result?

Yes. Each colour is one path you can recolour, move or edit node by node in any vector editor.

Last updated: 2026-10-30

Advertisement