AutoCAD to G-code
Convert AutoCAD drawings to G-code. Export your drawing from AutoCAD as DXF and drop it here. Lines, arcs, circles and polylines become precise CNC cuts with multi-pass depth. Runs entirely in your browser — no uploads, your files never leave your device.
Drawing file
Drop DXF here or click to browse
DXF from AutoCAD (Save As -> DXF) · DWG not supported · max 20 MB
Toolpath preview
Scroll to zoom · Drag to panDrawing info
No drawing loaded
Job estimate
Convert a file to see estimates
Machine
Kerf offsets closed contours by half the tool width. Set machine size to 0 to skip work-area checks.
CNC profile settings
Used for DXF 2D profilingG-code
No output yet.
How to use it
About AutoCAD to G-code: AutoCAD drawings need to be exported as DXF before they can be profiled. This tool reads that DXF and produces G-code with genuine multi-pass depth.
- Prepare your drawing. In AutoCAD run SAVEAS and choose an ASCII DXF format such as AutoCAD 2018 DXF. Keep only the geometry to cut and check the units before exporting. Accepted inputs: DXF.
- Upload the file.Click the upload area to browse, or drag and drop a file onto it. Files up to 20 MB are supported. The drawing panel reports the entities and dimensions it found.
- Set up the machine. Originplaces the cut at the bottom-left corner, the centre, or exactly as drawn.Toolswitches between spindle and laser/plasma commands.Kerfoffsets closed contours by half the tool width andLead in/outeases the tool into the cut. Set machine width and height to check the work area, or leave them at 0 to skip the check.
- Set the cutting parameters. Cut depthdivided byDepth per passdecides how many passes are generated (capped at 100). MatchFeed rate, Plunge rate, Rapid rateandSpindle speedto your material and tool.Safe Zis used for every retract between paths.
- Check the preview.Review the toolpath preview and toggle cut and travel moves to inspect them separately. Check the drawing info and job estimate, and leaveOptimize travel orderon to shorten rapids.
- Export and work safely.G-code updates automatically when you change a setting, or pressGenerate G-code. UseDownload G-codeorCopy to clipboard. Clamp the material, wear eye protection and dust extraction, keep hands clear of the tool, and never leave the machine unattended.
Please note: DWG is proprietary binary format and cannot be read here — export DXF from AutoCAD first.
Frequently asked questions
- Is AutoCAD to G-code free to use?
- Yes. AutoCAD to G-code is free, needs no account and runs entirely in your browser.
- Are my files uploaded when I use AutoCAD to G-code?
- No. AutoCAD to G-code processes files locally in your browser; nothing is uploaded to a server.
- What can I do with the output from AutoCAD to G-code?
- Download the G-code result and check it before using it with your printer, router or laser.