Convert G-code to DWG (Free)
Also converts OBJ, GLB, DXF, 3DM, PDF, SVG from the same file.
Runs in your browser. No upload, no signup, nothing to install.
Also from Innerscene: Circadian Lab, a free lighting calculator for room illuminance, melanopic EML, and glare.
How to convert G-code to DWG
- 1
Open your .gcode file
Drag it onto the viewer above, or click "Open a G-code File". Files up to 200 MB open directly; the parse runs in a worker so the page stays responsive.
- 2
Pick AutoCAD Drawing in the Export menu
Click Export in the toolbar, then DWG (.dwg).
- 3
Download
The .dwg is written in the browser and saved straight to your downloads folder. No queue, no email, no watermark.
What survives the conversion
A file conversion is a translation, and formats do not carry the same things. Here is exactly what moves from G-code into DWG, and what does not.
| Geometry | Kept | curves are written as triangle meshes. |
|---|---|---|
| Colors and materials | Reduced | G-code can hold material colors and DWG holds one color per object, so materials are flattened to that. |
| Layers and structure | Kept | Layers survive as real layers in the DWG file, so you can still isolate and toggle them. |
| Units and scale | Kept | DWG stores an explicit unit, so the model opens at true size without rescaling. |
What the DWG writer emits: The same R12 geometry as the DXF export, converted to binary DWG by a native converter on our server. Layers, colors and units carry across. This one step is the only part of a conversion that leaves your machine, and it sends geometry only.
The source: G-code toolpath (.gcode, .gco, .gc, .nc, .ngc, .tap, .cnc)
Every move of a 3D printer, CNC or laser program as a line in millimetres, arcs and drilling cycles included: extrusion or cutting moves grouped by the slicer’s feature types or by tool, travel and rapid moves on their own layer, coloured by height layer by layer.
The target: AutoCAD Drawing (.dwg)
AutoCAD native. Hand it to anyone who asked for "the CAD file".
Opens in: AutoCAD, BricsCAD, DraftSight, Revit, Civil 3D, ZWCAD.
What happens to your file
Your G-code file is parsed in your own browser tab and never uploaded. Writing a binary DWG is the one step that cannot be done in a browser, so the geometry we generated locally is posted to our own converter as a DXF, turned into a DWG, and sent straight back.
What travels is the exported geometry, not your original file: no source document, no file name, no metadata. Nothing is retained after the response. G-code → DXF
Free to Use, No Signup
There are no accounts and no watermarks on this converter. If it saved you time, the one thing we ask is a mention: a post, a link from your blog or course page, or a reply to someone asking how to open a file.
Share it
Made something reusable? Add it to the Free Parts Library. Writing about it? Copy a link, badge or citation. Send us your post and we’ll feature it with a link to your site.
Hear about new formats
Occasional emails when the viewer learns a new format or gets a new tool.
Frequently asked questions
▶Is this G-code to DWG converter free?
Yes. No signup, no watermark, no per-file limit and no paid tier. Innerscene.
▶Is my G-code file uploaded anywhere?
Your G-code file is not. It is read and converted in your own browser tab. Writing a binary DWG is the one step no browser can do, so the geometry produced locally is posted to our converter as a DXF and comes back as a DWG. Your original file, its name and its metadata never leave your machine.
▶Will my colors and materials survive the DWG export?
G-code can hold material colors and DWG holds one color per object, so materials are flattened to that.
▶Do layers and named parts carry into the DWG file?
Layers survive as real layers in the DWG file, so you can still isolate and toggle them.
▶Will the DWG open at the right size?
DWG stores an explicit unit, so the model opens at true size without rescaling.
▶How large a G-code file can I convert?
Up to 200 MB, and the ceiling adapts to how much memory your device reports. The conversion runs on your own hardware, so a desktop with plenty of RAM will handle more than a phone.
▶Can I convert DWG back to G-code?
Not here. We read G-code and write DWG, but not the reverse. the universal 3D viewer
▶Which browsers does it work in?
Chrome, Edge, Firefox and Safari, on Windows, macOS, Linux, iOS and Android. No plugin and no extension.
Convert G-code to something else
Convert something else to DWG
Or start from the universal 3D viewer.