3D printing / Files
G-code Viewer: Preview 3D Printer G-code Layer by Layer
Open a G-code file from Cura, PrusaSlicer, OrcaSlicer, Bambu Studio, or another slicer and check it before printing: step through the layers from above, show travel moves, and read the filament length and weight, the print time, and the size of the print.
G-code Viewer: Preview 3D Printer G-code Layer by Layer: The file is read line by line, following absolute and relative moves and extruder resets, and every move that pushes filament is drawn on its layer. Filament adds up each forward extrusion; the time is the slicer's own estimate when the file has one, otherwise the moves at full speed, which is always shorter than the real print. Runs 100% locally in your browser with zero server file uploads.
- Category
- Everyday tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
Nothing is uploaded
The file is read in your browser and never uploaded. Each layer is drawn from above, with the layer below in grey; the size covers the extruded part, so skirts and purge lines count. Filament length adds up every forward extrusion; the weight assumes 1.75 mm filament.
Before printing
Look at the first layer for gaps or missing outlines, check that supports start on the bed, and step to the top to make sure the print is complete.
Filament
To convert the length to grams for another diameter or material, use the filament length and weight converter.
How to use it
- Choose a .gcode file, or load the example.
- Drag the slider to step through the layers.
- Read the filament, time, and size.
Privacy & limitations
Your G-code is read in your browser and never uploaded.
Related tools
Frequently asked questions
Which files work?
Plain-text G-code for FDM printers, such as .gcode and .gco from any common slicer; binary G-code (.bgcode) must be exported as plain text first.
Why is the time shorter than my slicer says?
Without a time comment from the slicer, the viewer divides distance by feed rate and ignores acceleration, so the real print takes longer.
Are arcs shown?
G2 and G3 arc moves are drawn as straight lines from start to end, which can look angular on curved walls.
Free tool · runs in your browser · no account required