The honest version of "convert my G-code"
Motion is common ground. G0–G3, G28, G90/G91 and G92 mean the same thing in Marlin, RepRapFirmware, Klipper, Smoothieware and Repetier. Almost everything else is where the firmwares actually differ: heater and fan indexing, bed levelling, retraction, acceleration and jerk, macros. A converter that silently rewrites those does more damage than one that leaves them alone and tells you.
So this tool applies only the mappings that are exact, and reports the rest.
What gets rewritten
M900 K…→SET_PRESSURE_ADVANCE ADVANCE=…for Klipper, orM572 D0 S…for RepRapFirmware. Same number, same meaning.M203between Marlin's mm/s and RepRapFirmware's mm/min — every axis value multiplied or divided by 60.M205X/Y jerk →M566in mm/min for RepRapFirmware.M420 S1/S0→BED_MESH_PROFILE LOAD=default/BED_MESH_CLEARfor Klipper, orG29 S1/G29 S2for RepRapFirmware.M201/M203→SET_VELOCITY_LIMITfor Klipper.
What gets reported
Four lists, and they are the point of the tool, not a footnote.
Converted — the command, the count, what it became and why. Kept as-is — supported in the target firmware unchanged. Needs your attention — partial or absent support, each with the note that says exactly what breaks: "Klipper has no M205; cornering is set by square_corner_velocity in printer.cfg." Unknown — commands not in the table at all, passed through untouched and listed so you know to check them.
Nothing is ever silently dropped. By default unsupported commands stay in the file and are flagged. If you ask for it, they are commented out with a ; UNSUPPORTED (Klipper): prefix, so the change is obvious in a diff and trivially reversible.
Flavour markers and provenance
The ;FLAVOR: line Cura writes and the gcode_flavor = … setting in a Slic3r-family footer are updated to match the target, and a two-line comment header records where the file came from and what still needs review.
The caveat that matters
Converted G-code should be read before it is sent to a machine, and the first minutes of the print should be watched. This tool changes text; it cannot know your printer.
Tiny Online Tools






