JPG to SVG - And Why Your Photo Should Stay a JPG
Almost everything arriving on this page is a photograph, and tracing a photograph does not work. That is worth saying first rather than after you have waited. Tracing rebuilds an image out of flat regions of colour, which suits a logo made of flat regions and completely fails a photograph made of millions of smooth gradations. We measured it: a 14.1 KB photo traced to a 151.5 KB SVG built from 607 paths - over ten times the size, and visibly blotchy next to the original. This tool will still do it, and it counts the colours in your image first and warns you when the answer is going to disappoint. Where JPG to SVG genuinely earns its place is scanned line art, a signature, a logo someone sent you as a JPEG, or anything flat that has to drive a cutting machine.
How to use this tool
Drop in your JPG
Drag a file onto the box above or click to browse, up to 20 MB. The file is checked by its contents, and anything longer than 4000 pixels on a side is scaled down before tracing since the extra pixels cost time without adding fidelity.
Read the colour warning
After the first trace, the panel reports whether your image has photographic colour variety. If it says so, believe it - that is measured from the file, and it means the output will be large and approximate no matter which settings you pick.
Start with very few colours
For a scanned signature or line art, two colours is usually right and gives the smallest, cleanest result. Raise the count only while the preview visibly improves. On JPEGs specifically, a low count also hides compression artefacts rather than tracing around them.
Raise the minimum area for JPEG noise
JPEG compression leaves faint blocky artefacts that a tracer will faithfully outline as tiny specks. Pushing the minimum area up to 16 or 32 pixels discards those, which usually cuts the path count sharply with no visible loss.
Check the size comparison, then copy or download
Under the preview the panel compares the SVG against your original and says plainly which is larger. If the SVG is several times bigger and does not look better, that is your answer - keep the JPEG.
Frequently Asked Questions
Can I convert a photo to SVG?
You can run it, but you will not like the result. Tracing approximates an image with flat shapes, and a photograph is nothing but smooth gradations. Our test photo came out 10.7 times larger than the JPEG and visibly blotchy. If you need a scalable photo, the honest answer is that no format offers one.
How does the tool know my image is a photograph?
It counts distinct colours. The separation is stark: our black logo had 244 distinct colours and a flat illustration 150, while the photograph had 59,629. Anything in the tens of thousands is a photograph in all but name, and the panel says so rather than letting you find out after the wait.
What does JPG to SVG actually work well for?
Flat artwork that happens to have been saved as a JPEG. Scanned line drawings, signatures, stamps, a logo a client emailed you, artwork for vinyl cutting or laser engraving. If it is mostly a few solid colours with defined edges, it traces cleanly regardless of the container it arrived in.
Why does my traced signature have hundreds of tiny specks?
JPEG compression artefacts. The format stores approximations of blocks of pixels, which leaves faint blotches in what looks like plain white paper, and the tracer outlines every one. Raise the minimum area to 16 or 32 pixels and drop the colour count to two, and they disappear.
Should I clean up the JPEG before tracing?
It helps a great deal for scans. Increase the contrast so the ink is properly black and the paper properly white before you trace, and the tracer has a much easier job - fewer intermediate greys means fewer regions, fewer paths, and a smaller, cleaner SVG.
How long does tracing take?
A second or two for a typical image, longer for something large and detailed. It runs in a Web Worker, so the page stays responsive throughout and the progress bar advances as each colour layer finishes. Cancel genuinely stops the work rather than leaving it running out of sight.
Why is the output bigger than my JPEG?
JPEG is extremely good at exactly the thing SVG is bad at. It stores smooth colour variation cheaply by discarding detail nobody sees, while an SVG must write out coordinates for the boundary of every region. The more varied the image, the more boundaries there are, and the worse that trade becomes.
Can I edit the result in Illustrator or Inkscape?
Yes - the output is ordinary SVG paths with flat fills, which both open and edit natively. That is often the real reason to trace: getting a rough vector starting point you then clean up by hand, rather than expecting a finished file straight out of any automatic tracer.
Is my photo uploaded anywhere?
No. Decoding and tracing both happen in your browser, in a background thread, so the image never leaves your device and is never stored. That matters more than usual here, because the things people trace tend to be scanned documents and signatures.
What is the difference between this and the PNG version?
Only the input format the page accepts; the tracing is identical. The distinction worth making is that a JPEG carries compression artefacts a PNG usually does not, so JPEG sources benefit more from a higher minimum-area setting to discard the specks those artefacts create.
You might also need
Something not working? Report a bug