SVG to Code
Menu

Input

JPG and JPEG images are supported. Clean graphics and simple subjects usually trace cleaner than highly detailed photos — reduce noise first, then simplify. No transparency on typical JPGs.

Drop a JPG or JPEG here, or click to upload

Tracing settings

Preset
Output style
Color mode
Noise reduction

JPG compression adds speckle. Clean noise before tracing for simpler paths.

Preview
100%

Load a JPG or JPEG image to preview the traced SVG.

Download SVG

JPEG → vector

Convert JPG to SVG

Upload a JPG image, convert it to scalable SVG, tweak the tracing settings, and download the vector result in seconds.

Works with JPG / JPEG photos and compressed graphics. Best results depend on image simplicity — clean graphics convert better than complex photos. This flow assumes opaque images (no transparency) and encourages noise cleanup before tracing.

How it works

  1. 01

    Upload JPG

    Drag and drop a .jpg or .jpeg file, pick from disk, paste from the clipboard, or load the built-in white-background example.

  2. 02

    Adjust tracing settings

    Start with the Photo preset for JPEG-style photos, clean noise, then tune output style, color vs black and white, and advanced thresholds until the preview matches your intent.

  3. 03

    Download SVG

    Export real SVG markup, copy the source, or open it in SVG to Code for inspection and cleanup.

Best for

JPG and JPEG files are common for photos, scans, screenshots, and compressed marketing art. Tracing turns them into scalable SVG drafts — set expectations before exporting huge path counts.

  • Logos on white backgrounds
  • Signatures and stamps
  • Scanned line art and documents
  • Poster-like artwork
  • Icons saved as JPG

Less ideal for

Vector output is still an approximation of pixels. When the source is already difficult for humans to interpret, the SVG will inherit that complexity.

  • Highly detailed photos with fine texture
  • Very noisy or extremely compressed shots
  • Blurry camera captures without enough contrast

FAQ

Can I convert a JPG to SVG online?

Yes. Upload a .jpg or .jpeg file, preview the traced SVG, tune presets like Photo or Poster, then download — tracing runs locally in your browser with the VTracer WebAssembly engine.

Does this work with JPEG files too?

Yes. JPEG and JPG are the same raster family here. Use the dedicated JPEG page if you landed on that keyword, or stay on this JPG workflow — both accept standard JPEG uploads.

Are photos converted into real vector SVG?

You get real SVG markup (paths and groups), but tracing approximates pixels — it is not magic vectorization of every camera detail. Simple subjects, logos on white, and posters usually look best.

Why does a complex photo create many paths?

Detailed photos contain lots of color steps and compression noise. The tracer follows that complexity. Raise noise reduction, simplify colors, or switch presets toward Poster or B&W before expecting smaller files.

What settings work best for logos or signatures?

Try Poster for flat logos on white, B&W for signatures and stamps, and Photo for softer photographic art. Use spline output for smooth curves, and increase noise reduction when JPEG artifacts appear.

Can I reduce noise before exporting the SVG?

Yes. Use the Noise reduction control (maps to speckle filtering) to clean small JPEG blocks before tracing, then re-run the trace. Combine that with color vs black-and-white mode for simpler output.

How-to guides

Step-by-step help for common SVG workflows. Each guide includes the matching tool so you can try it immediately.