Infinity Engine · Free tools · CNC Lab

G-code safety check

Paste or open a milling or lathe program. The check reads it line by line and lists the problems that crash machines or scrap parts, each with the line number, and draws the toolpath so you can see where the tool goes. Macro programs (#variables, IF, WHILE) are run first, so the check sees the moves they make.

Open G-code safety check

What it does

How to use it

  1. Open the tool and choose Example, or paste your program (or open the .nc file)
  2. Choose Check the program
  3. Work through the findings by line number, then look at the backplot

Example

Every finding names its line and says what to check; a clean program says which checks it passed, not that it is safe.

Good to know

Your data

This tool runs entirely in your browser. What you paste is not uploaded or saved on our server. Free during the beta, no card needed. Results are developer-tested, not independently validated. Privacy · How we check our maths

More CNC Lab tools