This JPG to SVG converter traces a JPG image into a scalable vector graphic: it groups the picture into a few flat colours and redraws each area as smooth vector shapes, so the result stays crisp at any size. Choose a JPG, pick how much detail you want, and the JPG to SVG converter gives you an .svg file to download. It works best on logos, icons, drawings, signatures and simple graphics, and runs entirely in your browser.
How to use the JPG to SVG converter
- Choose JPG images or drop them on the box. You can convert up to 30 at once.
- Pick the detail level: Simple uses 4 colours, Medium 8 and Detailed 16.
- Download each SVG, or all of them in one .zip file.
- Change the detail and the images are traced again.
What an SVG is
Scalable Vector Graphics (SVG) is an XML-based format for two-dimensional graphics, an open standard developed by the World Wide Web Consortium since 1999. An SVG describes shapes, lines and colours as text instead of storing a grid of pixels, so it can be scaled to any size without losing quality. SVG files can be searched, indexed and compressed, edited in a text editor or a vector graphics program, and they display in almost every web browser.
JPG versus SVG
| JPG | SVG | |
|---|---|---|
| Made of | Pixels | Shapes described in XML |
| Enlarging | Becomes blurry or blocky | Stays sharp at any size |
| Best for | Photographs | Logos, icons, drawings, charts |
| Editing | Photo editors | Vector editors or a text editor |
How tracing works
Turning a raster picture into vectors is called image tracing, raster-to-vector conversion or vectorization: the reverse of rasterization. A JPG has no structure of its own; it's just a grid of coloured pixels, and if you magnify it enough the pixels show and sharp edges turn jagged. Tracing rebuilds the edges and filled areas as mathematical curves that can be magnified as far as you like. Because it reconstructs information the pixels don't hold, it relies on rules of thumb rather than an exact method, so the result is an interpretation of the original. This tool uses imagetracerjs, a public-domain tracer: it reduces the image to a small set of colours, finds the edges of each colour area and fits lines and curves along them.
Choosing the detail level
- Simple (4 colours): best for black-and-white logos, signatures, line art and stamps. Smallest files and cleanest edges.
- Medium (8 colours): a good default for coloured logos, icons and flat illustrations.
- Detailed (16 colours): keeps more shading in illustrations and screenshots, with larger files.
Tiny specks are left out at each level so the file doesn't fill up with noise. Large images are scaled to 1,000 pixels on their longest side before tracing, which keeps the conversion quick; because the result is a vector, you can then display it at any size.
Which images work well
Images made from geometric shapes or simple curves, such as maps, cartoons, logos, clip art and technical drawings, trace well, because they could have been drawn as vectors to begin with. Continuous-tone photographs, such as portraits, are not good candidates: tracing turns smooth shading into flat bands of colour, and the SVG can end up larger than the original JPG. For a photo, keep the JPG or convert it to PNG instead.
Using your SVG
Because an SVG is a text file, you can open it in a code editor and see the shapes: each colour area becomes a path element with its fill colour and a list of coordinates. On a website you can use it like any other image, and it will stay sharp on high-resolution screens and when people zoom in. In a vector graphics program you can select individual shapes, change their colours, delete the background or merge pieces together. If you plan to print the design large, on a banner or a T-shirt, the SVG scales without the blur you'd get from stretching the original JPG.
Worked example
Say you have a company logo as a 2,400 × 1,200 pixel JPG and need it as an SVG for a website header. Choose the file and pick Medium detail. The tool scales the picture to 1,000 × 500 pixels, reduces it to eight colours, traces each colour area and gives you logo.svg. Open it in your browser and zoom in: the edges stay smooth at every size. If the letters look lumpy, try Detailed; if stray specks appear, try Simple.
Common mistakes
- Tracing photographs. They turn into blotchy, poster-like images.
- Using a tiny, blurry JPG. Trace the largest, sharpest copy you have.
- Expecting editable text. Letters become shapes, not text you can retype.
- Ignoring JPG artefacts. Heavy compression adds noise around edges; a cleaner source gives a cleaner SVG.
Tips
- Crop the image to just the logo or drawing before tracing.
- Use Simple for one-colour artwork such as signatures and stamps.
- Open the SVG in a vector editor to tidy shapes or change colours.
What next
Use this often? Add JPG to SVG to your Home screen.
Frequently asked questions
Can I convert a JPG to SVG for free?
Yes. Choose your JPG, pick a detail level and download the SVG. Everything runs in your browser, so nothing is uploaded.
Does the JPG to SVG converter work on photos?
It will trace them, but photographs aren't good candidates: smooth shading becomes flat bands of colour. It works best on logos, icons and drawings.
Which detail level should I choose?
Simple (4 colours) for black-and-white logos and line art, Medium (8 colours) for most coloured logos, Detailed (16 colours) for more complex illustrations.
Will the text in my image stay editable?
No. Tracing turns letters into shapes. To edit text, retype it in a vector editor.
Is the SVG really scalable?
Yes. The shapes are stored as curves, so the SVG stays sharp however much you enlarge it.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.