.DXF

DXF File

Drawing Exchange Format (AutoCAD DXF)
Ask a question
QUICK ANSWER

A DXF file is a CAD drawing in Autodesk's Drawing Exchange Format, introduced in 1982 so drawings could move between AutoCAD and other programs. To view one free, upload it to Autodesk Viewer in a browser or open it in LibreCAD, QCAD, or ODA Drawings Explorer on the desktop. The most common needs are printing to PDF and exporting to SVG or G-code for laser and CNC work.

Developer: Autodesk Category: CAD Files Open standard MIME: image/vnd.dxf
OPENS ON Windows macOS Linux Android iOS Web
Related: .DWG · .SLDPRT · .EASM · .NWD

On this page

19k+ extensions indexed
Last reviewed Jun 17, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DXF file format?

A .dxf file contains project data for an AutoCAD vector drawing; it is similar to the .DWG format but stores data in a more exchange-friendly form. Originally, .dxf files stored data as ASCII text, but binary encoding is also supported. ASCII .dxf files have a well-defined structure and can be opened in any text editor.

The file is organized into named sections:

  • HEADER - file header containing drawing settings as name-value pairs (including $ACADVER, which identifies the AutoCAD version that wrote the file)
  • CLASSES - definitions for application-defined classes used in the BLOCKS, ENTITIES, and OBJECTS sections
  • TABLES - named symbol tables: APPID (application identifiers), BLOCK_RECORD, DIMSTYLE, LAYER, LTYPE (line types), STYLE (text styles), UCS (user coordinate systems), VIEW, and VPORT (viewport configuration)
  • BLOCKS - block definitions that can be referenced as reusable components
  • ENTITIES - the drawing geometry: lines, arcs, circles, polylines, splines, text, hatches, and dimensions
  • OBJECTS - non-graphical data such as dictionaries and object links
  • THUMBNAILIMAGE - an optional low-resolution preview image embedded in the file
  • EOF - end-of-file marker

All data in a .dxf file is tagged: every value is preceded by an integer group code (0-1071) that identifies its meaning. Coordinates are stored as dimensionless numbers; the drawing units are set by the $INSUNITS header variable. .dxf files can store both 2D and 3D geometry, making them a popular exchange format for CAD, CNC machining, laser cutting, GIS, and graphics applications.

.dxf (Drawing Exchange Format) was developed by Autodesk in 1982 for AutoCAD 1.0. The specification was not released to the public for many years; it is now published on Autodesk's developer portal. AutoCAD version 10 and later support both ASCII and binary .dxf files. The binary variant is identified by the sentinel string AutoCAD Binary DXF at the start of the file. .dxf files created with the Spatial plugin may be encrypted and cannot be opened by software other than AutoCAD.

Security & safety

RISK: LOW

ASCII DXF is plain text geometry - no executable code, so opening one is safe; you can even inspect it in a text editor. Practical (non-malware) cautions: very large or high-version DXFs can choke older software, and a DXF export of a sensitive design hands the recipient exact, measurable geometry. As always, verify the real extension of any file claiming to be a '.dxf' from an untrusted source.

Format details

in a nutshell
FULL NAMEDrawing Exchange Format (AutoCAD DXF)
DEVELOPERAutodesksince 1982 (AutoCAD 1.0)
CATEGORYCAD Files
MIME TYPEimage/vnd.dxf
TYPECAD vector drawing exchange format (ASCII tagged data; binary variant exists)
STANDARDOpen · royalty-free

Programs that open DXF files

Windows12 apps
AutoCAD Paid Native opener/editor - File > Open; SAVEAS exports DXF in any version.
Adobe Illustrator Paid File > Open imports DXF for graphics/sign work; complex CAD imports imperfectly.
TurboCAD Paid Opens and edits DXF natively.
Blender Open-source Imports DXF (Import-DXF add-on) for 3D work - niche; better suited to 3D DXF meshes than 2D drawings.
Inkscape Open-source Free vector editor - imports DXF (good for prepping outlines for laser/vinyl cutting and SVG export).
SolidWorks Paid Imports DXF via the DXF/DWG import wizard into sketches - for mechanical CAD, not plain viewing.
ABViewer Paid Viewer/converter - opens DXF, measures, batch-converts to PDF/images/SVG/G-code.
LibreCAD Open-source Free 2D CAD - File > Open the DXF to view and edit; the go-to free DXF editor.
macOS4 apps
Adobe Illustrator Paid Opens DXF for graphics use (not CAD-accurate).
LibreCAD Open-source Free 2D CAD on macOS - open and edit DXF.
ODA Drawings Explorer Free Free cross-platform DXF/DWG viewer on macOS.
AutoCAD for Mac Paid Native macOS AutoCAD - File > Open the DXF.
Linux3 apps
LibreCAD Open-source Standard free 2D CAD on Linux - open and edit DXF.
QCAD Open-source Open-source DXF-native 2D CAD; community edition is free.
ODA Drawings Explorer Free Free native Linux DXF/DWG viewer.
Android2 apps
DWG FastView Freemium Open DXF/DWG from storage/cloud - view, measure, basic markup.
AutoCAD mobile app Freemium View/measure DXF from cloud storage with an Autodesk account.
iOS2 apps
AutoCAD mobile app Freemium View and measure DXF on iPhone/iPad.
DWG FastView Freemium View/measure DXF on iOS.
Web2 apps
Autodesk Viewer Free Browser DXF viewer - view, measure, share; no install.
ShareCAD Free No-account online DXF/DWG viewer for quick previews.

