DXF to G-Code Converter
Convert DXF files directly to G-Code for CNC routers, mills, and laser cutters. Configure all machine parameters and download ready-to-run G-Code.
Maker & CNC Workflow Suite
Seamlessly move your design from vector artwork to machine-ready G-code. Use our connected suite of free, private fabrication tools.
AutoCAD R12/R14 DXF export for LightBurn, Fusion 360 & CAD.
Convert engineering DXF drawings back to clean web-ready SVG vectors.
Convert vector boundaries and polygons to GeoJSON & KML for QGIS and web mapping.
Generate clean GRBL G-code toolpaths directly from SVG files for laser & routers.
Raster photo engraving with M4 dynamic power & Floyd-Steinberg dithering.
Interactive 2D/3D cut simulation, time estimate, and workpiece bounds check.
CAM toolpath generation for Mach3, LinuxCNC, and multi-pass CNC routing.
Calculate optimal spindle RPM, feed speed, and chip load per tooth.
How to Use
Upload DXF file
Upload your .dxf CAD drawing.
Configure machining parameters
Set spindle speed, feed rate, plunge rate, and cut depth.
Download G-Code
Download the .nc or .gcode file for your machine.
DXF to G-Code: The CAD-to-Machine Bridge
Professional CAM software (Mastercam, Fusion 360 CAM, VCarve) handles DXF-to-G-Code conversion with full features but costs hundreds to thousands of dollars. This tool provides a free, browser-based alternative for simple 2D profiles, pockets, and engravings — no software installation required.
Real-World Examples & Use Cases
CAD-to-CNC Workflow
Design a part in AutoCAD, export as DXF, then convert directly to G-Code without needing separate CAM software.
Frequently Asked Questions
Can I choose which DXF layers to machine?▼
Is DXF R12 and R14 both supported?▼
Related Tools
Explore other tools in this category.
SVG to G-Code Converter
Convert SVG files to G-Code for CNC machines, laser engravers, and pen plotters. Configure feed rates, cutting depth, and spindle speed.
SVG Closed Path Checker
Check whether all paths in an SVG file are closed. Closed paths are required for laser cutting and CNC routing to produce complete cuts.
SVG to DXF for CNC
Convert SVG to DXF specifically optimised for CNC routing and milling. Ensures paths are clean, closed, and scaled correctly for your machine.
DXF to CNC Toolpath Converter
Generate optimised CNC toolpaths from DXF files. Supports contour, convex pocket, and circular-hole drill operations with tool compensation and path optimisation.
CNC Feed Rate Calculator
Calculate optimal CNC feed rates and spindle speeds for any material and tool combination. Uses chip load formulas for wood, aluminium, acrylic, and more.
SVG to DXF Converter
Convert SVG files to DXF format instantly in your browser. No upload required — your files stay private.