Online Centerline Trace: How to Convert PNGs & Outlined SVGs into Single-Stroke Paths (Illustrator, Inkscape & LineSVG Compared)
2026/12/02

Online Centerline Trace: How to Convert PNGs & Outlined SVGs into Single-Stroke Paths (Illustrator, Inkscape & LineSVG Compared)

Convert PNG line drawings and double-walled outlined SVGs into open single-stroke SVG paths (fill='none'). Compare Illustrator, Inkscape Autotrace, and LineSVG.

Every week thousands of designers and makers run into the exact same wall: you auto-trace a black-and-white PNG in Illustrator, LightBurn, Cricut Design Space, or a Potrace-based online vectorizer—and instead of getting one editable path per line, you get a hollow closed filled outline (<path fill="#000000"/>) wrapping both inner and outer pixel edges. Try to change stroke-width in Figma and nothing happens; send it to a laser Score layer, AxiDraw pen plotter, or Ink/Stitch running stitch, and the machine traces every line twice.

What single-pass workflows need instead is single-stroke open SVG geometry (<path stroke="#1f2d27" fill="none"/>)—achieved either via deterministic mathematical medial-axis tracing on clean binary scans (autotrace in Inkscape) or via AI stroke-SVG vector reconstruction in LineSVG.

Quick answer: Open Online Centerline Trace SVG (which locks on Editable lines + Pure lines). Upload a PNG, JPG, or WebP drawing up to 20 MB—or export an already-outlined .svg as a 2000 px PNG and click Redraw as lines—to reconstruct artwork into single-stroke open SVG paths (<path stroke> with fill="none") designed to avoid the double-outline loops of standard bitmap auto-tracers, with free visual path inspection in the Online SVG Editor (10 free welcome credits on signup—first SVG free).

Outline trace vs. medial-axis skeletonization vs. AI stroke reconstruction

The same leaf drawn as a real centerline stroke versus a closed filled outline Left: open single-stroke path (stroke, fill="none", adjustable width, 1 toolpass). Right: standard perimeter auto-trace (fill, baked width, 2 outer edges).

  • Standard outline (perimeter) trace (Potrace): Detects brightness boundaries between dark ink and white paper, producing a closed loop up the left edge and down the right edge. Built for vinyl decal blades and solid laser-cut silhouettes, wrong for pens, scoring, embroidery running stitches, and CSS stroke-dashoffset animations.
  • Mathematical centerline / skeletonization (autotrace): Computes a deterministic medial-axis skeleton across binary black-and-white pixels—ideal offline in Inkscape on crisp scans, though shaded photos or uneven brush strokes often fragment at junctions.
  • AI stroke-SVG vector reconstruction (LineSVG Pure lines): Reconstructs visual lines directly into open <path stroke> paths with fill="none", designed to avoid dual-edge loops across sketches, logos, and shaded photos, with free visual path inspection and touch-ups in /tools/svg-editor.

Centerline & single-stroke tools compared (2026)

Tool / methodOpen <path stroke> output?Handles shaded photos & thick brush lines?Collapses outlined SVGs to open strokes?Setup & environmentPricing
LineSVG Centerline Trace (/tools/centerline-trace-svg)Yes — AI stroke reconstruction (Pure lines: fill="none", strips fills)Yes — AI stroke vectorization + Redraw as lines on photos & thick inkYes (via PNG render + Pure lines + free /tools/svg-editor check)Browser-based, no threshold tuning + live 0-credit width/color/dash controlsFree workspace demo; 10 free welcome credits (first SVG free); packs from $10
Inkscape (Trace Bitmap > Centerline tracing / autotrace)Yes — mathematical medial-axis skeleton (fill="none")Clean high-contrast binary scans; shaded camera photos fragment into short shardsVia Render to Bitmap (Alt+B) then Centerline TraceFree offline desktop app (Windows, macOS, Linux)100% free & open source
Adobe Illustrator (Image Trace > Line Art / Strokes)Partial — requires unchecking Fills, checking Strokes, and tuning Max Stroke Weight pxNeeds pre-thresholding; T-junctions often split or leave tiny gap artifactsVia rasterize (Object > Rasterize) + manual Line Art traceCreative Cloud desktop appPaid Creative Cloud subscription
LightBurn / Cricut Design Space built-in traceNo — outputs closed perimeter loopsBuilt for cut contours and raster fill zonesNo (LightBurn Offset shifts edges manually but leaves inner loops)Desktop / machine companion appCricut free with machine; LightBurn paid license
Vector Magic / Vectorizer-class toolsNo — reconstructs interlocking fill polygonsGreat for flat color logos, double-tracks on single-line hardwareNoWeb / desktopPaid subscription or per-credit

Step-by-step: 3 ways to get single-stroke SVG paths

