JPG to SVG Converter: Turn Any JPG into Clean, Scalable Vectors

Re-draw a JPG as vector shapes. Compression noise is smoothed first, and everything runs privately in your browser.

JPG to SVG Converter tool

1Add your image

Drop your JPG here, or click to browse You can also paste with Ctrl+V. Nothing is uploaded.
No file?

2Adjust the result

Start from

Style

More options

3Preview and download

Live preview
Loading…
Original · JPG Vector · SVG
Drag the handle to compare · scroll to zoom
100%
Drop image to convertPNG, JPG, WebP, GIF
SVG file size
–
 
PNG
SVG
Colors
–
Time
–ms
 
More detailsColor layers, size history, SVG code
Shapes
–
closed outlines
Nodes
–
path points
Decode–
Quantize–
Trace–
Simplify–
Render–

Color layers

Hover to isolate · click to hide

Live size trace

SVG size per adjustment
SVG sizeOriginal PNG

SVG source

–

              

Under the hood

How JPG to SVG Converter works

A JPG to SVG converter re-draws a JPEG image as vector shapes. JPEGs carry compression noise around every edge, so this converter cleans that noise first and only then traces clean, scalable outlines.

  1. Decode the JPEG

    Your browser decodes the JPG into pixels. JPEG has no transparency, so every pixel is opaque and the whole canvas becomes part of the trace.

    Canvas · getImageData
  2. Calm the compression noise

    JPEG saves space by blurring detail into 8×8 blocks, which leaves halos and ringing near edges. Denoise and edge-pixel snapping merge those stray in-between colors back into the shapes they belong to.

    Denoise blur · edge snapping
  3. Pick the colors

    A palette of up to 64 colors is chosen. Photo mode starts at 24 colors, enough to keep soft shading as bands without creating hundreds of layers.

    Median cut · k-means
  4. Trace, fit and render

    Each color becomes a stacked layer, its sub-pixel outline is fitted with Bézier curves, and the layers are written as a compact SVG.

    Marching squares · Bézier fit
The four stages of the JPG to SVG Converter, from your input to the finished file.

What is different about a JPG

Always opaque
There is no alpha channel, so a white or colored background is traced like any other shape. Turn on Remove background to clear a white backdrop.
Noise around edges
Lower-quality JPGs trace worse because ringing creates extra tiny shapes. Raise Remove specks or Denoise to absorb them.
Gradients become bands
Smooth skies and skin tones turn into stacked color steps. More colors give finer steps and a larger file.

Step by step

JPG to SVG Converter process

Converting a JPG to SVG takes four steps. The key choice is whether your JPG is flat artwork or a photograph, because that decides how many colors you need.

  1. Add your JPG

    Drop the file, pick it with “Choose image”, or paste it. The sample is a deliberately compressed JPEG so you can see the clean-up at work.

    Tip: A JPG saved at high quality traces best.

    Drop JPG
  2. Choose flat or photo settings

    Logos and icons saved as JPG need 4–8 colors. Photographs and scenes start at 24 colors and go up from there.

    Tip: Use the Logo preset for flat art, Photo for pictures.

    ColorsDetailSmoothness
  3. Reduce the noise

    Increase Denoise to 1–2 px and Remove specks to 15–30 px² until stray flecks disappear while real details stay.

    Tip: Compare with the split handle at 400% zoom.

  4. Download the SVG

    Save the SVG or copy its code. Flat artwork usually ends up far smaller than the JPG; photographs may not.

    Tip: Check the size tile before you download.

    Download SVGjpg-to-svg.svg

Use the JPG to SVG Converter

Reference

JPG to SVG Converter settings / conversion chart

The table lists starting values by what your JPG contains. The chart shows why the original JPEG quality matters so much for the trace.

Trace quality by original JPEG quality

Trace quality by original JPEG qualityQuality 90–100: 5/5; Quality 70–89: 4/5; Quality 40–69: 3/5; Below 40: 2/5.Quality 90–1005/5Quality 70–894/5Quality 40–693/5Below 402/5
Guide, 1 (poor) to 5 (excellent): less compression noise gives a cleaner trace.

At a glance

  • Converts best: Quality 90–100.
  • Needs the most care: Below 40.

Guide, 1 (poor) to 5 (excellent): less compression noise gives a cleaner trace.

JPG to SVG Converter settings by JPG content
JPG contentColorsDetailSmoothnessDenoiseRemove specksResult
Flat logo saved as JPG4–870%25–30%1 px20 px²Crisp shapes
Cartoon or illustration12–2075%45%0.5–1 px12 px²Clean layers
Screenshot or diagram6–1280%15–25%0.5 px8 px²Sharp edges
Photograph24–4855–70%50–60%1 px16–24 px²Posterized art
Heavily compressed JPG8–1660%60%2 px30 px²Simplified shapes

Answers

JPG to SVG Converter FAQ

Questions people ask about the JPG to SVG Converter, answered for this specific use case.

Why does my JPG have a white box around it in the SVG?

JPG cannot store transparency, so the white background is part of the picture and is traced as a shape. Switch on Remove background to clear a plain white backdrop, or use Mono mode to keep only dark ink.

Why do I see tiny blobs or speckles after converting?

They are JPEG compression artifacts. Raise Remove specks, add 1–2 px of Denoise, or lower the color count so near-identical shades merge into one layer.

Is a JPG or a PNG better as the source?

A PNG is better because it is lossless. If you only have a JPG, use the highest-quality copy available. See the main PNG to SVG Converter for lossless sources.

Can I convert a photo JPG into a realistic SVG?

Not realistically. Vectors store flat color regions, so photographs become posterized artwork. Use 32–48 colors for more detail, or try the Photo to Vector Converter.

Will the SVG be smaller than my JPG?

For logos, icons and flat illustrations, usually yes. For photographs, often not, because many shapes are needed to approximate gradients. The size tile shows the exact result before you download.

Ready to try it?

Your result is one drop away.

Open the JPG to SVG Converter

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.