GAllGcode

G-code to JSON

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

Input

3D toolpath preview

Result

Output

No output yet.
How to use it

About G-code to JSON: The parsed program is serialized into structured JSON, including stats, bounds and all moves.

  1. Prepare your file. Load a sliced G-code file. The parser records moves, bounds and statistics. 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.PressConvert to JSON. 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: Commands the parser does not recognize are listed in diagnostics rather than converted into move records.

Frequently asked questions

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

Related tools

All tools