DXF (Drawing Exchange Format) is a text-based file format used to represent CAD drawings. It was developed by Autodesk to allow data exchange between CAD applications. A DXF file stores drawing information such as geometry, layers, and properties using pairs of values called group codes and data values.

Example: Minimal DXF structure

0
SECTION
2
HEADER
0
ENDSEC
0
EOF

This example shows the basic structure of a DXF file with a section and the end-of-file marker.