Skip to content
Vecaria
Go Pro

G-code to DXF Converter

Export G-code toolpaths to DXF with native arcs — view, measure and edit in CAD; runs in your browser.

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

  • Formats: G-code, DXF
  • Flow: G-code toolpaths → DXF geometry
  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 “Export DXF”.
  3. Review the inline line-art preview and the result summary, then copy the DXF source or download toolpath.dxf.
  • Programs are parsed as absolute coordinates (G90) in millimeters (G21); G91 relative and G20 inch programs are converted automatically (output is always mm, DXF $INSUNITS=4). Coordinate-only continuation lines are tracked as modal moves.
  • G2/G3 arcs follow the modal plane: XY-plane (G17) arcs export as native ARC entities (full circles as CIRCLE); arcs without I/J/K/R center words and non-XY-plane (G18/G19) arcs fall back to straight chords, counted in the result summary.
  • Z heights and non-motion commands (feeds, spindle, coolant) are ignored — output is 2D XY geometry.
  • Paste G-code → get a DXF

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