Free Online G-Code Viewer, CNC Backplotter & G-Code-to-DXF Converter

Inspect .nc, .tap, .gcode, and .ngc toolpaths in 2D XY or 3D isometric orbit—100% locally in your browser. Verify G0 rapids, Z-depth step-downs, M3 plasma pierces, cycle time, and export 2D cut paths back to AutoCAD R12 .DXF.

sample-plasma-gusset.tap G20 (Inches) Drag: Pan · Scroll: Zoom
100%
LINE #79 MODE G0 X 0.000 Y 0.000 Z 0.500 F 236 G0 X0.0000 Y0.0000

Shop-Floor Toolpath Ledger & CAM Safety Check

PASS · 0 CAM WARNINGS
X × Y × Z Envelope 8.00" × 5.20" × 0.50" 203.2 × 132.1 × 12.7 mm
Cut Length (G1 / G2 / G3) 38.99 in 990.4 mm · 9 arcs
Rapid Traverse (G0) 30.37 in 771.5 mm non-cutting travel
Pierces / Spindle Starts 6 pierces 3.6s dwell · 0 tools
Est. Cycle Time 00:39 45 segments · Z [0.00, 0.50] in
PASS No lateral G0 rapids below Z=0, explicit unit code present (G20), feedrates valid, and envelope within normal machine limits.

Need Clean CAD Source Files Before Posting G-Code?

CutPath CAD's four browser-native workbenches compile production-ready R12 DXFs, watertight relief STLs, and nested 4×8/5×10 sheets with zero splines and clean arc fitting.

Supported G-Code & M-Code Dialect Reference

Deterministic client-side RS-274D parser tested against Langmuir FireControl, SheetCam, Fusion 360, Vectric VCarve, GRBL, Mach3/Mach4, and LinuxCNC post-processors.

Command GroupSupported CodesBackplotter Behavior
Motion & ArcsG0, G1, G2 (CW), G3 (CCW)Supports both I/J/K center offsets and R radius arcs, full 360° circles, and helical Z interpolation.
Units & PositioningG20 (in), G21 (mm), G90, G91, G90.1, G91.1Tracks modal absolute/incremental coordinates and arc center modes; converts envelope & cut length to both mm and inches.
Planes & DwellG17 (XY), G18 (XZ), G19 (YZ), G4 P…Projects arcs in active plane; accumulates G4 dwell (P ≤ 60 as seconds, P > 60 as ms) into cycle time.
Spindle / Torch & ToolsM3, M4, M5, F, S, TCounts off→on plasma/laser pierces, marks pierce points in green, tracks tool changes, and computes feedrate cycle time.

Frequently Asked Questions

What CNC G-code file extensions and controllers does this viewer support?

It opens .nc, .tap, .gcode, .ngc, .cnc, and plain .txt toolpaths directly in your browser. The parser handles standard RS-274D / Fanuc / GRBL / Mach3 / Mach4 / LinuxCNC / Langmuir FireControl / SheetCam / Vectric dialects including G0, G1, G2/G3 arcs (both I/J/K center offsets and R radius format, plus full 360° circles and helical Z), G20/G21 units, G90/G91 positioning, G4 dwells, and M3/M4/M5 spindle or plasma torch transitions.

How does the G-Code to R12 DXF backplot converter work?

Click "Download Cut Paths as R12 .DXF (Free)" to export all G1 linear feeds and tessellated G2/G3 arc moves (excluding G0 rapid traverses and pure-Z vertical plunges) onto a clean CUT_PATHS layer inside a strict AutoCAD R12 (AC1009) ASCII .DXF file. It is ideal for recovering 2D part geometry from a legacy .nc or .tap file when the original CAD drawing is missing.

What CAM safety warnings does the backplotter catch before I run the machine?

The built-in diagnostics flag lateral G0 rapid moves occurring below Z=0 (tool or plasma torch crash risk), missing explicit G20/G21 unit codes, cutting moves executed before any F feedrate is declared, and oversized toolpath envelopes (>200 in) that typically indicate an inch-vs-millimeter post-processor mismatch.

30-Second Walkthrough: Inspect CNC G-Code Rapids, Plunges & Export R12 DXF

Watch how CutPath CAD backplots .nc, .tap, and .gcode files locally in your browser with zero upload: toggle 2D XY and 3D isometric orbit, scrub toolpath playback with a live X/Y/Z DRO, flag G0 rapid crashes below Z=0 before hitting Cycle Start, and recover editable AutoCAD R12 (AC1009) .DXF geometry in one click.

  • 2D XY & 3D isometric orbit with dashed G0 rapids vs solid G1/G2/G3 cuts
  • Automated CAM checks: rapid plunges below Z=0, missing M3/M4, missing feedrate
  • 1-click G-Code to strict AutoCAD R12 (AC1009) DXF recovery for SheetCam & LightBurn
100% free in-browser · Zero upload Watch on YouTube →