GAllGcode

Excellon to G-code

Convert Excellon PCB drill files (.drl, .xln) to drilling G-code. Converts Excellon drill files (.drl, .xln) into PCB drilling G-code in your browser. No uploads, your files never leave your device.

Drill file

Drop .drl / .xln here or click to browse

Excellon drill · max 20 MB

Drill preview

Scroll to zoom · Drag to pan

Drill info

No file loaded

Job estimate

Convert a file to see estimates

Drilling settings

Note:Supports Excellon PCB drill files. Copper isolation/trace milling from Gerber is not included; use Excellon for drilling and Gerber-specific workflows for routing.

G-code

No output yet.
How to use it

About Excellon to G-code: Excellon is the standard PCB drill format. This tool reads each tool and hit, then generates drilling G-code in your browser — your files never leave your device.

  1. Prepare your drill file. Export an Excellon drill file (.drl or .xln) from your PCB CAD app. Confirm the file declares metric or inch units and defines the tool diameters. Accepted inputs: DRL · XLN · Excellon.
  2. Upload the file.Click the upload area to browse, or drag and drop a .drl or .xln file onto it. Files up to 20 MB are supported. The drill info panel reports the tools, hits and dimensions it found.
  3. Set the drilling parameters.MatchDrill depth, Plunge rate, Spindle speedand the optionalPeck depthandDwellto your board and bit.Safe Zis the height the tool retracts to between holes, andFeed / travel refsets the travel feed.
  4. Check the preview.Review the drill preview and toggle hits and travel moves to inspect them separately. Check the drill info and job estimate, and leaveOptimize drill orderon to shorten the travel between holes.
  5. Export and work safely.PressGenerate G-code, then useDownload G-codeorCopy to clipboard. Secure the board, check the bit and drill depths, wear eye protection, and never leave the machine unattended.

Please note: Only hole drilling is generated. Copper isolation and board outline milling must come from Gerber files, and plated/non-plated distinctions are not preserved.

Frequently asked questions

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

Related tools

All tools