{{ summaryTitle }}
{{ summaryValue }}

{{ summaryLine }}

{{ badge.label }}{{ badge.value }}
{{ summaryAnnouncement }}
Raster vectorization inputs
One image up to 12 MB, 8,192 pixels per side, and 16 megapixels. Flat artwork traces best.
{{ sourceFile ? sourceFile.name : 'Drop image here' }}
{{ sourceMeta || 'PNG, JPEG, or WebP · processed locally' }}
The sample is a simple flat icon designed to make the first trace easy to inspect.

Ignored {{ ignoredFileCount }} extra {{ ignoredFileCount === 1 ? 'file' : 'files' }}. This tool traces one image at a time.

Use monochrome for line art and silhouettes, or limited color for flat illustrations and logos.
{{ color_count }}
Fewer colors simplify the SVG; more colors retain more flat-tone variation.

{{ workflowMessage }}

{{ despeckle }} px²
Raise this only to remove isolated dust or compression noise.
{{ Number(simplify).toFixed(1) }} px
Keep zero for sampled contours; increase gradually when node count matters more than small detail.
Preserve hard edges for logos or soften retained corners for illustrative artwork.
This affects limited-color mode only. Transparent source pixels always stay transparent.
{{ svgExportStatus }}
Raster source
Original raster source preview
Vector trace
Generated SVG trace preview
{{ chartExportStatus }}
{{ ledgerExportStatus }}
SignalValueMeaningCopy
{{ row.label }}{{ row.display }}{{ row.detail }}

A raster image stores a grid of colored pixels. A vector image stores shapes and paths, so its edges can be resized without exposing a larger pixel grid. Converting one into the other is not a format swap. It is an interpretation of which pixels belong together and where their boundaries should run.

Tracing works best on artwork with deliberate regions: logos, icons, signatures, line drawings, silhouettes, and flat illustrations. Photographs, soft shadows, texture, antialiasing, and compression noise create many small color changes. A trace can represent those changes, but the result may contain far more paths and nodes than an editable graphic needs.

Monochrome trace
Separates a chosen dark or light foreground from the background using one brightness threshold. It suits ink, line art, and solid silhouettes.
Limited-color trace
Groups opaque pixels into a small palette, then traces each retained color region. It suits flat logos and illustrations with a few distinct tones.
Contour
The closed boundary around a connected pixel region. Contour points become the line or curve commands in an SVG path.

A useful SVG balances resemblance against structure. A lower node count is easier to edit and often produces a smaller file, but aggressive cleanup can erase small lettering, narrow gaps, or intentional corners. Keeping every sampled point preserves more of the raster boundary, including defects that were never part of the artwork.

Vectorization does not recover the original curves, fonts, layers, or design intent that produced a bitmap. Treat the trace as a new approximation. Compare it with the source at both normal size and high zoom before using it as a master asset.

How to Use This Tool:

Choose the trace mode from the kind of artwork, make one clean first pass, and adjust only the setting that addresses the visible defect.

  1. Choose one PNG, JPEG, or WebP file in Source image. Use a flat, high-contrast source when possible; the file must be no larger than 12 MB, 8,192 pixels on either side, or 16 megapixels.
  2. Select Monochrome silhouette for one-color line art or Limited color regions for flat artwork with several tones.
  3. For a monochrome trace, set Foreground to match the artwork and move Threshold until the intended strokes are included without pulling in the background. For a color trace, start with fewer Palette colors and add colors only when important regions merge.
  4. Open Advanced only to solve a specific problem. Raise Despeckle for isolated noise, increase Path simplification gradually when the contour has too many nodes, and choose rounded corners only when sharp segments look too mechanical.
  5. Run the trace and compare Raster source with Vector trace. Check path and node counts in Structure profile, then review the approximation and removed-region values in Trace ledger before downloading the SVG.

Interpreting Results:

