To convert a DXF to G-code free, open the .dxf in the CADdillo editor in your browser (free account, no card, nothing to install), select the shapes to cut, choose File ▸ Export G-code (CAM), pick Profile, Pocket or Drill and your tool, and download G-code for GRBL, Marlin, LinuxCNC or Mach3/Mach4.
Open a DXF, select the shapes to cut, and export G-code for GRBL, Marlin, LinuxCNC or Mach3/Mach4 with real cutter compensation and multi-pass depth stepping. Free, in your browser — no CAM software to install.
| Post processor | File | Drill cycles |
|---|---|---|
| GRBL | .nc | Expanded to plain moves |
| Marlin | .gcode | Expanded to plain moves |
| LinuxCNC | .ngc | G81 / G83 |
| Mach3 / Mach4 | .tap | G81 / G83 |
Operations: Profile (outside, inside or on the line), Pocket (stepover, ramp, helix or straight-plunge entry) and Drill (optional peck).
Checked against the converter on .
Starting from another format? Same export from DWG to G-code, SVG to G-code and PDF to G-code. All CNC tools.
Output is a plain-text G-code file: .nc for GRBL, .gcode for Marlin, .ngc for LinuxCNC, .tap for Mach3/Mach4. Toolpath preview and cutting-time estimate before you download.
The export dialog asks for the things that actually change the toolpath and nothing else. Units follow the document — a millimetre drawing gets G21 and millimetre coordinates, an inch drawing gets G20 — and fractional input works, so 1/8" is a valid tool diameter.
The offset is computed in the geometry and baked into the coordinates, not handed off to the controller with G41/G42. Cut the outside of a 100 mm part with a 3.175 mm endmill and the toolpath spans exactly 103.175 mm — so the finished part comes off the machine at 100 mm.
Here is where the CAM export stops, so you can decide before you open it rather than after.
As always with generated G-code: read the file, dry-run it above the stock, and confirm your work zero before you cut anything you care about.
Start from a DWG? Convert it first, then export the toolpath.
DWG to PDF, DXF, PNG or SVG — free, in your browser.
Open and read a DXF with no install and no upload.
If your part started as a photo or scan, get the image sized and converted first at imageinseconds.com — free, in the browser, no upload.
Open your .dxf in CADdillo at app.caddillo.com, click the shapes you want to cut, then choose File ▸ Export G-code (CAM). Pick the post processor and the operation (Profile, Pocket or Drill), enter tool diameter, cut depth, stepdown per pass, cutter side, feed rate and safe Z, check the toolpath preview drawn on the canvas, and download the G-code file. The whole flow is free and runs in the browser — no CAM software to install, on a free account (email link, no card).
Four: GRBL (.nc), Marlin (.gcode), LinuxCNC (.ngc) and Mach3/Mach4 (.tap). You pick one in the export dialog. Every file is plain text using G21 or G20 to match your drawing’s units, absolute positioning (G90), rapids at safe Z, feed moves at your feed rate and true arcs as G2/G3, with the depth broken into passes at your stepdown. Drill cycles are G81/G83 on LinuxCNC and Mach; GRBL and Marlin have no canned cycles, so drilling is written as plain moves.
All three. Profile cuts around a shape (outside, inside or on the line), Pocket clears the area inside a closed shape with a stepover and a ramp, helix or straight-plunge entry, and Drill drills small circles, with optional peck drilling. Select several closed shapes to cut them in one file.
Yes, and it is computed in the geometry rather than left to the controller. You pick outside, inside or on-line, and the toolpath is offset by exactly half the tool diameter in that direction. Concretely: the outside path around a 100 mm part cut with a 3.175 mm (1/8") tool spans exactly 103.175 mm, so the finished part measures 100 mm. Because the offset is baked into the coordinates, you do not need G41/G42 support in your controller.
Yes. The G-code export works on the drawing’s geometry, and opening a DWG in the editor (File > Open DWG) sends it through CADdillo’s converter and puts that geometry on the canvas, so you can export the toolpath straight away. The whole chain stays free.
The GRBL post covers most hobby and prosumer CNC routers: Shapeoko, X-Carve, Onefinity, MPCNC, and 3018-class desktop mills, in senders such as Universal Gcode Sender, cncjs, Candle and Carbide Motion. The Marlin post is for 3D-printer firmware machines and diode lasers, and LinuxCNC and Mach3/Mach4 have their own posts. Whatever the post, open the file and check the header and units line before cutting.
You need a free account (email link, no card). The DXF is read in your browser rather than uploaded, and the G-code is written in your browser too. G-code export is part of the free tier.