GAllGcode

G-code Header Editor

Work with G-code and G-code files. Runs locally in your browser — nothing is uploaded.

Input

Settings

3D toolpath preview

Result

Output

No output yet.
How to use it

About G-code Header Editor: This tool replaces the custom start and end G-code in a sliced file without touching the toolpaths in between.

  1. Prepare your file. Know the start and end blocks your printer or CNC controller expects. Accepted inputs: G-code.
  2. Load the G-code.Paste a program into the input box, drop a .gcode / .nc file onto the upload area, or pressLoad sampleto try the built-in example. Tools that need two programs provide a second input.
  3. Set the options.Adjust the fields in the Settings card to match your machine, material and firmware. The note below them explains any limitation of this tool.
  4. Run the tool.PressApply header. The result panel shows statistics, a report and a preview when the output is an SVG or STL. A warning appears instead of output when a conversion cannot run in the browser.
  5. Export and work safely.UseDownloadorCopyto save the result, then check it before sending anything to a machine. Dry-run the program above the material with the tool off, verify the bounds, and never leave the machine unattended.

Please note: Keep G21, G90 and homing in the header unless your firmware requires otherwise - a bad header can crash a print.

Frequently asked questions

Is G-code Header Editor free to use?
Yes. G-code Header Editor is free, needs no account and runs entirely in your browser.
Are my files uploaded when I use G-code Header Editor?
No. G-code Header Editor processes files locally in your browser; nothing is uploaded to a server.
What can I do with the output from G-code Header Editor?
Download the G-code result and check it before using it with your printer, router or laser.

Related tools

All tools