NC to DXF Converter Online | CNC Toolpath to 2D - MiConvert

Convert NC (G-code/CNC) to DXF — For Files with Extractable Geometry

Upload a .nc or .cnc file and get a DXF back, but expect one of two very different results. DSTV steel files from Tekla, SDS/2 or Advance Steel come out as real 2D drawings, while G-code programs come out as a 3D mesh traced along the cutter path.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
NC → DXF

Why Convert NC to DXF?

The .nc extension is shared by two unrelated formats. Most .nc files are G-code programs posted by CAM software for mills, routers and plasma tables. Steel fabrication software uses .nc (and .nc1) for DSTV, a block format that describes one beam or plate by its contours, holes and markings. The converter inspects the file's content, not just its name, and sends it down the matching route.

A DSTV file becomes a proper drawing. Outer and inner contours are written as closed polylines with their arcs, holes become circles or slot outlines, and markings and text go on their own layers: FACE_V, FACE_O, FACE_U and FACE_H for the faces, plus HOLES, MARKING and INFO. Each face of a profile is drawn in its own band so nothing overlaps, the drawing is in millimeters, and a plate comes out at 1:1.

A G-code program is handled differently. The converter follows each G1, G2 and G3 feed move, skips rapid G0 moves, and the resulting path is wrapped in a thin 3D surface that lands in the DXF as one MESH entity. Tool diameter and removed stock are not modeled; plunges and depth are kept. What you see is where the tool center traveled, with no polylines or arcs you could bring back into CAM as a cutting profile.

Three more limits apply to G-code. Arcs are read by their end points, so a circle cut as four quadrant arcs comes out as a four-sided shape. Lines holding only coordinates are treated as feed moves, so a program that leaves G0 active over several lines can show rapids as cuts. And there is no inch handling: a G20 program keeps its inch values, while the DXF header claims meters.

People searching for nc file to drawing or convert cnc file to dxf usually want an editable outline of the part. For DSTV pieces this page delivers that. For G-code it gives a visual record of the program, which is useful for checking what a file will do on the machine, but the CAD or CAM file the program came from remains the right source for an editable profile.

How to Convert NC to DXF

  1. Open the file in a text editor to see which kind you have. Lines like G1 X10 Y20 F800 mean G-code; a file that starts with an ST header followed by blocks such as AK, IK and BO is DSTV.
  2. For DSTV, export one piece per file from your steel package; .nc1 files are accepted as well as .nc.
  3. For G-code, upload the program exactly as your post-processor wrote it; .cnc files are read the same way as .nc.
  4. Start the conversion. NC programs are usually small, and most finish within a couple of seconds.
  5. Open a DSTV result in any 2D CAD program. For a G-code result, use a viewer that shows 3D MESH entities, insert it with millimeter units, and look at it from above or in 3D.

Key Conversion Features

  • Detects DSTV steel files by content and draws contours, holes, slots and markings as 2D polylines, circles and text
  • Places each DSTV face, the holes, the markings and the piece information on separate named layers
  • Traces G-code feed moves, Z plunges included, and leaves rapid G0 moves out
  • Accepts .nc, .cnc and .nc1 extensions on the same page
  • Reads DSTV files saved in the Windows cp1252 encoding, so umlauts in steel grades and marking text survive

Video Tutorial

An A-Z video guide on how to use MiConvert to change NC format to DXF. This is the safest method to convert data without needing to download any applications to your device. 🔗 Format conversion tool

Frequently Asked Questions

Why did my NC to DXF conversion fail?

The most common failure reads "No movement/extrusion commands found". It means the parser saw no feed moves: the file may contain only rapid moves or setup code, be a different machine language saved as .nc, or be damaged. Check it in a text editor; if it is DSTV but was not recognized, make sure it starts with the ST header block.

Will the DXF be a 2D drawing I can edit?

For DSTV steel files, yes: you get polylines, circles and text on named layers. For G-code, no: you get a single 3D mesh that follows the toolpath, which CAD programs can display but not edit as lines and arcs.

Does the drawing include tool radius compensation?

The path is drawn from the coordinates written in the program. If your post-processor already applied the offset, the path is offset; if the program relies on G41/G42 at the controller, you see the uncompensated programmed path. The cutter's diameter is never drawn.

Why do my circles come out as polygons?

G2 and G3 moves are reduced to a straight line between their start and end points, so the arc's curvature is lost. If your CAM post-processor can output arcs as short linear segments, posting that way gives a much closer outline.

Can I convert DXF to NC here?

No. Turning a drawing into a machining program needs CAM software that picks tools, feeds and cut order, so we only convert in the NC to DXF direction.

Does it work with 3D printer G-code?

Yes, the same parser reads it: when extrusion values are present, only extruding moves are drawn. For a printable model from such a file, the G-code to STL or G-code to 3MF converters are a better fit than DXF.

Is it free, and how large can the file be?

You can convert without an account for files up to 50 MB; signing in raises the limit to 100 MB. NC programs are rarely more than a few megabytes.

What happens to my NC file after conversion?

Your program is converted on our servers and removed from them the moment the job is done. The DXF waits roughly four hours for you to download it, then is cleaned up automatically.