Free online DXF to NC converter
Prepare DXF geometry as machine-specific NC instructions with CAM and a matching postprocessor.
Convert DXF to NC online - free
Your file is processed automatically and deleted right after you download the result, or after 3 hours at the latest.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .dxf file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .dxf to .nc conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .nc file
Conversion result is ready to download.
Conversion statistics: DXF to NC
9 in 10 conversions finish within 11 s.
- Files converted
- 56
- 9 in 10 conversions take at most
- 11 s
- Typical file size
- 136 KB
Updated November 30, 2026, from conversions on 101convert.com
How to convert dxf to nc file
- CAD formats
- No ratings yet.
A CNC controller needs machine instructions, not just the drawing geometry supplied in a DXF file. Converting the drawing to NC is needed when a machine or its workflow requires an NC program, and the geometry must be prepared for the target machine before the program is run.
What the DXF format is
DXF (Drawing Exchange Format), developed by Autodesk, is used to exchange CAD drawing data between design programs. It can contain 2D or 3D geometry such as lines, arcs, circles, and layers; engineers, machinists, architects, and designers use it to share drawings. A DXF describes geometry, not how a machine should cut it.
What the NC format is
In CAD/CAM, an NC file contains numerical-control instructions for a machine, commonly G-code. It can specify movements and machining commands, but NC is not one universal syntax: the controller and postprocessor determine which commands it accepts. Unlike a DXF, an NC program is intended to direct machine operations, so the matching controller format is essential.
Online on 101convert.com
- Open the DXF-to-NC converter on 101convert.com and upload the DXF file. The converter supports batch conversion, and the page shows the per-file size limit.
- Start the conversion.
- Download the resulting NC file and verify that it is suitable for the intended machine and controller before use.
Offline with desktop software
FreeCAD is a free, open-source option for Windows, macOS, and Linux. Import the DXF with File → Import, then switch to the CAM workbench (called Path in some versions). Create a job using the imported geometry, define the stock and setup, add the required machining operations, and set the tools and cutting parameters. Select a postprocessor for the target controller, select the job, and run its post-process command to write the NC program. Workbench names and controls vary by version.
BobCAD-CAM Mill is a commercial CAM program for Windows. Import the DXF, define the stock and tools, create the needed milling operations, then post-process the toolpaths with the postprocessor for the machine to produce an NC file.
Quality and compatibility checks
A DXF usually does not specify tool choice, cutting depth, feeds, speeds, or machining strategy. Check the drawing’s units and scale, remove duplicate or unwanted geometry, and confirm that contours are suitable for the intended operation. Set the stock, tools, and cutting parameters in CAM, and use the postprocessor that matches the controller. An NC file with the wrong dialect or setup may cause incorrect motion; simulate and inspect the output, then follow the machine maker’s safe testing procedure before cutting.
DXF vs NC: format comparison
How the DXF and NC formats compare on the properties that matter most for this conversion.
| Property | .DXF Drawing Exchange Format | .NC CNC G-code program |
|---|---|---|
| Dimensions | Both | Both |
| Geometry | Both | — |
| Layers | Yes | No |
| Materials | Limited | No |
| Plain-text readable | Yes | Yes |
| Operating system support | Wide | Wide |
| Typical file size | Large | Small |
| Open standard | Partly open | Partly open |
| Introduced | 1982 | — |
| Developer | Autodesk | — |
| MIME type | application/dxf | — |
Information about file extensions and file types is provided by File-Extensions.org
Suggested software and links: dxf to nc converters
Frequently asked questions
Is the DXF to NC converter free?
Yes, converting DXF to NC on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my DXF file be?
You can upload DXF files up to 10 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 50 MB per file and 20 files at once, see our plans.
How long does it take to convert DXF to NC?
9 in 10 DXF to NC conversions on 101convert.com take at most 11 s, measured over the last 90 days. The typical file is 136 KB. So far 56 files have been converted.
What happens to my uploaded files?
Files are processed automatically. Your upload is deleted from our servers right after you download the result, or after 3 hours at the latest. We never view or share your files.
Do I need to install any software to convert DXF to NC?
No. The DXF to NC conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid DXF file for this DXF to NC conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.
Does converting DXF to NC create machine-ready toolpaths?
Not by itself: DXF usually contains drawing geometry, while NC contains machine instructions such as movements, feeds, speeds, and tool changes. CAM settings and the target machine’s controller determine how the geometry becomes a usable toolpath.
Will my DXF layers, dimensions, and text be preserved in an NC file?
No, most drawing organization and annotation is flattened or discarded, and NC generally retains only the movement instructions needed for machining. Closed contours, selected layers, depths, tools, and other machining choices must be assigned during the conversion.
Why is my DXF to NC result the wrong size or in the wrong position?
Unit mismatches, drawing scale, origin placement, and machine coordinate settings commonly cause this problem. Check whether the DXF uses millimetres or inches and verify the origin and scale before generating the NC code.
Can I convert an NC file back to an editable DXF?
Not reliably, because NC describes tool movements rather than the original CAD geometry. A reverse conversion may reconstruct approximate paths, but it usually cannot restore layers, dimensions, curves, or the original design intent.
Additional formats for
dxf file conversion
- dxf to pat
- dxf to skp
- dxf to dwg
- dxf to step
- dxf to catdrawing
- dxf to stp
- dxf to png
- dxf to gerber
- dxf to fcstd
- dxf to dwf
- dxf to 3dxml
- dxf to _pdf
- dxf to asm
- dxf to bmp
- dxf to brep
- dxf to cad
- dxf to catpart
- dxf to catproduct
- dxf to cgr
- dxf to csv
- dxf to cvs
- dxf to dft
- dxf to dgn
- dxf to dtd
- dxf to dwfx
- dxf to dwt
- dxf to dxe
- dxf to edrw
- dxf to ems
- dxf to eprt
- dxf to fbx
- dxf to gbr
- dxf to geojson
- dxf to gif
- dxf to hpg
- dxf to hpgl
- dxf to iam
- dxf to idw
- dxf to ifc
- dxf to iges
- dxf to igs
- dxf to ipn
- dxf to ipt
- dxf to jpeg
- dxf to jpg
- dxf to jt
- dxf to mi
- dxf to model
- dxf to nc1
- dxf to obj
- dxf to par
- dxf to pcb
- dxf to plt
- dxf to prt
- dxf to psm
- dxf to sat
- dxf to scad
- dxf to she
- dxf to sldasm
- dxf to sldprt
- dxf to stl
- dxf to sxe
- dxf to tap
- dxf to tif
- dxf to tiff
- dxf to txt
- dxf to vda
- dxf to webp
- dxf to x_t