Technical details

deep spec
File encodingASCII (plain text) or binary; ASCII variant is far more prevalent
MIME typeimage/vnd.dxf
ASCII file identificationBegins with group code 0 on the first line followed by SECTION on the next line; no fixed byte-level magic signature
Binary file identificationBegins with the sentinel string "AutoCAD Binary DXF\r\n\x1A\x00" at offset 0
Data modelTagged key-value pairs; every value is preceded by an integer group code in the range 0-1071
Section structureHEADER, CLASSES, TABLES, BLOCKS, ENTITIES, OBJECTS, THUMBNAILIMAGE (optional), EOF - in that order
Version marker$ACADVER variable in the HEADER section (e.g., AC1032 = AutoCAD 2018, AC1027 = AutoCAD 2013)
Symbol tablesAPPID, BLOCK_RECORD, DIMSTYLE, LAYER, LTYPE, STYLE, UCS, VIEW, VPORT
Geometry dimensionsSupports both 2D and 3D entities within the same file
Coordinate unitsDimensionless numbers; drawing units specified by the $INSUNITS header variable
Supported entity typesLINE, ARC, CIRCLE, LWPOLYLINE, SPLINE, ELLIPSE, TEXT, MTEXT, HATCH, DIMENSION, INSERT (block reference), VIEWPORT
Character encodingASCII in older versions; Unicode supported since AC1021 (AutoCAD 2007) via \U+XXXX escape sequences or direct UTF-8 in recent releases
EncryptionFiles created with the Spatial plugin may be encrypted, restricting access to AutoCAD only
InteroperabilitySupported by third-party CAD, GIS, laser-cutter, CNC, and graphics applications as a neutral vendor-exchange format
Released1982 (AutoCAD 1.0)
Open standardYes · royalty-free
Specificationhelp.autodesk.com

DXF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DXF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DXF files.

Frequently asked questions

How do I open a DXF file for free?
View it in the browser with Autodesk Viewer or ShareCAD (no install), or use the free desktop apps LibreCAD, QCAD (community edition) or ODA Drawings Explorer (Windows/macOS/Linux). All open and let you measure/print DXF.
What's the difference between DXF and DWG?
Same kind of content, different packaging: DWG is AutoCAD's compact proprietary native format, DXF is Autodesk's documented, usually text-based exchange format that almost any program can read. DXF is the safe choice for moving a drawing between different tools.
How do I convert DXF to PDF?
Open the DXF in LibreCAD, QCAD, ODA Drawings Explorer or ABViewer and Print/Plot to PDF - pick the correct scale and sheet/layout. Online viewers like Autodesk Viewer can also export a one-off PDF.
How do I prepare a DXF for a laser cutter or CNC?
Export a clean 2D DXF of the cut profile, then import it into CAM/laser software (LightBurn, Fusion CAM, FreeCAD Path) which generates the G-code. The CAM step is where you set tool, speed and cut order - there's no direct DXF-to-G-code button.
Why does my DXF open as text/code in Notepad?
Because ASCII DXF IS a text format. If it opens in Notepad, no CAD app is associated with .dxf. Install a viewer like LibreCAD or use Autodesk Viewer and open the file there to see the drawing.
Can I convert a DXF to SVG?
Yes - for 2D drawings, Inkscape (free) imports DXF and saves SVG, as do ABViewer and various online tools. Useful for web graphics, sign-making and laser-cutter workflows.
Is DXF 2D or 3D?
Mostly 2D in practice (drawings, cut profiles), but the format can also store 3D meshes and solids. If you need 3D solids in mechanical CAD, DXF is a poor carrier - use STEP/IGES instead.

References

1Library of Congress - DXF format descriptionwww.loc.gov
2Autodesk - DXF Reference (current)help.autodesk.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.DWGAutoCAD Drawing Database
.SLDPRTSOLIDWORKS Part File
.EASMeDrawings Assembly
.NWDNavisworks Document (published 3D model)
.VWXVectorworks Design File
.X_TParasolid Model (text transmit file)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z