Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightEmbroidery & CNC Toolschevron_rightCNC G-code ViewerCNC G-code Viewer

CNC G-code Viewer

Visualize milling and router G-code as a real 3D toolpath — rapid moves, cutting passes, arcs and Z-depth colored, right in your browser.

upload_file

Click to browse or drag & drop files here

Choose a CNC G-code file

Accepted: .gcode,.nc,.ngc,.cnc,.tap,.g,.gc,.txt

Accepts .gcode, .nc, .ngc, .tap, .g, .gc and .txt files up to a few hundred MB. Processed entirely in your browser.
view_in_arNo file loaded yetChoose a CNC G-code file above to see its 3D toolpath.

Similar Tools

CNC Toolpath Analyzer

CNC Toolpath Analyzer

Analyze milling and router G-code for feed rates, spindle speeds, cutting vs rapid distance, an estimated machining time, per-tool breakdown and depth-per-pass profile.

G-code Viewer

G-code Viewer

Preview a sliced G-code file in 3D: layer by layer, coloured by feature, move type, speed or extruder.

3D Embed Code Generator

3D Embed Code Generator

Generate ready-to-paste embed code for a 3D model in four flavours, free and entirely in your browser.

Embroidery File Viewer

Embroidery File Viewer

Open a DST, EXP, JEF, PES or PEC embroidery file and see the stitches, real dimensions in mm and inches, and the thread colours used.

Endian Converter

Endian Converter

Convert byte order between little endian and big endian hex values.

PDF Link Extractor

PDF Link Extractor

List every link in a PDF — external, internal, mailto, and the bare URLs in the text that carry no annotation — with pages, anchor text and risk flags.

Gradient Palette Extractor

Gradient Palette Extractor

Extract gradient-ready color stops from an uploaded image.

apps

More Tools

Browse our full collection of free online tools.

The CNC G-code Viewer renders a milling or router program as a real three-dimensional toolpath, not a flat preview. Unlike a 3D-printing G-code, which mostly stacks flat horizontal layers, a milling program routinely plunges, ramps and arcs through Z within a single pass — so this viewer draws the whole path in 3D, exactly as the machine will move.

Drop in a .nc, .ngc, .tap, .gcode or .g file exported from Fusion 360, Carbide Create, VCarve, LinuxCNC or any grbl-compatible post processor. The tool distinguishes rapid moves (G0, shown as translucent blue lines) from cutting moves (G1/G2/G3), which are colored along a depth ramp — red near the top of the stock, blue at the deepest cut — so you can spot roughing versus finishing passes at a glance. Arcs (G2/G3, whether specified with I/J center offsets or an R radius) are tessellated into smooth curved segments rather than drawn as straight chords.

For multi-tool jobs, switch to "color by tool" to see exactly which tool cut which part of the path — tool changes (T words and M6) are tracked automatically. The stat panel reports total move count, cutting versus rapid travel distance, the bounding box of the cut geometry, spindle speed range (from M3/M4 S values), and the number of distinct Z-depths the program visits.

Orbit, pan and zoom with your mouse or touch; snap to isometric, top or front views, or reset the camera to frame the whole part. Toggle rapid moves and the stock bounding box on or off to declutter the view.

Everything runs locally in your browser — the file never leaves your machine, which matters for proprietary CAM output. If the program uses cutter compensation (G41/G42), the viewer shows the path exactly as programmed, and says so plainly, since applying real cutter compensation requires knowing the tool diameter the controller would use.

Pair it with the CNC Toolpath Analyzer for feed rates, machining time estimates and a full depth-per-pass breakdown.