Two printable sheets: 71 mill codes and 57 lathe codes, grouped by what they do (motion, offsets, compensation, cycles, spindle, coolant, program control), each with a one-line meaning. Press Print or save as PDF for a one-page copy without the website around it.
Yes, this page. Press "Print or save as PDF" for the mill or lathe sheet; it prints on one or two A4 or Letter pages without the website around it. Choose "Save as PDF" in the print dialog for a PDF file.
Which G-codes should be on a cheat sheet?
The ones in every program: G00 to G03 motion, G17 to G19 planes, G20/G21 units, G28, G40 to G43 compensation, G54 to G59 work offsets, G80 to G83 drilling cycles, G90/G91, and M00, M01, M03 to M09 and M30. Lathe sheets add G50, G70 to G76 and G96/G97. This sheet has all of them grouped by what they do.
Are these codes the same on every machine?
The core codes are the same on Fanuc, Haas and most Fanuc-style controls. Some numbers mean different things on mills and lathes, which is why there are two sheets, and some controls add their own codes. Check your machine's manual for anything not on the sheet.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety
manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.