Free Online G-Code Viewer & 3D CNC Toolpath Simulator (GRBL, Mach3, LinuxCNC)

Dry-run any .nc, .tap, .gcode, or .ngc file in seconds before hitting Cycle Start on your machine. CutPath separates G0 rapid traverses from G1/G2/G3 cutting paths in both 2D XY and interactive 3D isometric backplot views, flags plunge-on-rapid Z crashes, warns on missing M3/M4 spindle or torch commands and missing F feedrates, and computes realistic cut length and cycle time directly in your browser without installing desktop CAM software.

Free Utility Spec In-Browser
  • Color-coded G0 rapids vs G1 linear & G2/G3 arc cuts in 2D XY and 3D view
  • Live playback scrubber with synchronized X / Y / Z digital readout (DRO)
  • Pre-flight safety checks: G0 Z-crash warnings, missing M3/M4, missing feedrate
  • Automatic cut length, rapid distance, Z-min/Z-max envelope & cycle time
100% free in-browser utility · Zero upload · Optional workbenches from $4.99

Pre-Flight CNC Toolpath Safety & Verification Checklist

Parameter / MaterialRecommended SettingShop-Floor Engineering Note
G0 Rapid vs G1/G2/G3 Cut SeparationDashed Rapid Overlay + Solid Cut VectorsVisually confirms every rapid move clears fixture clamps, toe straps, and raised part bosses before cutting.
Z Safe Clearance & Plunge-on-Rapid CheckZ_rapid > 0.000" (Typically +0.200" to +1.000")Flags any G0 rapid move that plunges below Z0 or traverses laterally at negative cutting depth — the #1 cause of snapped endmills.
Spindle / Torch Activation (M3 / M4 / M5)Explicit M3/M4 Before First G1 CutCatches post-processor configs that omit spindle-on or plasma pierce commands, preventing dead-tool crashes into stock.
Feedrate (F) & Modal Units (G20 / G21)Explicit G20/G21 + Valid F-Word on First FeedPrevents GRBL Error 22 (undefined feed rate) and catches inch programs accidentally posted with mm feed numbers (e.g., F1500 in/min).
Cut Length & Cycle Time EstimateSum(G1/G2/G3 Length / F) + Rapid TimeGives an immediate realistic runtime estimate for quoting jobs before tying up the CNC table.

Step-by-Step Shop Workflow

  1. 01 Drop your .nc, .tap, .gcode, or .ngc file into CutPath Free Online G-Code Viewer (/gcode-viewer) — no install or account required.
  2. 02 Review the Safety & Telemetry panel for G0 plunge-on-rapid warnings, missing M3/M4 spindle/torch commands, Z-min/Z-max bounds, and G20/G21 units.
  3. 03 Switch between 2D XY and 3D isometric orbit views and scrub the playback slider with the live X/Y/Z DRO to verify lead-ins and retract heights.
  4. 04 Use the measured cut length and cycle time in /cnc-quote-calculator to price the job accurately before loading onto the controller.

Common Controller Errors & Verified Fixes

Endmill snaps immediately on the first move after pressing Cycle Start

Cause: G0 rapid move traversed laterally at Z <= 0 or plunged straight into the workpiece instead of feeding with G1.

Fix: Inspect the 3D isometric backplot and Safety Warnings panel in /gcode-viewer; any G0 move below Z0 is flagged immediately before you run the program.

GRBL halts on line 12 with "Error 22: Feed rate has not yet been set or is undefined"

Cause: A G1, G2, or G3 cutting block ran before any F-word feedrate was established in the modal state.

Fix: Check the feedrate readout and pre-flight warnings in /gcode-viewer, then add an explicit F value to your CAM tool entry or post-processor.

Toolpath drifts progressively off the table on every repeat pass

Cause: Program switched into incremental distance mode (G91) for a safe retract or subprogram and failed to restore absolute mode (G90).

Fix: Scrub through the backplot timeline with the live X/Y/Z DRO in /gcode-viewer to pinpoint the exact line where coordinates diverge.

Mach3 or LinuxCNC throws a "Radius to end of arc differs from radius to start" alarm

Cause: Post-processor rounded X/Y/I/J coordinates to 2 decimal places or mismatched incremental vs absolute IJ mode.

Fix: Set post-processor coordinate precision to at least 4 decimals for inches (0.0001") or 3 decimals for mm (0.001 mm) and verify arcs render cleanly in /gcode-viewer.

Stop Crashing CNC Bits — Free Online .NC & G-Code Backplot Viewer (GRBL, Mach3, LinuxCNC)

30-second walkthrough checking G0 rapid plunges below Z=0, verifying M3/M4 spindle and feedrate commands, estimating cycle time, scrubbing 3D CNC toolpaths, and recovering R12 DXF in your browser.

  • Color-coded G0 rapids vs G1 linear & G2/G3 arc cuts in 2D XY and 3D view
  • Live playback scrubber with synchronized X / Y / Z digital readout (DRO)
  • Pre-flight safety checks: G0 Z-crash warnings, missing M3/M4, missing feedrate

Related Calibrated CAM Tools