G-code to SVG Converter
Convert G-code toolpaths to SVG in your browser — free, no upload, with rapids shown dashed.
Processing and data safety
Section titled “Processing and data safety”This tool runs entirely in your browser — your files are never uploaded to a server.
Input and output
Section titled “Input and output”- Formats: G-code, SVG
- Flow: G-code → SVG path drawing
How to use
Section titled “How to use”- Paste your G-code program into the input box (a sample is pre-filled) — or choose/drop a .gcode/.nc/.tap program file.
- Click “Convert to SVG”.
- The SVG renders inline (identical to the download) — then copy the source or download toolpath.svg.
Key details and limits
Section titled “Key details and limits”- 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.
Common use cases
Section titled “Common use cases”- Paste G-code → get the toolpath as SVG
- G-code program → toolpath.svg attached to the job sheet