Conversion
Image to SVG
Vectorize raster images into scalable SVG with potrace-style tracing.
Drop image(s) to vectorize
Logos, icons, and clip art work best — JPEG, PNG, WebP, BMP, HEIC
☕ Love this tool? Support the developer.
100% free — no ads, no limits. Your support keeps every tool free.
Secure payment via Stripe · No account needed
About Image to SVG
OptiPix Image to SVG vectorizes raster images (PNG, JPG, WebP) into scalable SVG paths using a Potrace-style tracer that runs entirely in your browser. The pipeline binarizes the input with an adjustable threshold (or auto-detects via Otsu's method), then traces the contours into Bézier paths. For color images, the tool quantizes to N colors (2/4/8/16/32) and traces each color layer separately, producing a multi-color SVG that looks like Adobe Illustrator's Image Trace. Detail level controls let you tune path smoothing, minimum feature size, and corner threshold. Tracing modes include Silhouette (single-color outline), Detailed B&W (high-detail line work), Color (multi-layer), and Line Art (edge-only). The output viewer shows the original raster alongside the vector SVG so you can zoom in and watch the raster pixelate while the vector stays sharp. Download as SVG file, copy SVG XML to clipboard, or render the SVG back to PNG at any resolution. Perfect for converting logos, icons, sketches, and clip art into clean vectors for print, Cricut, laser cutting, or design work.
How It Works
The image is binarized via threshold (manual or Otsu auto), then a Potrace-style tracer follows pixel contours and converts them to smooth Bézier paths. Multi-color mode quantizes to N colors via K-means and traces each color layer separately, compositing into a single SVG.
Use Cases
- •Convert a PNG logo to a clean SVG for a website
- •Vectorize a hand-drawn sketch for digital art
- •Trace clipart for Cricut cutting
- •Convert an icon to SVG for a UI component library
- •Prepare a black-and-white image for laser engraving
Frequently Asked Questions
Are my images uploaded?
What tracing modes are available?
Can I trace color images?
Is the output truly scalable?
Does it optimize the output SVG?
Can I see the SVG code?
Can I render the SVG back to PNG?
Can I batch vectorize?
What if my image is a photo?
What's the best mode for a logo?
Related Tools
Format Converter
Convert images between JPEG, PNG, WebP, and more.
Image Resizer
Resize images for Instagram, Twitter, LinkedIn, and more.
Image to PDF
Convert one or multiple images into a PDF document.
Image to Base64
Encode images to Base64 / Data URI and decode Base64 back to images — instantly, in your browser.