How to convert JPG to SVG
To convert JPG to SVG, drop your logo, scan or signature here: the tracer turns it into clean shapes and removes the plain background for you.
- Press Choose files or drop up to 50 images. PNG, WebP and HEIC files work too.
- Keep Illustration, which uses up to 16 colours and smooths JPEG noise, or tap Line art for ink on paper.
- Read the line under the stats. It names the colour that was removed, for example “Background removed: ■ #F4F1EA.”
- Drag Overlay and zoom to 200% to check the edges against your original.
- Press Download SVG or Copy SVG code. For several files, Download all (ZIP) saves them as one archive.
Colours come from the most common shades in your image, so a small red or blue accent in a logo survives instead of being lost in the noise.
JPG vs SVG: what changes, and the file size
A JPG stores a compressed grid of pixels and has no transparency. An SVG stores shapes as text, so it can be scaled to any size and can have a see-through background. MDN’s guide to image types explains both formats in depth.
Changing the file ending from .jpg to .svg converts nothing. Tracing is the step that actually creates shapes.
File size can go either way. A simple two-colour logo usually becomes a small SVG, because it needs only a few shapes. A detailed photo traced at many colours can produce thousands of paths and a bigger file than the JPG you started with.
What tracing can and can’t do with photos
Tracing describes an image as flat areas of colour. Photos are made of gentle shading, so skin, skies and shadows turn into bands, and faces can look blotchy. When you add a photo, the page says so: “This looks like a photo. Tracing turns shading into flat bands of colour, so expect poster-style art — Posterized photo gets closest.”
Pressing Use Posterized photo switches to 12 colours with stronger speck removal and turns Remove background off, because the edge of a photo (a sky, a wall) is part of the picture. You can raise Colours up to 32 for more detail.
If you want the photo to stay realistic and just need a smaller file, compress the JPG instead. AI vectorizers can also redraw complex artwork more cleanly than this kind of tracing.
Line art: turn a scanned drawing or signature into a clean vector
When a picture shows one dark ink on light paper, the page suggests: “Looks like a signature or drawing in one ink colour. Line art gives one clean black layer.” Press Use Line art to apply it.
Line art finds the dividing point between ink and paper automatically. Everything darker becomes one black shape; the paper disappears and leaves a transparent background. For a clean result:
- Photograph the page straight on, in even daylight, without your phone’s shadow on it.
- Crop to the ink before you start.
- Faint ruled lines usually drop out, but dark grid lines stay.
- If shadows turn black, try Illustration with 3 or 4 colours instead.
White lines on a dark background also work: the dark background is dropped and the white shapes remain. The result is filled outlines, not single centre lines. For tips on preparing shapes for cutting machines and engravers, see PNG to SVG. Your signature never leaves your device.
Removing the background colour
Remove background is on by default on this page. It looks at the edge of the image, and a colour covering at least a fifth of that edge is removed and named. If no colour is dominant, you’ll read “No plain background found to remove — the edges of the image have several colours.”
Switch it off when your artwork touches the edge, for example a logo cut off by the border, or for photos. An image of one single colour gives “Nothing to trace — the image is a single colour.”
Only need transparency, not vectors? JPG to PNG can make a plain background transparent and keeps the pixels as they are.
Why JPEG noise matters and how we smooth it
JPEG compression saves space by approximating small blocks of pixels. Around sharp edges this leaves faint blocks and halos. A tracer sees every one of them as a tiny shape or an extra colour, so a crisp logo can come out speckled.
Illustration blurs the image very slightly before grouping colours, and Posterized photo blurs a little more. Remove speckles (Off, 8, 16 or 32 px; 8 by default) then clears what’s left. The best fix is still a good source: use the largest, least compressed version of the image you can find, not a screenshot of a screenshot.
How it works
This JPG to SVG converter runs in your browser. It turns phone photos upright, scales the picture to the Trace size (a 4032 × 3024 photo becomes 1024 × 768 at the default), smooths it, groups the colours, follows each edge and drops the background. The tracing engine is the public-domain imagetracerjs.
The SVG is built from pixels alone, so GPS location and camera details from your JPG never reach it. Nothing is uploaded, and the page works offline after your first visit.
Tips & limits
- Trace size goes up to 2048 px on computers and 1024 on phones. Very large photos are scaled down on phones.
- Up to 50 files per batch. An SVG over 1 MB triggers a warning; over 20 MB is refused.
- The same file with the same settings always gives the same SVG.
- Colours from print-shop CMYK JPGs are approximate.
- Trace only images you have the right to use.
- To turn an SVG back into pixels, use SVG to PNG.
- It’s free, with no sign-up and no watermark.
Frequently asked questions
Can a photo become a good SVG?
Not one that still looks like a photo, because tracing turns shading into flat bands and faces into blotches. The Posterized photo preset gets closest, giving poster-style art with 12 to 32 colours, which can work well on a poster or a T-shirt. If you need a realistic picture, keep the JPG instead.
Is a JPG file the same as an SVG?
No, a JPG stores compressed pixels, while an SVG stores shapes written as text. Renaming photo.jpg to photo.svg converts nothing and leaves a file that won't open. Tracing is what creates real shapes. The SVG can end up smaller or bigger than the JPG: a simple logo tends to shrink, while a busy photo traced at many colours tends to grow.
How do I turn a signature or sketch into an SVG?
Choose Line art, which finds the boundary between ink and paper by itself and makes one clean black layer with the paper removed. For the best result, photograph the page straight on in even light and crop close to the ink first. The signature is traced on your device and is never uploaded anywhere.
How do I remove the white background?
Remove background is already on by default here, so a white or paper-coloured background is dropped automatically. The line under the stats names the colour it removed, for example Background removed: #FFFFFF. If your artwork touches the edge of the image, the wrong colour can disappear, so switch the option off for that file.
Why do traced JPG edges look blotchy?
JPEG compression leaves small blocks and faint halos around sharp edges, and tracing turns them into specks and extra patches of colour. Try Smooth instead of Balanced, one or two fewer colours, or a higher Remove speckles setting. Starting from the largest, least compressed copy of the image you have also helps a lot.
Which trace size should I use?
Start with 1024 px, which suits most logos, scans and signatures. Use 2048 on a computer when small text or thin lines break up, and 512 when you only need a quick, rough result. The trace is never larger than your image, so a 600 × 200 signature is traced at 600 × 200.
Can AI tools convert JPG to SVG?
Some AI vectorizers can redraw complex artwork more cleanly than a classic tracer, because they guess at the shapes. Whichever tool you use, check that the SVG contains real paths rather than an embedded picture, using the outlines and the path count. This page uses a fixed method, so the same file always gives the same SVG.
Is my image uploaded?
No, your image is traced on your own device and never uploaded. Your browser downloads the page and the tracing engine once, and after that it works offline. Nothing about your files is stored. You can confirm this in your browser's network panel while a trace runs. Ads and analytics, if enabled, are separate and consent-based.
Last reviewed: