G-code Viewer

Open G-code from Cura, PrusaSlicer, OrcaSlicer or Bambu Studio and see the toolpath layer by layer, print time, filament and size. Free, in your browser.

Runs in your browser. Your files are never uploaded. How it works

The G-code viewer shows what a printer will actually do with a sliced file: every extrusion line, coloured from blue at the bed to orange at the top, with a slider to step through the layers. Cards show the print time, filament length and weight, number of layers and the size of the print.

Test file

A G-code file written for the test: the outline of a 20 mm cube, 100 layers of 0.2 mm at 30 mm/s, 13.5 KB.

The G-code viewer with cards for print time, filament, weight, layers and size, a layer slider at 60 of 100, and the hollow square outline of the cube in 3D
Layer 60 of 100 (Z 12 mm), coloured by height.

The file was read in 0.1 s. The viewer showed 0.27 m of filament, which matches the 0.266 m written in the file, 100 layers, a size of 20 × 20 × 20 mm, and a print time of about 4 minutes; the moves alone take 267 seconds. Real slicer files carry their own time estimate, which the viewer uses instead.

Check a file before a long print: that supports are where you expect, the first layer covers the bed, a pause is at the right height, or a model that came from someone else is sliced the way they say.

To estimate the material before slicing, use the 3D Print Cost Calculator.

Frequently asked questions

Where does the print time come from?

From the slicer's own estimate when the file contains one (Cura, PrusaSlicer, OrcaSlicer and Bambu Studio write it). Otherwise it is calculated from the move speeds, which ignores acceleration, so real prints take longer.

Can it open CNC or laser G-code?

It is made for 3D printers: it draws the moves that extrude plastic. CNC and laser files have no extrusion and show nothing.

Does it support binary G-code (.bgcode)?

Not yet. In PrusaSlicer, turn off binary G-code in the printer settings and export again.

Is my file uploaded?

No. The G-code is read in your browser.

Related tools