This image to SVG tracer turns a PNG, JPG, WebP, GIF or BMP into a real SVG made of vector paths, so a logo, icon, signature or line drawing scales to any size without going blurry. Drop or paste an image, pick what it is (a logo with a few flat colours, black-and-white line art, an illustration), and the tracer finds the colour areas, follows their outlines and fits straight lines and curves to them. You see the original and the SVG side by side, zoom in to check the edges, and download the file or copy its code.
Tracing is not a lossless conversion, and the tool says so. It works best on flat artwork: logos, icons, clip art, scanned pen drawings, stamps and signatures. A photo can be traced too, but it comes out posterised, as flat bands of colour, and the SVG is usually bigger than the JPG; the page shows you that size instead of hiding it. Everything runs in your browser with the public-domain imagetracerjs engine, loaded only when you start; your image is never uploaded.
How to use
- Choose an image, drop it on the box, or paste a screenshot (Ctrl+V or ⌘V). No image to hand? Try the sample logo.
- Pick a preset: Logo for a few flat colours, Line art for black-and-white drawings and signatures (the white background becomes transparent), Illustration for more colours, Photo only if you want a poster effect.
- Adjust if needed: set the number of colours to the number of colours in your design, raise Remove specks for scans and JPG noise, and change Smoothing or Background. The trace updates by itself after each change.
- Compare with the slider or side by side, and zoom in to 4× or 8× to check edges. Watch the SVG size, shape count and colour count.
- Choose Optimised (smaller) or Readable output, then Download SVG or Copy SVG code. To recolour or delete shapes, open the file in the SVG editor.
Frequently asked questions
Is the result a real vector SVG or just my image inside an SVG?
Real vectors. Some converters wrap the original pixels in an SVG file (an embedded PNG), which looks like an SVG but is still a bitmap and blurs when enlarged. This tracer writes only <path> elements: outlines made of straight lines and quadratic curves, filled with flat colours. Zoom to 8× in the preview and the SVG edges stay sharp while the original's pixels show. Open the downloaded file in a text editor and you will see paths, not image data.
Why does my photo look posterised?
Because tracing describes an image as a set of flat-coloured shapes. A photo has smooth gradients and millions of slightly different colours; the tracer has to group them into a limited number of colours (up to 64), so gradients become bands, like a screen print. More colours bring it closer to the photo but make the file much bigger, often several times the JPG. If you need the photo itself, keep it as JPG, WebP or PNG; SVG suits flat artwork.
Can I edit the SVG after tracing?
Yes. Each shape is a separate path in the Readable output (grouped by colour), so you can change colours or delete shapes in our free SVG editor, in Inkscape, Illustrator, Figma or any text editor. Text in your image becomes outlined shapes, not editable text, so retype words in a font if you need to change them.
PNG or SVG for a logo: which should I use?
Use SVG wherever it is accepted: websites, apps, print, signage and embroidery or cutting machines. It is one small file that stays sharp at every size and can be recoloured. Keep a PNG for places that do not take SVG, such as some email clients and social profile pictures. If your logo only exists as a PNG or JPG, tracing gives you a usable SVG; for a brand's master file, have it redrawn or ask the designer for the original vector file.
Is my image uploaded anywhere?
No. The image is read and traced by JavaScript in your own browser, in a background worker. The only download is the tracing engine itself (a script of under 50 KB), fetched from this site when you start. Nothing about your image is sent to a server, so it is safe for confidential logos and signatures.
How do I get the cleanest trace?
Start from the biggest, sharpest version you have; a 1000 px wide logo traces far better than a 100 px favicon. Set the number of colours to exactly the number of flat colours in the design. Use Remove specks to clean up JPG noise and scanner dust, and Pre-smooth noise for grainy scans. For a signature or pen drawing, use Line art and adjust the threshold until thin strokes stay joined.
How image tracing works
A PNG or JPG is a grid of pixels; an SVG describes shapes. Tracing bridges the two in four steps, and each setting on this page controls one of them.
• Colour reduction: the image is reduced to a small palette. For flat artwork the tracer takes the dominant colours of the solid areas and ignores the blended pixels along anti-aliased edges, which is why a logo keeps its exact brand colours. In black-and-white mode it picks the cut-off between ink and paper automatically (Otsu's method) unless you set it.
• Speck removal: tiny areas of one colour (JPG noise, dust, single stray pixels) take the colour around them, so they do not become hundreds of microscopic shapes.
• Outline tracing: the edge of every colour area is followed pixel by pixel, giving exact outlines with holes for letters such as O and A.
• Curve fitting: each outline is replaced by as few straight lines and quadratic curves as fit within the smoothing tolerance. Higher smoothing means fewer, rounder curves and a smaller file; lower smoothing follows every step of the pixels.
Shapes are stacked, with smaller details drawn on top of the areas around them, so no hairline gaps open between colours. The engine is imagetracerjs 1.2.6 by András Jankovics, released into the public domain under the Unlicense; the colour, speck and stacking steps are this site's own code, in front of it.
Tips for tracing a clean logo
• Use the largest copy you can find. Tracing cannot invent detail, and small images give lumpy curves. If you only have a small logo, enlarge it first with the AI image upscaler, then trace.
• Crop away everything that is not the logo, and remove a busy background first (the background remover helps with photos of signs and products).
• Count the colours in the design, including the background, and set Number of colours to that. Too many colours turns anti-aliased edges into thin slivers; too few merges two brand colours.
• Choose Transparent around the artwork to drop the background but keep the white inside letters, or Remove background colour everywhere for a signature or stamp you want to place on any colour.
• Check at 4× zoom, then compare the Optimised and Readable sizes. A clean two- or three-colour logo usually traces to a few kilobytes.
When to redraw by hand instead
Automatic tracing is quick and good enough for most web and print uses, but it guesses where a designer would have placed each curve. Redraw the logo by hand (or have it redrawn) when:
• it is a brand's master file that will be used for years, printed large or sent to a sign maker: hand-drawn paths have perfectly straight lines, true circles and far fewer points;
• it contains text: tracing outlines the letters as they appear in the pixels, slightly rounded; setting the text in the real font is cleaner and stays editable;
• the source is tiny, blurry, photographed at an angle or heavily compressed: the tracer follows the defects faithfully;
• it relies on gradients, shadows or photographic texture, which tracing turns into bands.
A good middle way: trace here, open the SVG in an editor, and use it as a guide to redraw only the parts that need it.
