Try the G-code Editor & Inspector — Insert Pauses
Edit G-code in your browser: insert filament changes (M600), pauses, temperature, speed, flow or fan commands at a chosen layer or height, strip comments.
- Free to use
- No signup
- Nothing to install
- Runs in your browser
To change colour at 3.0 mm on a 0.2 mm print: choose Filament change (M600), Where = Z (mm), value 3.0 → the tool inserts M600 right before the first layer at or above 3.0 mm (layer 15).Open the G-code Editor & Inspector — Insert Pauses
Illustration. Open the tool for the real thing.
See it in action
The G-code Editor & Inspector — Insert Pauses with sample data entered and the result showing.

What is the G-code Editor & Inspector — Insert Pauses?
Sometimes you need to change a sliced file without re-slicing: swap filament at a layer for a colour change, pause to insert magnets, lower the temperature for a bridge-heavy section, or shrink a huge file for an SD card. This editor indexes every layer in your G-code (using the slicer's layer markers or Z changes), then lets you queue insertions at a layer number or height — M600 filament change, M0/M25/@pause/Klipper PAUSE, M104 temperature, M140 bed, M220 speed, M221 flow, M106 fan or any custom lines.
The clean-up tab strips comments (keeping slicer markers so viewers still work), removes display/progress commands, rounds coordinates to cut file size, adds a Z offset, scales all feed rates and prepends or appends your own start/end G-code. The inspector tab lists every layer with its line number and time, and has a search box and line jumper with context. The edited file is re-validated against the same parser, so layers stay intact.
3 steps to your result
Open the tool and follow along. Nothing to install.
What you get
Filament change, pauses, temperature, speed, flow, fan and custom G-code, queued and removable.
Remove comments, round numbers, drop progress lines — files often shrink 20–40%.
Layer table with line numbers and search with ±18-line context.
Insertions go before the slicer's layer-change marker so motion stays valid.
AZRS tools are free to open and use.
It opens in your browser, so there is nothing to download.
Used for
Pick one to see how it fits.
How it compares
A plain look at this tool next to the usual alternative.
| This 3d tool | Desktop software | |
|---|---|---|
| Install | Nothing to install | Usually an app or program to install |
| Account | No signup | Depends on the product |
| Cost | Free to use | Free or paid, depends on the product |
| Where it runs | In your browser tab | On your computer |
Questions people ask
Where are commands inserted?
Immediately before the layer-change comment of the chosen layer (or before the first extruding move if no markers).
Does stripping comments break anything?
No, G-code comments are ignored by firmware; markers kept optionally for viewers.
Will the edited file be re-checked?
The layer indexer re-reads your file; open the result in the viewer to confirm.
Is it private?
Yes — the file stays in your browser.
How do I use the G-code Editor & Inspector — Insert Pauses?
1. Drop in your .gcode file. 2. Queue an insertion (e.g. M600 at layer 25) or choose clean-up options. 3. Optionally check the layer in the Inspect tab. 4. Press Apply & download.
More free tools
Related to the G-code Editor & Inspector — Insert Pauses.
Try the G-code Editor & Inspector — Insert Pauses now
Insert filament changes, pauses, temperature/speed changes at a layer; strip & compress. Free to use.
Try it free