← Engineering tools
G-Code Viewer
Preview only — 2D XY, absolute (G90) G0/G1/G2/G3 with I/J arcs. Not a machine-verification tool; unsupported words are ignored.
Toolpath
Cut moves
4
Rapid moves
1
Max RPM
6,000
Max feed
45
Syntax View
1 G90 G17 G202 T1 M63 S6000 M34 G0 X0 Y0 Z0.15 G1 Z-0.125 F206 G1 X2.000 Y0.000 F457 G1 X2.000 Y1.2508 G1 X0.000 Y1.2509 G1 X0.000 Y0.00010 G0 Z0.2511 M30
About this tool
Explains common Fanuc-style G and M codes in a pasted program and previews the toolpath.
- Inputs
- A G-code program (Fanuc / Haas dialect)
- Assumptions
- Modal G-code behavior per typical Fanuc controls
- Absolute (G90) positioning unless the program says otherwise
- Preview ignores tool geometry, offsets, and canned cycles
- Sources
- Fanuc and Haas programming manuals
- Valid range
- Standard 3-axis milling programs using G0/G1/G2/G3 and common M-codes.
- Limitations
- Does not simulate macro variables, subprograms, or probing
- Not a verification tool — never run a program based on this preview alone
- Control-specific codes may be labelled differently or omitted
Values are starting points for planning — verify against your tooling and machine documentation before cutting. Report an issue with this tool →