Vector Path Lab

About Vector Path Lab

Vector Path Lab turns PNG, JPG, WebP and GIF images into SVG files made of real paths. An .svg file can also just wrap the original picture in an image tag, which scales no better than the PNG, and a tracer left on its default settings can turn one small logo into hundreds of shapes. We built this one for the people who open the result afterwards: web designers who want a light, sharp logo for a site, and anyone who needs a mark they can recolor, resize and print.

The tracer works in four steps. It finds the few colors the artwork is made of and ignores the in-between shades that anti-aliasing leaves along edges. It labels every pixel and removes specks. It traces each color as one outline with VTracer, an open-source tracer, compiled to WebAssembly. Then our own curve fitter redraws each outline with as few Bézier curves as stay within the tolerance you set: corners stay sharp, straight sides stay single lines, and every color ends up as one path.

We test it on our own artwork: a two-color logo, a wordmark, a line icon, a scanned signature, a four-color illustration, a badge saved as a low-quality JPEG, a white mark and a shaded picture. For each we check that the file parses, contains no embedded image or base64 data, and render it back to compare it with the original. The numbers on the examples page come from that test.

Everything runs in your browser. Your image is decoded and traced on your device and is never uploaded.

Questions, bugs or ideas: support@vectorpathlab.com. You can also read our privacy policy and terms.