Free web demo

G-code Viewer

Open a 3D printer or CNC file, scrub through the layers and see print time, filament and path length. Nothing is uploaded: your file stays in your browser.

Load G-code

Drop a file here

.gcode .nc .ngc .gco .txt, up to 20 MB

No file loaded.

Toolpath

No toolpath yet
Drop a file, paste G-code or load a sample.
No layers

Stats

Load a file to see stats.

Time is a rough estimate from feed rates (no acceleration). Filament weight assumes 1.75 mm PLA.

A free G-code viewer for 3D printing, CNC and laser files

G-code Viewer opens a plain-text G-code file and draws the toolpath from above. Drop in a file from your slicer or CAM program, or paste the text, and the tool path appears at once. Drag to pan, scroll or pinch to zoom, and use the layer slider to see how the part is built up one layer at a time. Your file is read inside your browser and is never uploaded.

What you can check before you print or cut

The stats panel shows the number of layers, the size of the part in millimetres, the total extrusion or cutting path, the travel distance, a rough time estimate from the feed rates, and the length of filament the file will use. For 1.75 mm PLA the viewer also gives an approximate weight in grams. Colour the path by layer height or by speed to spot slow sections, and switch travel moves on to see where the head jumps between features.

Supported commands

The parser understands G0 and G1 linear moves, G2 and G3 arcs with I and J or with a radius R, absolute and relative positioning with G90 and G91, inches and millimetres with G20 and G21, G92 position resets, M82 and M83 extruder modes, feed rates, line numbers, semicolon comments and bracket comments. Lines it cannot read are skipped and listed as warnings, so one bad line never stops the preview. Very large files are parsed in chunks so the page stays responsive, and the drawing is simplified when zoomed out while the statistics stay exact.

Who it is for

Frequently asked questions

Is my G-code file uploaded anywhere?

No. The file is read and parsed in your browser. Nothing is sent to a server.

What file types can I open?

Plain text G-code such as .gcode, .gco, .nc, .ngc and .txt, up to 20 MB. You can also paste G-code into the text box.

How accurate is the print time estimate?

It is a rough figure that divides each move by its feed rate. It ignores acceleration, jerk and firmware limits, so real print time is usually longer.

Does it show CNC and laser files?

Yes. Files without extrusion values are treated as cutting paths. The view is top-down, and each distinct Z level is shown as a layer, so multi-pass cuts and plunges can be stepped through.

Will there be an offline phone app?

An offline phone app is planned. Leave your email in the early access box to be told when it launches, and tell us which file type you need next.