The preview is the main quality check. Look for missing counters inside letters, broken thin strokes, joined shapes that should remain separate, and pale regions removed as background. Zoom in to inspect corners, then zoom out to confirm that the overall silhouette still reads correctly.

  • Paths counts connected traced regions. A surprisingly high count usually points to texture, compression artifacts, or dust.
  • Nodes counts retained contour points. Fewer nodes are easier to edit, but the count alone cannot tell whether important detail survived.
  • Traced colors reports palette entries that produced at least one path, which may be fewer than the requested palette size.
  • Removed regions shows how many connected regions were discarded by Despeckle. Confirm that those regions were noise rather than punctuation or fine artwork.

Technical Details:

Raster tracing first reduces the source to a bounded sample, classifies sampled pixels, finds connected regions, and walks their outer edges. Those closed contours are simplified if requested, scaled back to the original canvas dimensions, and serialized as filled SVG paths. The SVG keeps the decoded source width, height, and matching viewBox, even when contour extraction used a smaller sample.

Transformation Core

Raster-to-SVG transformation stages
Stage Exact rule Why it changes the result
Sample The decoded image is reduced proportionally when needed so the trace sample is at most 512 pixels per side and 262,144 pixels in total. Large sources keep their output canvas size, but small details may fall between sampled pixels.
Classify Pixels with alpha below 16 are ignored. Monochrome mode applies an exact brightness boundary; color mode assigns opaque pixels to the nearest of two to eight palette centers. This decides which pixels share a region and which areas remain transparent.
Connect Pixels of the same class join through horizontal or vertical neighbors. Diagonal contact alone does not join two regions. Each connected region can produce one filled path containing one or more closed loops.
Clean Regions whose sampled area is less than or equal to Despeckle are removed. Contour points within the selected 0 to 4 sampled-pixel tolerance may be discarded. Noise and node count fall, with a corresponding risk of losing small features.
Write paths Sharp corners use straight line commands. Rounded corners use bounded quadratic curves; closed paths use an even-odd fill rule. The geometry stays editable while holes inside connected shapes remain open.

Monochrome brightness is a weighted combination of the red, green, and blue 8-bit channels. Green contributes most, so two colors with the same simple channel average can fall on different sides of the threshold.

L = 54R + 183G + 19B 256
Monochrome pixel classification boundaries
Foreground choice Pixel becomes foreground when Threshold edge
Dark pixels L is less than the threshold A pixel exactly equal to the threshold is excluded.
Light pixels L is greater than or equal to the threshold A pixel exactly equal to the threshold is included.

Limited-color mode begins with coarse color buckets, chooses separated starting colors with more influence given to common colors, and performs six weighted refinement passes. Every retained pixel then joins the palette color with the smallest squared red-green-blue distance. Remove the lightest traced color omits the palette center with the greatest weighted brightness, not a semantic background detector, so pale artwork can disappear with it.

Safety bounds stop a trace above 12,000 paths, 120,000 nodes, or 5 MB of SVG text. Coordinates are written to at most three decimal places. Identical decoded pixels and settings produce the same palette, contours, and SVG, but the result remains an approximation of the sampled raster rather than a reconstruction of the source design.

Privacy Notes:

The image is decoded and traced in the current browser tab; it is not uploaded for vectorization. The generated SVG contains only a title and filled path geometry, so source image metadata is not carried into the vector file.

  • Review recognizable artwork before sharing the SVG because vector paths can still reveal the source design.
  • Keep the page open until tracing finishes, since changing settings invalidates the previous result.
  • Use only artwork you have permission to reproduce or adapt.

Worked Examples:

Dark signature on white paper

Choose Monochrome silhouette with Dark pixels, then move the threshold until the pen strokes connect without pulling in the paper texture. A small Despeckle value can remove isolated scan dust, but check punctuation and the dots over letters before accepting any removed regions.

Flat logo with a pale accent

Start in Limited color regions with four palette colors and keep every traced color. If the output is too busy, reduce the palette before raising path simplification. Do not remove the lightest color until the preview confirms that the pale accent is not being mistaken for background.

References: