Or drop a .gcode file here (up to 300 MB) — Cura, PrusaSlicer, OrcaSlicer, Bambu Studio, Simplify3D.
This G-code viewer draws the toolpaths of a sliced 3D print layer by layer, colored by feature type, and reports layers, filament length and the slicer’s time estimate. The file is parsed in a background worker in your browser.
Last updated:
How it works
Open the G-code
Press Open G-code file or drop the .gcode, .gco or .g file exported by your slicer.
Scrub through layers
Drag Up to layer to look inside the print, From layer to hide the bottom, or press Only this layer.
Check the print
Read filament length, weight, temperatures and the slicer estimate, and toggle Show travel moves.
Features
Feature colors
Color by Feature uses the slicer’s ;TYPE: comments: outer and inner walls, top and bottom skin, infill, support, skirt and brim get their own colors and a legend.
Speed colors
Color by Speed paints every extrusion with its commanded feed rate (F, shown in mm/s) on a blue-to-red scale, with the slowest and fastest values of the file in the legend — handy to see slow outer walls or a bridge speed that never applied.
Arcs and extrusion modes
G2/G3 arcs (I/J or R), absolute and relative extrusion (M82/M83), G92 resets, G20 inches and G91 relative moves are followed.
Layer detection
Layers come from ;LAYER: and ;LAYER_CHANGE comments, or from changes of the extrusion height when a file has none.
Honest times
The slicer’s own estimate is shown when present; the rough time (length ÷ feed rate) ignores acceleration.
Filament numbers
Filament length counts extruding moves only — retractions and primes without motion are excluded — and the weight assumes PLA at 1.24 g/cm³.
Limits & privacy
G-code files up to 300 MB (100 MB on phones and devices with 4 GB of memory or less) open here; up to 20 million line segments are drawn (5 million on those devices). Statistics always cover the whole file.
CNC and laser G-code opens too, but feature colors and filament values only make sense for FFF printers. Nothing is uploaded — see the privacy page. For the material a model needs before slicing, use the STL volume calculator.
Example: a print failed at layer 120. Open the file, drag Up to layer to 120 and look for a travel move over empty space or a missing support below.
FAQ
Does it read Bambu or Prusa binary G-code?
No, only plain-text G-code is read, not Bambu or Prusa binary G-code; turn off Binary G-code in PrusaSlicer’s printer settings to export text.
Can it convert STL to G-code?
No, STL to G-code is not possible here: slicing needs a slicer (Cura, PrusaSlicer, OrcaSlicer); there is no permissively licensed slicer that runs in a browser. Check the model in the STL viewer first.
Why does the rough time differ from the slicer?
It ignores acceleration, heating and pauses. Trust the slicer estimate when it is shown.
Is the speed the real print speed?
It is the F value the slicer wrote. Firmware acceleration and jerk limits make short moves slower, and the printer’s speed override knob is not in the file.
Is the file uploaded?
No, the G-code file is not uploaded: it is read in your browser.