G-code Viewer
Drop a .gcode file from your slicer to see every toolpath in 3D. Step through it layer by layer, colour the moves by type, speed, line width or extruder, and play the print. You also get the print time, filament length and weight, size and temperatures. The file stays on your device.
How to view G-code online
- 1
Export the G-code
Slice your model in Cura, PrusaSlicer, OrcaSlicer, Bambu Studio or any slicer and save the .gcode file (or the sliced .gcode.3mf).
- 2
Drop it in the viewer
Drag the file onto the viewer or press Choose file. It is read in your browser, in the background, so even big files keep the page responsive.
- 3
Scrub the layers
Move the layer slider to see one layer and everything under it, or press Play to watch the print build up move by move.
- 4
Check before you print
Look for gaps, missing supports or odd travel, read the time and filament numbers, and save a PNG to share.
What the colours mean
With Colour by set to Move type, each line is coloured by the part of the print the slicer says it is. Untick a type in the legend to hide it.
| Outer wall | The visible outside surface of the part (external perimeter). |
|---|---|
| Inner wall | The walls inside the outer one (perimeters). |
| Infill | The sparse pattern that fills the inside. |
| Top / bottom | Solid layers that close the top and bottom (skin, solid infill, ironing). |
| Bridge | Lines printed in the air between two supports. |
| Support | Support material and support interface. |
| Skirt / brim | The loop around the part, or the brim that holds it to the bed. |
| Prime / wipe tower | The tower a multi-colour printer uses to clean the nozzle after a filament change. |
| Travel | Moves with no filament (off by default; turn on "Travel moves"). |
Where the numbers come from
Everything is read from the G-code itself, in your browser.
| Print time | The slicer's own estimate when the file has one (Cura ";TIME:", PrusaSlicer, OrcaSlicer and Bambu Studio comments). Otherwise our estimate from the feed rates, without acceleration, so a real print usually takes longer. |
|---|---|
| Filament | Length pushed by the extruder (all E moves added up), and the weight from the filament diameter and density, which you can change. |
| Layers | Counted from the heights of the printed moves; the layer height is the most common step. |
| Size | The bounding box of the part, skirt and start lines left out. |
| Temperatures | Nozzle and bed temperatures set in the file (M104/M109, M140/M190). |
| Tools | Each extruder (T0, T1...) and its filament, for multi-material and tool-changer prints. |
Have a photo or idea instead? Make a printable model with AI
Turn a photo or a sentence into a 3D model with an STL download, ready to slice. The AI generators use credits; this viewer does not.
More free 3D printing tools
G-code viewer FAQ
Cura, PrusaSlicer, SuperSlicer, OrcaSlicer, Bambu Studio, Simplify3D, ideaMaker, KISSlicer, Slic3r and Prusa are named only to describe file compatibility; The3DAI is not affiliated with or endorsed by them.