All questionsFile formats

What is a DXF file?

Branislav Hrivnák
Branislav HrivnákCo-Founder, TechDraw AIView on LinkedIn
Quick answer

A DXF (Drawing Exchange Format) is an open, text-based CAD file made by Autodesk so that 2D drawings can move between different programs. It stores a drawing as exact geometry — lines, arcs, circles and text with real coordinates — instead of as pixels, so it scales to any size without losing precision. Because almost every CAD package, laser cutter and CNC machine can read it, DXF is the standard way to send a flat part out to be cut or machined.

A drawing stored as geometry, not pixels

DXF stands for Drawing Exchange Format. It is a CAD file format that Autodesk introduced in 1982 so that 2D drawings could be passed between AutoCAD and other programs without anything being lost in translation. The format is open and documented, which is why it became the universal way to hand a flat drawing from one piece of software to another.

The key idea is what a DXF stores. Instead of recording coloured dots like a photo, it records geometry: each line by its start and end point, each circle by its centre and radius, each arc, polyline and piece of text with real X and Y coordinates. The file is plain text, so a .dxf is really a list of entities and the exact numbers that define them.

Why that matters for manufacturing

Because a DXF holds true coordinates, it is resolution-independent and to scale. You can open it at any zoom and the geometry stays razor sharp, and a 100 mm line is exactly 100 mm. That is precisely what a cutting machine needs: a clean path it can follow at the real size of the part.

  • Laser cutters, plasma and waterjet read the outlines and inner cut-outs straight from a DXF.
  • CNC routers and mills use it as the 2D profile to generate toolpaths.
  • Other CAD programs import it as editable geometry, not a flat picture.

This is why, when a shop asks you to “send a DXF,” a screenshot or a PDF will not do — they need the vector geometry, not an image of it.

DXF vs an image file

The difference between a DXF and a JPG or PNG is the difference between instructions and a snapshot.

DXFJPG / PNG (image)
What it storesVector geometry with coordinatesA grid of coloured pixels
Real measurementsYes — every point has X, YNo — only pixel positions
Zoom inStays sharp at any scaleBlurs and pixelates
Machine can cut from itYes, directlyNo — must be traced first
A DXF is the part, described in numbers a machine can act on. An image only looks like the part. That single difference is why DXF is the file shops actually ask for.

How to get a DXF of your part

If your part started as a photo or a sketch rather than a CAD model, you do not need to redraw it by hand. With TechDraw AI you upload a photo, set one real measurement so the scale is correct, and export a clean, dimensioned drawing — including a DXF the cutter can use. See how to convert an image to DXF, or, once you have the file, how to open a DXF file to check it. If you are deciding between formats, see DXF vs DWG.

See it on your part

Upload a photo, set the real measurements, and get a clean, dimensioned technical drawing in minutes.

Try TechDraw AI free