Skip to content
Vecaria
Go Pro

G-code to SVG Converter

Convert G-code toolpaths to SVG in your browser — free, no upload, with rapids shown dashed.

This tool runs entirely in your browser — your files are never uploaded to a server.

  • Formats: G-code, SVG
  • Flow: G-code → SVG path drawing
  1. Paste your G-code program into the input box (a sample is pre-filled) — or choose/drop a .gcode/.nc/.tap program file.
  2. Click “Convert to SVG”.
  3. The SVG renders inline (identical to the download) — then copy the source or download toolpath.svg.
  • 2D projection only (X/Y); Z heights are not visualized.
  • G2/G3 arcs are approximated by their endpoints.
  • Parsed modally: G91 relative moves accumulate incrementally, G20 inch programs convert at 1 in = 25.4 mm, and lines without an explicit G0–G3 word continue the previous motion mode; tool compensation and macros are not parsed.
  • Paste G-code → get the toolpath as SVG
  • G-code program → toolpath.svg attached to the job sheet

Open G-code to SVG Converter in the tools site →