Repository navigation
Getting Started
Get up and running with G-Code Modifier in under a minute.
Launch G-Code Modifier in your browser — no installation required. Or download gcode-modifier.html from the GitHub repo and open it locally.

Choose your printer's firmware from the dropdown at the top. This affects pause commands, filament change sequences, and G-code reference entries.
| Firmware | Printers |
|---|---|
| Bambu Lab | A1, A1 Mini, P1S, X1C |
| Klipper | Voron, Ender 3 (with Klipper), custom builds |
| Marlin | Ender 3, Prusa MK3, CR-10, most stock printers |
| RepRapFirmware | Duet-based printers |
See Firmware Profiles for command details per firmware.
Drop a .gcode, .gco, or .g file onto the page, or click the file input to browse.
Supported slicers: Cura, Bambu Studio, PrusaSlicer, OrcaSlicer, SuperSlicer, Simplify3D, ideaMaker — auto-detected from file headers.
PrusaSlicer / OrcaSlicer: These export binary G-code by default, which cannot be parsed. Go to Printer Settings → General → Firmware → G-code flavor and uncheck "Export binary G-code".
Large files parse asynchronously in 50,000-line chunks with a progress indicator — files over 100k lines may take a few seconds but won't freeze the browser.
The interface uses a three-panel layout:
| Panel | Contents |
|---|---|
| Left | Layer navigator — lists all layers with Z-height, provides search and filter |
| Center | Code view (syntax-highlighted G-code) or 3D visual view (WebGL) |
| Right | Modification tools — 9 tabs for different operations |
On mobile, the layout collapses to a vertical stack with a hamburger menu.

Shows your G-code with syntax highlighting. Use Ctrl+F to search. Click a layer in the left panel to jump to it.
Press Space to toggle to the 3D visual view.

Extrusion moves are colored by type (outer wall, infill, support, etc.). Gray lines are travel moves. See Viewing & Navigation for full camera controls.
- Viewing & Navigation — 3D controls, layer slider, simulation
- Modification Tools — add pauses, filament changes, and more
- Analysis — detect print failures before they happen
- Keyboard Shortcuts — press ? in the app to see all shortcuts
← Home | Viewing & Navigation →
Getting Started
User Guide
Reference