Skip to content
Create account

G-code converter between controls

Convert a CNC program from one control to another with AI (Fanuc, Haas, Siemens Sinumerik, Heidenhain, Fagor…) and check it in the simulator: same holes, same toolpath, same time.

+X+YTool centre with G41/G42 compensationHomeHome
0:00 / 1:24
%
O2001 (CYCLE TIME - 80 X 50 PLATE WITH TWO TOOLS)
G21 G17 G40 G49 G80 G90
T1 M06 (END MILL D10)
G54 G00 X-8. Y-8. S3200 M03
G43 H1 Z50. M08
Z2.
G01 Z-3. F300
G41 D1 X0. Y0. F600
Y50.
X80.
Y0.
X0.
G40 X-8. Y-8.
G00 Z50.
T2 M06 (DRILL D8)
G00 X15. Y15. S1800 M03
G43 H2 Z50.
G81 G98 Z-15. R2. F180
X40.
X65.
Y35.
X40.
X15.
G80
G00 Z100. M09 M05
M30
%

Change control· Moves the program to another control, with syntax, cycles and codes adapted.PROBeta

Prepare

28 lines· Fanuc (Series 0i, 30i, 31i, 32i) / ISO Estándar

Program control

The detected one; you can change it (it's the same setting as Setup).

Change to

Beta: review it before using it. The converted program is a draft: a professional must review it line by line (especially cycles, macros and feeds) and dry-run it before machining. The simulator shows where to look.

Pro feature in development, planned for launch in January 2027. Create free account

AI can make mistakes. Always check the result before using it on the machine.

What does it do

  • Adapts syntax, cycles, comments and codes to the target control
  • Shows the line-by-line differences before touching the editor
  • Lists the warnings and the blocks without a faithful translation so you can adjust them by hand
  • It doesn't change your program until you apply it
  • The result will appear here when you press the button.

Guide

Converting a CNC program from one control to another

When a part moves to another machine, the program has to be rewritten in that control's dialect: cycles, calls and modals change name and order. The converter drafts it with AI for the control you pick, and the simulator compares it with the original so you see where they differ before it goes to the machine.

Example: a drilling operation from Fanuc to Sinumerik

The sample plate's drilling, written for Sinumerik and checked in the simulator: the same 6 holes at the same depth and the same cutting length.

Fanuc

N440 G99 G83 X12.0 Y12.0 Z-19.5 R2.0 Q4.0 F320
N450 X88.0
N460 Y68.0
N470 G98 X12.0
N480 G80
N490 G99 G81 X35.0 Y40.0 Z-8.0 R2.0 F320
N500 G98 X65.0
N510 G80

Siemens Sinumerik

N440 MCALL CYCLE83(2,0,2,-19.5,,,4,4,0,0,1,1)
N450 X12 Y12
N460 X88
N470 Y68
N480 X12
N490 MCALL
N500 MCALL CYCLE81(2,0,2,-8)
N510 X35 Y40
N520 X65
N530 MCALL
1

Pick the target control

Fanuc and its series, Haas, Siemens in ISO or native Sinumerik, Heidenhain in ISO or Klartext, Fagor, Mazak, Okuma and others. The simulator detects the control of the program you paste.

2

Cycles and calls, to their equivalent

A Fanuc G83 becomes MCALL CYCLE83 on Sinumerik or CYCL DEF 203 on Heidenhain; subprograms, compensation and units are written the way the other control expects. What has no safe equivalent is flagged instead of guessed.

3

Checked with the simulator

The original and the conversion are drawn with the same engine and compared: cutting envelope, cutting length and cycle time. If something does not match, it tells you and which line to look at.

4

A draft to review

This is an experimental feature: the result is a draft that someone who knows the target machine, its parameters and its tool change routine must review before cutting.

5

Differences, line by line

You see the original and the converted program side by side, with the changes marked, and you can keep editing in the editor before saving or downloading it.

Frequently asked questions

G-code conversion FAQ

Can I convert a Fanuc program to Siemens Sinumerik?

Yes, to Sinumerik ISO or its native language with CYCLE81, CYCLE83, CYCLE95… The simulator then compares the toolpath and the time of both programs.

And to Heidenhain Klartext?

Yes: L, CC/C, TOOL CALL and the drilling and pocket CYCL DEFs. Klartext is programmed differently, so review the contour approach and departure with extra care.

Can I run the result straight on the machine?

Not without reviewing it. It is an AI draft checked in the simulator, but each machine's parameters, offsets and cycles can change the real result.

What about things with no equivalent?

They are flagged in the program and in the conversion list instead of inventing a block that could do something else.

Is there a size limit?

A CAM program with thousands of lines has to be converted in parts (for example, per operation): the converter tells you when it is too long to do in one go.

Is it free?

The simulator is free: loading, 2D and 3D view, cycle time and warnings. The AI features are part of GetGCode Pro, currently in closed beta.

Keep going

Related apps