DWG to G-code
Convert DWG drawings to CNC G-code in your browser. DWG drawings are converted in your browser and profiled into CNC G-code — lines, arcs, circles and polylines become precise cuts with multi-pass depth. No uploads, your files never leave your device.
Drawing file
Drop DWG here or click to browse
DWG · converted in your browser · 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 DWG 2D profilingG-code
No output yet.
How to use it
About DWG to G-code: DWG is AutoCAD binary drawing format. This tool converts it to DXF in your browser and then profiles the linework into G-code — nothing is uploaded.
- Prepare your drawing. Save a DWG from AutoCAD or another CAD app. Remove dimensions, notes and title-block geometry you do not want cut before uploading. Accepted inputs: DWG.
- 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: Very new or heavily custom DWG versions may not convert. If conversion fails, export DXF in your CAD app and use the DXF to G-code tool instead.
Frequently asked questions
- Is DWG to G-code free to use?
- Yes. DWG to G-code is free, needs no account and runs entirely in your browser.
- Are my files uploaded when I use DWG to G-code?
- No. DWG to G-code processes files locally in your browser; nothing is uploaded to a server.
- What can I do with the output from DWG to G-code?
- Download the G-code result and check it before using it with your printer, router or laser.