Convert PNG or JPG to SVG
Drop an image above and it's traced into an SVG within seconds. Drag the slider over the preview to compare the original with the vector version, adjust colours and detail on the right (the SVG updates automatically), then Download SVG or Copy SVG code.
Raster vs vector
A PNG or JPG is a grid of pixels: enlarge it and it gets blurry or blocky. An SVG (Scalable Vector Graphics) describes shapes: paths, curves and colours. It stays perfectly sharp at any size, from a favicon to a billboard, and it's often tiny for simple graphics. That's why logos, icons and illustrations for the web, printing, laser cutting, vinyl plotting and embroidery are wanted as vectors.
Converting pixels to vectors is called tracing (or vectorising). This tool uses ImageTracer, a proven open tracing algorithm:
- Colour quantisation: the image is reduced to the number of colours you choose.
- Edge detection: for each colour, the outlines of every area are found.
- Path fitting: outlines are turned into straight lines and smooth curves (quadratic Béziers), with small specks dropped depending on the detail level.
- SVG output: one filled path per shape, cleaned up (no invisible paths, standard markup) and scaled to your image's original size.
Settings
| Setting | What it does | Tip |
|---|---|---|
| Style | Colour, or Black & white | B&W for signatures, line art, stamps, QR-like graphics |
| Number of colours | 4 to 64 | Match the logo: a 3-colour logo traces cleanest at 4 |
| Remove background | Leaves out the solid corner colour | For logos on white or coloured backgrounds |
| Detail | How small a shape or curve is kept | Low = clean and small, High = faithful but larger |
| Smoothing | Blurs slightly before tracing | Light for JPGs and scans, removes noise and specks |
| Trace at | Working resolution: 500, 1000 or 2000 px | Higher = finer curves, slower; 1000 suits most logos |
What to expect
Tracing works best on images that already look like vectors: logos, icons, text, line art, cartoons, flat illustrations, silhouettes and stencils. For best results, start from the largest, cleanest version of the image you have.
Photos can be traced too, and the result is a posterised, artistic poster effect, not a photographic vector. They need thousands of paths and can make SVGs larger than the original photo. For photos, a JPG or WebP is the right format; use the Image Compressor instead.
Using your SVG
- Websites: paste the code inline or use it as an
<img src="logo.svg">; it's crisp on every screen. - Editing: open it in Inkscape (free), Adobe Illustrator, Affinity Designer or Figma to refine paths and colours.
- Cutting machines: Cricut, Silhouette and laser cutters work from vector paths. Use Black & white with Remove background for cut files.
- Printing: vectors print razor-sharp at any size.
Need it the other way round? SVG to PNG renders SVGs as images at any size.
Private by design
Your image is traced by your own browser in a background worker. It's never uploaded, so it's safe for unreleased logos, client artwork and signatures.