File Formats
  • Audio
  • Video
  • Images
  • 3D & CAD
  • Documents
  • Data
  • Code
  • System
3D & CAD
  • Meshes
  • Scenes
  • Modelling projects
  • CAD
  • 3D printing
  • Point clouds
  • Game models
  1. Home
  2. 3D & CAD
  3. CAD
  4. DXF
.DXF
  • Overview

.DXF

Drawing Exchange Format

Introduction

DXF is Autodesk’s documented format for exchanging drawings between AutoCAD and other programs, introduced alongside AutoCAD in 1982. Unlike DWG, its layout is published with every AutoCAD release, so it is widely supported. It is the usual format for sending outlines to laser cutters, CNC routers and plasma cutters.

Most DXF files are text. A binary form also exists, which starts with the line AutoCAD Binary DXF.

Software

  • AutoCAD (Windows, macOS)
  • LibreCAD (Windows, macOS, Linux)
  • QCAD (Windows, macOS, Linux)
  • FreeCAD (Windows, macOS, Linux)
  • Inkscape (Windows, macOS, Linux)
  • BricsCAD (Windows, macOS, Linux)
  • Autodesk Fusion (Windows, macOS)

Structure

A text DXF file is a long series of pairs, each on two lines: a group code, which is a number saying what kind of value follows, then the value. Code 0 starts a new entity or marks a section boundary, 2 gives a name, 8 gives a layer, and 10, 20 and 30 give the X, Y and Z of a point.

The pairs are grouped into sections, each opened by 0 SECTION and closed by 0 ENDSEC: HEADER for drawing settings, CLASSES, TABLES for layers, line types and styles, BLOCKS for reusable groups of entities, ENTITIES for the drawing itself and OBJECTS. The file ends with 0 EOF.

  0
SECTION
  2
ENTITIES
  0
LINE
  8
Outline
 10
0.0
 20
0.0
 11
100.0
 21
50.0
  0
ENDSEC
  0
EOF
A minimal ENTITIES section holding one line on the layer Outline.
© 2026 fileformats.org About Contact Made by Lewpen