G-code Filament Change (M600)
Insert an M600 filament-change (or any G-code block) at a chosen layer or Z height — multi-color prints on a single extruder. Runs in your browser, free.
— or paste the G-code —
About G-code Filament Change (M600)
The classic single-extruder multi-color trick: pause mid-print, swap filament, continue — inserted as an M600 at the right layer. Drop your sliced G-code (or paste it), pick the target layer from the detected list (PrusaSlicer/Cura ;LAYER markers are recognized automatically, and files without markers get synthesized Z-height entries), or type an exact Z height. You can also edit the inserted block — plain M600 for printers with built-in filament-change routines, or a custom park/unload/purge sequence.
The modified file downloads with the insert clearly commented. Everything is text processing in your browser — the G-code never leaves the machine. Tip: for multi-color prints, insert at the layer where the top color starts; the printer parks, you swap filament, and it resumes on the next layer.
How to use G-code Filament Change (M600)
- Drop your sliced G-code file (or paste the text).
- Pick the layer — or enter an exact Z height — where the color change should happen.
- Optionally edit the inserted block (M600 by default), then download the modified file.
Frequently asked questions
Does M600 work on my printer?
Most Marlin/Klipper machines with ADVANCED_PAUSE/FILAMENT_CHANGE enabled handle M600 natively (park + unload + prompt + resume). If your firmware doesn't, put a manual sequence in the block: G91, G0 Z10, G90, M0 pause, etc.
Which layer should I pick?
The layer where the new color starts printing — i.e. the first layer AFTER the last one in the old color. Preview in the G-code viewer to confirm.
Can I insert something other than M600?
Yes — the block is editable text, one command per line: temperature changes, custom purge moves, beeps (M300), whatever your printer understands.