How to convert G-code to Toolpath JSON
Before you start
Paste G-code content or drop a matching file.
Accepted: .gcode, .nc, .tap · text/x-gcode- Paste valid G-code content, choose files, or drag them onto the drop zone.
- Confirm the detected format. Mixed-format batches are flagged before conversion.
- Select “Convert on this device.” Produces previewable Toolpath JSON text and a correctly named download.
How this converter behaves
Biological, molecular, genomic, matrix, and binary scientific metadata are parsed into bounded typed records and serialized locally without executing content.
What happens to your data?
The conversion engine runs in this browser tab. OmniCastConverter has no upload API and never sends your content, file name, or converted result to a server.
Fidelity and limitations
This route is classified as structural. The converter preserves meaning and structure supported by both formats.
- Scientific records are validated and normalized, but domain-specific annotations and application conventions may require expert review.
- Toolpaths are inspected and normalized only. Machine state, offsets, canned cycles, macros, extrusion semantics, controller dialects, and physical safety are not simulated; always verify output in the target machine software.
Try a valid example
The “Use example” action in the workbench loads this exact input. Produces previewable Toolpath JSON text and a correctly named download.
; local toolpath example
G21
G90
G0 X0 Y0 Z5
G1 Z0 F300
G1 X40 Y0 F900
G1 X40 Y20
G1 X0 Y20
G1 X0 Y0
M30