跳到主要内容

JPG to SVG

Trace a JPG into SVG. Defaults denoise more aggressively, to calm JPEG blocks and speckle. Best for logos and flat graphics, not photos.

For both directions, use the SVG converter. To keep transparency, use PNG to SVG. Then edit the SVG, or use the image converter for other bitmaps.

Preset

Color

Color count: 8

Detail

One image at a time, up to 8 MB. The long edge is scaled to 1024 pixels or less before tracing, and transparency is kept. This version has no photo preset. Text becomes paths.

What JPG to SVG is for

JPEG squeezes smooth color into blocks. On a logo or a flat graphic those blocks turn into a ring of tiny paths. This page uses the same tracer as PNG to SVG, but it opens with stronger denoising: fewer colors and a higher speckle filter. It is meant for logos and icons with clear color areas. Photo gradients are outside this version.

Tracing stays in the browser. The image is not uploaded.

Which files

.jpg and .jpeg come first. PNG and WebP can be traced too. One image at a time, up to 8 MB. A long edge above 1024 pixels is scaled down before tracing so the path file stays smaller.

JPEG has no alpha channel. For a transparent logo, use PNG to SVG. The lossy compression is defined in ITU-T T.81, hosted by the W3C.

How the result is shown

The preview loads the cleaned SVG from a blob URL in an image element. MDN's img element reference describes that mode: scripts inside an SVG used as an image do not run. Lettering becomes paths, so the font cannot be changed afterward.

To reshape the result, use the SVG editor. Tracing uses VTracer. If that tracer does not start, a compatibility tracer runs instead and the paths are rougher.

References