What it does
Image to SVG traces a picture into vector shapes. A PNG or JPG is a grid of pixels, so it turns blocky when you stretch it. An SVG stores outlines instead, so a logo stays sharp on a business card or a billboard, and you can recolour it in any design tool. This tool finds the edges between colours in your picture, follows them as closed loops, and writes them out as SVG paths.
Use black and white mode for a one-colour logo, a stamp or a pencil drawing, or several colours (up to 16) for a flat illustration. It works best on clean pictures with clear edges. Photos give a rough, poster-like result. Everything happens on your device. First make the picture the right size with image resizer, then after tracing you can build icons with favicon maker, or find the colours in a picture with photo palette.
How to use it
- Choose your picture. A big, clean, high-contrast image gives the best trace.
- Pick Black and white or Several colours.
- In black and white, drag the dark cut-off until the shape looks right. In colours, choose how many colours.
- Choose the smoothness and ignore tiny specks.
- Compare the two pictures, then Download SVG or Copy SVG code.
What each setting does
- Dark cut-off: pixels darker than this become ink. Raise it to catch lighter strokes.
- Number of colours: the picture is reduced to this many colours. The most common one becomes the background.
- Smoothness: exact pixel corners keep every step; Smooth, Smoother and Smoothest round the steps into curves with fewer points and a smaller file.
- Detail: the picture is shrunk to this many pixels on its longest side before tracing. Higher is sharper but slower and bigger.
- Ignore specks: removes shapes smaller than this many pixels, such as dust in a scan.
- Swap dark and light: traces the white parts instead, for white-on-black art.
- White background: adds a white rectangle; otherwise the background is see-through.
Worked example
Take a 100 x 100 pixel picture of a black ring: outer radius 30 pixels, inner radius 12. The tool finds two loops. The outer one covers 2,828 square pixels (a perfect circle gives 2,827), and the inner hole 448 (a perfect circle gives 452). With exact corners the outline needs 200 points; on Smoother it needs just 29, and the SVG shrinks from about 1.3 KB to 1 KB.
FAQs
Why does my photo look odd? Tracing is for flat artwork. A photo has thousands of colours and soft edges, so the result looks like a poster. Use more colours and Detail High for a better, bigger result.
Does it keep a see-through background? Yes. Transparent pixels are left unpainted. In colours mode the background is only added when the picture has no transparency.
Is the SVG mine to use? The tool makes a copy of your own picture. If the picture is someone else’s logo or artwork, their copyright still applies.
Where the numbers come from
- SVG 1.1 path data (M, L, C, Z) and the evenodd fill rule are defined by the W3C SVG specification. Colour grouping uses the median-cut method (Heckbert, 1982); outlines are simplified with the Douglas-Peucker algorithm (1973). Checked 2026-12-05. fibub wrote its own tracing code.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Last updated 2026-12-05.