Free online G-code viewer

Drop the .gcode your slicer wrote and watch the print build up from the bed. The page reads the moves, not the slicer's preview, so what it draws is what the printer will do.

How to preview G-code

  1. Drop the .gcode (or .gco, .g), or a CNC program (.nc, .ngc, .tap). Plain-text G-code from PrusaSlicer, OrcaSlicer, Bambu Studio, Cura and Simplify3D is read, absolute and relative extrusion alike.
  2. Drag the layer slider to build the print up and stop at any layer. The route button adds travel moves, hidden to begin with.
  3. Read the panel: layers, extruded and travel length, arcs, and the size of everything extruded, measured from extruding moves only.

What is drawn

Every G0, G1, G2 and G3 move, with arcs broken into chords. Extruding moves are the print; non-extruding moves are travel. Layers are detected from Z changes, so a file with Z-hop shows the hops as travel, not as layers. Colours mark layers, not features; the slicer's own preview knows about perimeters and infill, this page knows about moves.

Limits

Files over 100 MB or 2 million segments are refused rather than frozen. Binary G-code, as Prusa's newer firmware writes, is not read; export plain text from the slicer.

Frequently asked questions

Is G-code related to avatars in any way?

No. It is a list of printer moves; the mesh it was sliced from is the thing a VRM converter could use, and only if it is rigged.

The size looks wrong.

The panel measures extruding moves only, so the first travel from the home corner is not counted. Compare it with the slicer's bed preview.

Why is the first layer floating?

A Z offset or a purge line at a different height shows as its own layer. Scroll the slider past it.

Does it read binary G-code?

No. Export plain-text G-code from the slicer.

Is the file uploaded?

No. The text is parsed in your browser.

CNC programs too?

Yes, the same moves. Spindle and tool commands are ignored.

Back to the model

The mesh the toolpath came from opens in the STL viewer or the 3MF viewer.