Vextrude

Image to SVG Converter

Convert PNG, JPG, GIF, BMP, and WebP images to scalable vector SVG files. Runs entirely in your browser — nothing uploaded.

Drop an image here, click to browse, or paste

Supports PNG, JPG, GIF, BMP, WebP

Free Online Image to SVG Converter — Vectorize Any Image Instantly

Convert PNG to SVG, JPG to SVG, and other raster images into clean, scalable vector paths directly in your browser. No uploads, no signup, no watermarks.

100% Private & Local

Images never leave your device. All vectorization happens in your browser using Canvas API and Web Workers for maximum privacy and speed.

5 Tracing Modes

Black & White silhouettes, multi-color tracing up to 32 colors, grayscale layers, Sobel edge detection, and posterize — all with real-time preview.

PNG, JPG, GIF, BMP, WebP

Convert any raster format to SVG. Paste from clipboard, drag & drop, or browse — then download clean vector SVG or send directly to the 3D converter.

Lightning Fast

Tracing runs in a dedicated Web Worker thread so the UI stays responsive. Large images are automatically scaled for near-instant results.

Layer Editing

Toggle individual color layers on or off, change any layer’s color with the built-in picker, delete unwanted layers, and undo/redo every edit.

SVG to 3D Pipeline

Send your traced SVG straight to the Vextrude 3D converter to extrude it into a printable STL, OBJ, or GLB model in one click.

How to Convert an Image to SVG Online

  1. Upload an image: Drag and drop a PNG, JPG, GIF, BMP, or WebP file into the drop zone, click to browse your files, or paste an image directly from your clipboard (Ctrl+V).
  2. Choose a tracing mode: Select Black & White for single-color silhouettes, Color for multi-layer tracing with up to 32 colors, Grayscale for tonal layers, Edge Detection for outlines, or Posterize for stylized flat-color output.
  3. Adjust settings: Use the threshold slider (B&W / Edge mode) to control foreground detection. Increase blur to smooth noisy images, raise simplification to reduce path complexity, and set a minimum area to filter out tiny artifacts.
  4. Edit layers: In Color, Grayscale, and Posterize modes, toggle individual layers on or off, change any layer’s color with the color picker, or delete unwanted layers. All edits support undo/redo (Ctrl+Z / Ctrl+Y).
  5. Export: Download the SVG file, copy the raw SVG code to your clipboard, or send the result directly to the SVG to 3D converter for 3D extrusion and printing.

What Is Image Tracing (Vectorization)?

Image tracing — also called vectorization, raster to vector conversion, or bitmap tracing — converts pixel-based images into resolution-independent vector paths. Unlike PNG or JPG files that become blurry when enlarged, SVG vector graphics stay perfectly sharp at any scale, making them ideal for:

  • Logos & branding — scale to any size without quality loss
  • Icons & UI elements — crisp rendering on all screen densities
  • Laser cutting & CNC — machine-readable vector paths
  • 3D printing — extrude SVG paths into solid 3D models
  • Web graphics — smaller file sizes, CSS styling, and animation support
  • Vinyl cutting & screen printing — clean vector outlines for production

How Does the Image to SVG Algorithm Work?

This tool uses a contour-extraction pipeline similar to Potrace. The process works in four stages:

  1. Preprocessing: The image is optionally blurred and converted to grayscale. In B&W mode, a threshold separates foreground from background. In Color mode, median-cut quantization reduces the palette to the target number of colors.
  2. Contour tracing: Moore neighborhood tracing walks along the boundaries of each color region to extract closed contour paths.
  3. Path simplification: The Ramer-Douglas-Peucker algorithm reduces the number of control points while preserving the shape, producing lightweight SVG paths.
  4. SVG generation: Contours are assembled into an SVG document with properly ordered layers and fill colors.

The entire pipeline runs in a Web Worker thread so your browser stays responsive even with large, complex images.

PNG to SVG vs JPG to SVG — Which Works Better?

PNG images generally produce the best SVG results because PNG uses lossless compression, preserving sharp edges and clean color boundaries. Logos, icons, and illustrations saved as PNG trace very cleanly.

