LI
little-did-I-know/Gcode
3d printer gcode visualizing, modifying and analysis tool
G-Code Modifier
A browser-based G-code editor and print analyzer for 3D printing. Inspect layers in 3D, simulate prints, detect potential failures before they happen, and modify G-code — all without installing anything.
Try it live — no download required.
Features
Getting Started
- Open the live version or open
gcode-modifier.htmllocally (WebGL2 required) - Select your firmware from the dropdown (Bambu Lab, Klipper, Marlin, RepRapFirmware)
- Drop a
.gcode/.gco/.gfile onto the page - Browse layers, run analysis, add modifications, and export
Slicer Compatibility
| Slicer | Status |
|---|---|
| Cura, Bambu Studio, PrusaSlicer, OrcaSlicer, SuperSlicer, Simplify3D, ideaMaker | Fully supported |
PrusaSlicer exports binary G-code by default. Uncheck the binary option in preferences to export plain
.gcode.
For Developers
Source lives in src/ as ES modules. A zero-dependency build script inlines everything into a single gcode-modifier.html.
node build.js # build
node --test # run testsEdit files in src/, not gcode-modifier.html directly. Run both commands before committing.
Documentation
- User Guide — detailed feature documentation, keyboard shortcuts, firmware profiles
- Analysis Theory — thermal model, structural analysis, motion kinematics
- DISCLAIMER.md — safety notice and liability
License
MIT — see DISCLAIMER.md for safety and liability terms.
On this page
Languages
G-code55.7%JavaScript22.2%HTML22.1%
Contributors
MIT License
Created February 20, 2026
Updated March 17, 2026







