Skip to content
Server-sideDeleted in 30 minutes

Convert JPG to SVG

Convert a JPG into an SVG made from paths rather than hiding the JPG inside a file with a different extension. The result can be useful for a high-contrast mark, signature, stamp, or pen drawing. It cannot recover clean vector geometry from a photograph, because the pixels never contained that geometry to begin with.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free
JPGSVG

Drop your JPG file here, or click to browse

Up to 50 MB. Deleted automatically after 30 minutes.

What it does

  • SVG path output rather than an embedded JPG
  • Suitable for simple logos and monochrome artwork
  • Server-side tracing with a clear limitation
  • Largest useful shapes remain scalable

How to use JPG to SVG

  1. 1

    Choose a simple JPG

    Use a sharp, high-contrast image with a plain background when possible. A logo, ink signature, stamp, or line drawing gives the tracer a boundary it can actually identify.

  2. 2

    Upload and convert

    Drop the JPG into the converter and leave SVG selected. The server prepares a thresholded bitmap, follows its connected regions, and writes vector paths.

  3. 3

    Inspect the paths

    Open the SVG at a large size before sending it to print or a design tool. Clean curves indicate a good trace; islands, holes, and jagged fragments mean the source needs cleanup or a manual redraw.

How it works

The server first asks ImageMagick to turn the JPG into a two-tone bitmap. It removes the alpha concept, applies a midpoint threshold, and writes a temporary PBM file. A PBM is intentionally plain: each location is either foreground or background. That deliberate loss of color and tone is what gives the tracing engine a boundary to follow, but it is also the reason the source should be simple before you upload it.

Potrace then examines connected black regions and replaces their pixel outlines with smooth Bezier curves. The final file contains SVG path elements, so a browser or vector editor can render the shapes at a different size without enlarging the original JPG. The process is not machine learning and does not search for a logo in the image. It follows the binary image produced by the threshold.

What JPG tracing is good for

A lost logo is the most sensible use. If the only surviving copy is a small JPG with a plain background, tracing can recover a usable outline quickly enough to guide a designer or serve a modest production need. Scanned signatures, rubber stamps, single-color labels, and pen drawings have a similar advantage: their important information is concentrated in dark strokes and the empty space around them.

Hard edges help too. A clean black icon on white gives the cutoff an obvious answer, while a gray mark on a gray background does not. Removing the background before conversion, increasing contrast, and saving a cleaner source can improve the input, but those edits belong before tracing. The converter does not perform subject selection, color separation, or artistic cleanup for you.

Honest tracing limitations

This tool does not preserve JPG color, EXIF metadata, gradients, photographic texture, or the exact anti-aliased edge. It also does not preserve an original font as text, and it cannot know whether a dark patch was a hole, a shadow, or a separate object. Compression blocks can become little loops in the output. A transparent background is not something a JPG can provide in the first place.

If the output is intended for a brand mark, inspect it at the final print size and expect to simplify some nodes. For a photograph, the honest recommendation is to keep the JPG or commission a redraw rather than claim that a thresholded silhouette is an accurate vector version.

Examples

A scanned black signature

approval-signature.jpg — 900 x 260, dark ink on a white scan
approval-signature.svg — scalable paths, no embedded JPG

This is a strong tracing candidate because the meaningful information is the ink boundary. A little paper texture may add small islands, but the main strokes can be enlarged for a form, letterhead, or presentation without the familiar blocky pixels of the scan.

A phone photograph of a product

red-mug.jpg — 2400 x 1800, shaded product photo
red-mug.svg — thresholded silhouette with many irregular paths

The file is technically an SVG, but it is not an editable product model. The brightness cutoff turns highlights, reflections, and the background into hard decisions, so the output can be larger and less recognizable than the source.

Frequently asked questions

Does this make a JPG into a real vector file?

It produces a real SVG containing path instructions, not a JPG wrapped in an SVG image tag. That distinction matters because paths can scale without the bitmap becoming soft. Real paths do not mean the original design has been recovered, though. The curves describe the thresholded pixels the tracer saw, including noise and compression damage, so a poor source still creates poor geometry in a formally valid SVG.

Why does my photograph turn into a strange black silhouette?

The tracing route makes a brightness decision for every part of the image and then follows the boundary between the two resulting regions. A photograph has gradual shading, reflections, texture, and many colors rather than a small set of deliberate shapes. Those details are forced into black or white fragments, so the successful conversion can still be visually useless. A photo needs a separate illustration, segmentation, or manual redraw workflow.

Can I edit the JPG-to-SVG result in Inkscape?

Yes. Inkscape, Illustrator, and other vector editors can open and modify the paths. Editing is practical when the input was a clean emblem or signature and the output has a handful of large regions. It becomes tedious when JPG noise, anti-aliasing, or a textured background creates hundreds or thousands of tiny contours. In that case, use the trace as a starting reference and redraw the important curves instead of polishing every artifact.