Workflow A: Fastest browser AI stroke vectorization (PNG, JPG, shaded photos & thick lines)

  1. Open Online Centerline Trace SVG. Both Editable lines and Pure lines (for machines) are pre-selected (fill="none") so filled polygons are stripped from the output.
  2. Upload your PNG, JPG, or WebP (up to 20 MB). Crop away outer borders or watermarks you do not want vectorized (or click the Ignore text/watermark preset chip).
  3. Run AI stroke vectorization—or click Redraw as lines for thick markers. Clean drawings reconstruct into open <path stroke> paths, while Redraw as lines distills wide brush strokes or gray camera shadows into clean single-stroke linework.
  4. Inspect paths visually and export. Check the stroke-share badge, drag the Stroke width slider (0 credits), do a quick zoom or path tweak in the free Online SVG editor if a complex junction needs tidying, and download .svg for Illustrator, Figma, Inkscape, LightBurn, Pen plotter & AxiDraw, or Running-stitch embroidery.

Clean geometric compass and botanical crest reconstructed as open single-stroke SVG paths Open <path stroke> output (fill="none"): reconstructed as single-stroke paths designed for single-pass plotting and scoring.

Workflow B: How to convert an already-outlined SVG back into single strokes

Designers often inherit an .svg where someone ran Object > Path > Outline Stroke years ago and lost the master file. In Illustrator or Inkscape there is no native "Un-outline Stroke" button, because the software no longer knows which two opposite edges belonged to one pen stroke. Here is the clean two-minute recovery:

  1. Export the outlined SVG to a crisp 2000 px white-background PNG from Figma, Illustrator, Inkscape, or your browser.
  2. Upload that PNG to Centerline Trace SVG with Pure lines enabled (and click Redraw as lines if any stroke was wider than ~8 px).
  3. Compare with the Original toggle, inspect complex intersections at zoom, set your desired stroke-width in one click, and download the restored stroke-based .svg.

Workflow C: Offline desktop centerline trace in Inkscape & Illustrator

  • In Inkscape (free offline): Select your clean black-on-white bitmap, open Path > Trace Bitmap, switch the Detection mode dropdown from Brightness cutoff to Centerline tracing (autotrace), click Apply, and delete the original bitmap underneath.
  • In Adobe Illustrator: Open Window > Image Trace, choose the Line Art preset (or expand Advanced, uncheck Fills, check Strokes, and raise Stroke pixel tolerance until thick marks stop splitting into two rails), then click Expand and inspect junctions in View > Outline (Cmd/Ctrl + Y).

Scope & Workflow Notes

  • Precision CAD & press-fit mechanical parts: Whenever a part requires sub-millimeter hole tolerances, kerf-compensated finger joints, or standardized ISO engineering symbols, draft directly in CAD software (AutoCAD, Fusion, FreeCAD) and export DXF/SVG; use LineSVG for visual illustrations, craft motifs, signatures, manuals, and decorative engraving.
  • Vinyl stickers & through-cuts: Keep closed polygons (Cut-ready shapes in Laser cut SVG) when cutting physical shapes out of vinyl, cardstock, or plywood—blades need closed boundaries, whereas pens, foil tips, lasers in Score/Line mode, and running-stitch embroidery need open strokes.

Frequently asked questions (FAQ)

Why does Adobe Illustrator Image Trace create filled shapes instead of single lines?

Illustrator's default Image Trace presets (Black and White Logo, Silhouettes, Sketched Art) leave Fills enabled and Strokes disabled, tracing the outer perimeter of dark pixels. Even with Strokes checked, lines thicker than the pixel threshold split into double rails unless reconstructed as open stroke paths in tools like Online Centerline Trace SVG.

How do I check if my SVG is ready for single-pass plotting or scoring?

Press Cmd/Ctrl + Y in Illustrator (View > Display Mode > Outline in Inkscape), or inspect the file in the free Online SVG editor. Clean single-stroke paths show a single wire along each mark (fill="none") rather than closed parallel perimeter loops—and if a complex intersection has an extra segment, you can delete or tweak it right in the editor before running your machine.

Can I animate centerline SVGs on a website for free?

Yes. Because these SVGs use real <path stroke> geometry, you can click Animate or drop any .svg (up to 2 MB) into the Free SVG stroke animator to export self-drawing stroke-dashoffset SVGs, 1080p MP4s, and GIFs for 0 credits with no login required.

How much does online centerline tracing cost in LineSVG?

Testing the interactive demo, adjusting stroke width/color/dashes on uploaded SVGs, and exporting draw-on animations cost 0 credits without logging in. New accounts receive 10 free welcome credits valid for 30 days (covering your first conversion free), with one-time credit packs starting at $10 and annual plans from $20/month on the pricing page.