G-code Viewer

See exactly what your printer will do. Open sliced G-code and play it back layer by layer, with walls, infill and supports in color. Free, in your browser, and nothing is uploaded.

Drop a G-code file here

From Bambu Studio, OrcaSlicer, PrusaSlicer or Cura. Watch it print layer by layer.

.gcode and Bambu .gcode.3mf · files stay in your browser

How to preview G-code

  1. Slice your model as usual in Bambu Studio, OrcaSlicer, PrusaSlicer or Cura, and export the G-code. Bambu Studio and OrcaSlicer can also export a sliced plate as .gcode.3mf.
  2. Drop the file on the viewer, or click Open G-code. A .gcode.3mf with several plates gets a plate picker.
  3. Press Play to watch the nozzle build the print, or drag the layer slider to jump to any height. Tick Only this layer to see a single layer from above.
  4. Untick line types in the list to hide them, for example supports or sparse infill, and tick Show travel moves to see where the nozzle moves without printing.

What the colors mean

Slicers write a comment before each kind of line, such as ; FEATURE: Outer wall in Bambu Studio and OrcaSlicer, ;TYPE:External perimeter in PrusaSlicer, or ;TYPE:WALL-OUTER in Cura. The viewer reads those comments and colors the lines the same way for every slicer: orange outer walls, yellow inner walls, red sparse infill, purple solid infill, green supports. Lines from start G-code, such as the purge line, are gray.

Print time and filament

Print time and filament weight come from the slicer's own summary at the top or bottom of the file, so they match what your slicer showed. If a file has no summary, the viewer works out the time from the moves and their speeds. That estimate ignores acceleration, so real prints take longer.

Before you slice

To check a model before slicing, open it in the STL & 3MF viewer. To fix holes and flipped faces, use Repair STL, and to fit several parts on one plate, use the print bed arranger. New to slicers? Read 3D Printing 101.

FAQ