GAllGcode

X3G to G-code

Convert X3G print files to G-code. Decodes MakerBot Replicator and FlashForge X3G toolpaths back into editable G-code. Runs entirely in your browser.

X3G file

Drop .x3g here or click to browse

X3G · MakerBot binary toolpath — max 100 MB

3D toolpath preview

Machine profile

X3G stores positions in motor steps. Steps/mm convert them to millimeters; the defaults match MakerBot Replicator firmware.

Output

Statistics

Load a file to see conversion statistics.

Toolpath preview

Scroll to zoom · Drag to pan

G-code

No output yet.
How to use it

About X3G to G-code:X3G is the binary toolpath format used by MakerBot printers. This tool converts motor steps back into standard G-code using a steps/mm profile.

  1. Prepare your file. Export a .x3g or .s3g file from your slicer. Note which printer produced it — the machine profile must match or the output will be the wrong size. Accepted inputs: X3G.
  2. Upload the file.Click the upload area to browse, or drag and drop a file onto it. Files up to 100 MB are supported. The file panel and statistics show the decoded commands and print data.
  3. Pick the machine profile.Choose the printer that produced the file (Replicator 2, Replicator 1 orCustom steps/mm). X3G stores positions in motor steps, so steps/mm convert them to millimetres. The profile is auto-detected from the bot ID when possible — override it if the result looks wrong.
  4. Choose what to include.KeepEmit wait commandson for M109/M190 temperature waits, and include comments if you want the decoded metadata in the output.
  5. Check the decoded G-code.Review the toolpath preview and statistics below, and read any warnings before printing. UseShow full outputfor the complete file.
  6. Export and share.PressConvert to G-codeto decode the file, then useDownload G-codeorCopy to clipboard. Sharecopies a link that restores these settings for the next user.
  7. Print safely.Confirm the dimensions and temperatures in the decoded output, keep the area ventilated, and never leave a running printer unattended.

Please note:Using the wrong steps/mm profile scales the G-code incorrectly — always check the first print on a small test piece.

Frequently asked questions

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

Related tools

All tools