Private raster-to-vector tracing
Image to SVG Tracer
Convert PNG, JPG, GIF, BMP, and WebP images into scalable SVG paths in your browser. Trace black-and-white artwork or posterized color layers without uploading the source.
- Files stay on your device
- Black-and-white and color tracing
- Live SVG preview and download
Drop an image or click to browse
PNG, JPG, GIF, BMP, and WebP supported
Presets
Tracer mode
Preprocessing
Pixels darker than this become black.
Scale
Reduce image size before tracing. Larger values produce a smaller SVG with less detail.
Tracing parameters
Ignore blobs smaller than this. Higher values produce cleaner output with less detail.
0 gives sharp corners; 1.334 gives the smoothest curves.
Choose how the tracer resolves ambiguous path corners.
Higher values produce simpler curves and a smaller file.
Trace to SVG
Potrace converts your raster image into scalable vector paths.
- Logos and signatures: Use B&W mode and adjust the threshold.
- Line art: Use B&W mode with a low turd size to preserve detail.
- Flat illustrations: Use Color mode with 4–8 posterize levels.
- Photos: Scale down first and use fewer colors.
- Large files: Increase the scale-down factor.
How to trace an image to SVG
- Drop an image or choose a PNG, JPG, GIF, BMP, or WebP file.
- Pick a preset or choose B&W for line work and Color for illustrations.
- Adjust the threshold or posterize levels, then refine scale and curve controls.
- Trace the image, inspect the SVG preview, adjust zoom, and download the file.
Tracing works best with clean, high-contrast sources. Photographs usually need stronger downscaling and fewer color layers.
Vectorize raster images locally
- Use B&W mode for logos, signatures, silhouettes, and line art.
- Use Color mode for flat illustrations and stylized posterized artwork.
- Reduce large sources automatically and retry complex traces with safer dimensions.
- Tune noise filtering, corner smoothing, curve optimization, and color layers.
The tracer prepares large images, converts pixels into vector paths with Potrace, and renders the SVG preview in this browser. Presets give you a fast starting point while advanced controls remain available.
What the tracing controls change
- Threshold: decides which pixels become black in B&W mode.
- Turd size: removes small blobs and visual noise.
- Alphamax: controls how strongly corners are smoothed.
- Turn policy: resolves ambiguous corners in traced paths.
- Posterize levels: sets the number of extracted color layers.
- Scale-down factor: reduces path complexity and SVG size.
Best practices for clean SVG output
- Start with the highest-contrast source available.
- Keep the noise filter low when thin strokes and small details matter.
- Use 4–8 posterize levels for flat illustrations before adding more colors.
- Increase the scale-down factor if tracing runs out of memory or creates an oversized SVG.
- Enable curve optimization and increase tolerance when you need simpler paths.
When to trace and when to keep raster
SVG tracing suits logos, icons, signatures, line art, silhouettes, and flat illustrations. Photographs, gradients, and complex textures usually look better as raster images.
For photographic conversion or compression, use the Image Converter.
Frequently asked questions
Are images uploaded while tracing?
No. Image preparation, Potrace processing, preview generation, and SVG download all run inside your browser.
Which source formats can I trace?
The upload control accepts common browser image formats, including PNG, JPG, GIF, BMP, and WebP.
Should I use black-and-white or color mode?
Use B&W for logos, text, signatures, silhouettes, and line art. Use Color for flat illustrations or when you want a deliberately posterized result.
Why was my large image downscaled?
Complex sources can exceed browser memory during tracing. The tool reduces oversized images locally to keep path generation stable and the resulting SVG manageable.
How can I make the SVG smaller?
Increase the scale-down factor or noise filter, reduce posterize levels, and use curve optimization with a higher tolerance.
Will a traced photograph remain photorealistic?
No. Tracing turns pixels into paths and color layers, so photographs become stylized. Keep the raster image when photographic detail matters.
Related tools
Most utilities process files in your browser. Any tool that uses a server or external service says so on its page.
View all tools- Image Format ConverterConvert images to PNG, JPG, WebP, GIF, BMP, or TIFF directly in your browser (AVIF/HEIC need native codecs).
- Live Camera ASCIIStream your webcam and transform frames into ASCII art instantly without uploading video.
- Audio ConverterConvert audio to MP3, WAV, FLAC, or OGG entirely in your browser with bitrate, sample rate, channel, and loudness controls.
- PDF EditorMerge files, reorder or drop pages, extract ranges, rotate scans, add text boxes, and cover/remove text directly in your browser.
- Video ConverterBrowser-native video converter for MP4, WEBM, or GIF with CRF, FPS, and resolution controls.
- AI Cost PlannerTurn public model pricing into a decision-maker shortlist with monthly scenario costs, hidden-fee pressure, and route-risk tradeoffs.
- AI Pricing ExplorerBrowse the pricing database directly with presets, filters, pinned comparisons, source freshness, and inline history.
- Breed MatchmakerRank dog breeds against apartment life, kids, first-time ownership, low shedding, quiet homes, activity, and hot climates.