Works on this device. File exports run online.
CNC Toolpath Viewer
Open a CNC program (.nc, .ngc, .tap, .gcode) or paste it. The page draws the toolpath, lists each tool with its cutting distance, time, feeds and speeds, shows the depth passes, and points out risky lines: cutting with the spindle off, rapid moves into the stock, cuts that go too deep. Your program is read in your browser.
Your CNC program
Or drop it here. It is read in this browser and is not uploaded.
Paste G-code here, or open a file above.
The Z of the material’s top face in the program. Rapid moves below it are marked.
More settings: deepest cut, work area, time estimate
Optional. Cuts deeper than this are marked.
Optional, in program coordinates.
Optional.
Optional.
Optional.
Optional.
For the time estimate; 0 means none.
For the time estimate of G0 moves.
Open, paste or load the example program.
How to check a CNC program
- Choose a file, drop it on the box, paste the program, or press Load the example.
- Set the Top of the stock (the Z of the material’s top face in the program, often 0). Under More settings you can set the deepest cut allowed and the work area of your machine.
- Press Check and draw. The figures, the tools, the depth passes and the findings appear, and the toolpath is drawn.
- Choose a view (3D, top, front, side). Turn and zoom with the buttons, or with the arrow keys, + and − when the drawing has focus. Move the Move slider to see the program step by step; a finding’s Line button shows where it happens.
What the checks mean
- Cuts with the spindle off: a cutting move (G1, G2, G3) before any M3 or M4, or after M5. As in RS-274 programs, an M3, M4 or M5 acts before the move on its own line.
- Rapid move into the stock: a G0 that ends below the top of the stock, or moves sideways while below it. Lifting straight up out of the material is normal and is not marked.
- Deeper than allowed and outside the work area are checked only when you set those values.
- Depth passes: the Z heights of flat cuts and how much is cut at each, so you can see the step-downs.
- Estimated time: each move speeds up and slows down at the acceleration you set; rapid moves at the rapid speed you set. Real machines blend moves, so the time is an estimate.
Limits you should know
- Canned cycles (G81 to G89: drilling, tapping) are listed but not drawn or measured; rotary axes (A, B, C), cutter compensation (G41, G42) and tool length offsets are not simulated: the path is the programmed path.
- The page reads what the program says. It does not know your machine, your fixtures or your tool lengths, and it cannot see collisions with clamps.
- Inch programs (G20) are read and shown in millimetres.
- For 3D printer G-code, and to edit, move or change a program, use the G-Code Viewer & Editor.
Privacy
The program is read, checked and drawn in your browser. Only when you use the box below is the program (or the files you choose there) sent to the Toolvito server, to be drawn there. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.