JPG images use lossy compression, which introduces compression artifacts — especially around edges. These artifacts can create noisy SVG paths. To get better results from JPG, increase the Blur slider to smooth out artifacts and raise Min Area to remove small fragments.

Both formats are fully supported. For photographs, Color mode with 8–16 colors and moderate simplification produces the best artistic vectorized output.

Image to SVG vs Illustrator Image Trace

Adobe Illustrator’s Image Trace is powerful but requires a paid subscription and desktop installation. The Vextrude Image to SVG Converter offers a compelling free alternative:

  • Free forever — no subscription, no account, no limits
  • Instant — works in your browser, nothing to install
  • Private — images never leave your device
  • 5 tracing modes — B&W, Color, Grayscale, Edge Detection, Posterize
  • Layer editing — change colors, delete layers, undo/redo
  • 3D pipeline — send SVG directly to 3D extrusion

For quick conversions, logo vectorization, and 3D printing workflows, Vextrude is faster and more accessible than desktop tools.

Frequently Asked Questions

Is the Image to SVG converter really free?

Yes. You can use the Vextrude Image to SVG Converter for both personal and commercial projects with no account, watermark, or hidden limits. It will always be free.

Do my images ever leave my device?

No. All tracing runs entirely in your browser using the Canvas API and Web Workers. Images are never uploaded to a remote server, keeping your files completely private and secure.

How do I convert a PNG to SVG?

Simply drag and drop your PNG file onto the converter, or click the drop zone to browse your files. The tool will automatically trace the image and display the SVG result. Adjust settings as needed, then click Download SVG.

Can I convert a JPG or JPEG to SVG?

Yes. JPG/JPEG files are fully supported. For best results with JPG, increase the Blur slider slightly to smooth out compression artifacts, and use a higher Min Area value to filter noise.

What’s the difference between B&W and Color mode?

B&W mode converts the image to grayscale and applies a threshold to create a single-color silhouette — perfect for logos and icons. Color mode uses median-cut quantization to extract up to 32 color layers, each traced as a separate SVG path with its own fill color — ideal for illustrations and detailed artwork.

What does Edge Detection mode do?

Edge Detection applies a Sobel filter to the image to extract outlines and contours. It produces SVG paths that trace the edges of objects rather than filling color regions. Use the threshold slider to control edge sensitivity.

Can I edit individual layers after tracing?

Yes. In Color, Grayscale, and Posterize modes, the Layers panel shows each traced color as a separate layer. You can toggle visibility, change any layer’s color using the built-in color picker, or permanently delete a layer. All edits support full undo/redo with Ctrl+Z and Ctrl+Y.

Can I use the SVG output for 3D printing?

Absolutely. Export your SVG here, then click “Send to SVG → 3D” to open it in the Vextrude SVG to 3D Converter. There you can extrude it into a watertight STL, OBJ, or GLB model ready for 3D printing.

Is this better than Adobe Illustrator Image Trace?

For quick conversions, logo vectorization, and privacy-sensitive workflows, Vextrude is faster and more accessible — it’s free, instant, and runs entirely offline in your browser. For complex professional illustration work with advanced fine-tuning, Illustrator offers more control but requires a paid subscription.

What image formats are supported?

PNG, JPG/JPEG, GIF, BMP, and WebP are all supported. You can also paste images directly from your clipboard using Ctrl+V (or Cmd+V on Mac).

How do I vectorize a logo?

Upload the logo image, select B&W mode for single-color logos or Color mode for multi-color logos. Adjust the threshold and simplification sliders until the SVG matches the original cleanly. For logos with transparent backgrounds, the converter automatically fills transparency with white.

Can I vectorize a photograph?

Yes. Use Color mode with 16–32 colors for a detailed vectorized version, or use fewer colors for an artistic, posterized effect. Photographs produce stylized vector art rather than photorealistic reproductions, which is perfect for illustrations, posters, and creative projects.

Latest from the Blog

Tips, tutorials, and updates from the Vextrude team.