- Full name
- G-code toolpath
- Type
- Printer toolpath
- Used in
- 3D printers, Cura, PrusaSlicer, Bambu Studio, OctoPrint
- Strength
- Recover a model from a print file.
- Limits
- The result is the printed strands, not the original smooth model.
What is a GCODE file?
G-code is the list of moves a 3D printer follows. Converting it rebuilds the printed strands as a mesh, so you can see or reuse a print when the original model is missing.
What a .gcode file holds
- No colours
- No textures
- Its own unit
- One mesh
How to open a GCODE file
- Our free G-code viewer · online, shows each extruded layer
- PrusaSlicer, Cura, Bambu Studio preview · slicers
- NC Viewer · online
Questions
What is a .gcode file?
G-code is the list of moves a 3D printer follows. Converting it rebuilds the printed strands as a mesh, so you can see or reuse a print when the original model is missing.
How do I open a GCODE file?
Drop it into our free GCODE viewer: it opens in your browser and nothing is uploaded. On a desktop, PrusaSlicer, Cura, Bambu Studio preview, NC Viewer also open GCODE files.
Can I turn G-code back into an STL?
Yes, as the printed shape: we rebuild every extruded line as a strand, so you get the model with its layer lines. It is a recovery tool, not an exact copy of the original design.
Is G-code a 3D model?
No. It is a list of instructions for the printer: move here, extrude this much. The shape only appears when you draw those moves.