Free tool · Runs in your browser

G-code viewer Every move, layer by layer.

Open G-code from any FDM slicer to see the toolpaths in 3D, check time and filament per layer, and insert a filament change or pause at any layer. Nothing is uploaded.

  • PrivateFiles never leave your device
  • Any slicerPrusa, Orca, Bambu, Cura
  • Layer by layerTime and filament each
  • Edit and savePauses and colour changes

Drop a file anywhere here · Drag to rotate · Scroll or pinch to zoom

Layer — of —
Size
—
Print time
—
Filament
—
Layers
—

File

Summary

Slicer
—
Print time
—
Filament
—
Layers
—
Nozzle and bed
—
Retractions
—
Travel moves
—
Filament and tool changes
—

Show

Features to draw

Insert at a layer

Bambu Lab printers: use Add pause on Bambu Studio’s layer slider instead.

100 %
100 %

Download

Open a file to view it.

Your file is read on this device and is never uploaded.

Advertisement

The method

See exactly what your printer will do

G-code is the list of moves your slicer writes for the printer. This viewer reads every move in the browser, groups them into layers and features using the slicer’s own comments, and draws the extruded paths in 3D. Drag the layer slider to watch the print build up.

  1. Open the file. Plain G-code from any FDM slicer, or a sliced Bambu .gcode.3mf.
  2. Check the summary: time, filament, temperatures and how much of the time is spent travelling.
  3. Add changes at a layer if you need them, then download the edited file.

Estimates

Where the print time comes from

Slicers simulate acceleration and write their estimate into the file. When that comment is there, the viewer shows it and shares it out across the layers in proportion to their moves. When it isn’t, the viewer adds up each move’s distance divided by its speed. That ignores acceleration, so it is a minimum: real prints usually take longer.

Editing

Inserting a pause or filament change

Each change goes in just before the chosen layer starts, with a comment so you can find it. The command depends on your printer’s firmware:

FirmwareFilament changePauseNotes
MarlinM600M0M600 needs ADVANCED_PAUSE_FEATURE and an LCD. M0 waits for a click.
Prusa (MK3, MK4, MINI, XL, CORE One)M600M601The same commands PrusaSlicer inserts from its layer slider.
KlipperPAUSEPAUSENeeds the [pause_resume] section. M600 works only if you have a macro for it.
  • Temperatures use M104 (nozzle) and M140 (bed), which don’t wait. Fan uses M106 with S from 0 to 255. Speed uses M220, as a percentage.
  • Test on a small print first. Firmware settings vary, and a pause your printer doesn’t support is ignored.
  • Bambu Lab printers check the files they receive; use Bambu Studio’s own Add pause on its layer slider.

Colours

What the colours mean

FeatureColourSlicer labels
Outer wall #F2B33DExternal perimeter, Outer wall, WALL-OUTER
Inner wall #E2574CPerimeter, Inner wall, WALL-INNER
Infill #8B5CF6Internal infill, Sparse infill, FILL
Top and bottom #2F6FEDSolid infill, Top surface, SKIN
Bridge #4BB7C9Bridge infill, Bridge
Support #3FA672Support material, SUPPORT
Skirt and brim #9AA3B5Skirt, Brim, SKIRT
Other #D9D6CFAnything else

Questions, answered

Is my file uploaded?

No. The file is read and edited in your browser.

Can it open Prusa binary G-code (.bgcode)?

Not yet. Export plain G-code from PrusaSlicer by turning off binary G-code in the printer settings.

Why doesn’t my file show colours for each feature?

The colours come from the slicer’s comments. Files without them, such as some older or post-processed files, show everything as one colour.

Is the edited file safe to print?

The viewer only adds the lines you choose, with a comment above each. Check them in the preview text, and try a small test first.

Sources

Print advice is a starting point drawn from these references, checked on 2026-11-07. Community posts are one maker's experience, not a specification.

  1. M600 – Filament Change Marlin
  2. M0–M1 – Unconditional stop Marlin
  3. Insert pause or custom G-code at layer Prusa Research
  4. G-Codes (PAUSE and RESUME) Klipper