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
2Adjust the result
Start from
Style
More options
3Preview and download
More detailsColor layers, size history, SVG code
Color layers
Hover to isolate · click to hideLive size trace
SVG size per adjustmentSVG 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.
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 · getImageDataCalm 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- #2b1b5e#e2506a#ffb35c#fff6c4#ffd27a#3a2260
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 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
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.
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.
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.
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.
OriginalSVGDownload 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.
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
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 content | Colors | Detail | Smoothness | Denoise | Remove specks | Result |
|---|---|---|---|---|---|---|
| Flat logo saved as JPG | 4–8 | 70% | 25–30% | 1 px | 20 px² | Crisp shapes |
| Cartoon or illustration | 12–20 | 75% | 45% | 0.5–1 px | 12 px² | Clean layers |
| Screenshot or diagram | 6–12 | 80% | 15–25% | 0.5 px | 8 px² | Sharp edges |
| Photograph | 24–48 | 55–70% | 50–60% | 1 px | 16–24 px² | Posterized art |
| Heavily compressed JPG | 8–16 | 60% | 60% | 2 px | 30 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.
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.
No converter matches that search. Try “SVG”, “logo” or “PNG”.