TL;DR: To open a DXF file right now, drop it into the free viewer below: it draws the drawing in your browser, shows its layers and AutoCAD version, and never uploads the file. On a desktop, DWG TrueView (Windows), eDrawings (Mac) and SOLIDWORKS (File > Open) all read DXF too, and the rest of this page explains what a .dxf file holds, which version you have and how to fix the files that refuse to open cleanly.
A DXF file is a 2D or 3D CAD drawing saved as plain text that CAD, CAM and vector programs read. Laser-cutting shops ask for it, suppliers send it, and SOLIDWORKS writes it straight from a sheet metal flat pattern. The viewer below opens one with no install and no account.
How to use the DXF viewer
Pick a file, and the drawing appears on the canvas; everything happens inside your browser tab. The file is read locally by your own computer and is never sent to a server.
- Click the file picker (or drag a .dxf file onto the viewer) and choose an ASCII DXF file.
- Read the info panel: the file's AutoCAD version ($ACADVER), the drawing extents and a count of each entity type.
- Zoom with the mouse wheel and pan by dragging. Click Fit to bring the whole drawing back into view.
- Switch layers on and off in the layer list. Colours come from the file's own layer table.
- Check the geometry: lines, polylines, circles, arcs, ellipses, splines (approximated), points, text and multiline text (as plain text), solids, 3D face edges and block inserts with their scale and rotation.
Two limits: binary DXF files are not supported (save an ASCII copy from AutoCAD's Save As options), and dimensions and hatches are not drawn, so you see the geometry without its annotations.
What is a DXF file?
DXF is Autodesk's Drawing Interchange Format (also called Drawing Exchange Format), a published, text-based copy of an AutoCAD drawing designed for moving CAD data between programs. The Library of Congress format description (checked 1 Dec 2026) states that DXF was introduced with AutoCAD 1.0, released in December 1982, and the Wikipedia entry gives the same date. Autodesk's DWG TrueView 2027 help (checked 1 Dec 2026) calls DXF "a published file format used for interoperability" between Autodesk and non-Autodesk products.
DXF is still everywhere 44 years later because Autodesk publishes the full DXF Reference in the AutoCAD help, an ASCII DXF opens in any text editor, and the Library of Congress lists it as a preferred format for 2D and 3D CAD vector images. QCAD and LibreCAD use DXF as their native format, and Adobe products, Inkscape and Blender import and export it, according to Wikipedia (checked 1 Dec 2026).
How do I open a DXF file on Windows, Mac or online?
Use the viewer on this page in any browser, DWG TrueView on Windows, eDrawings on a Mac, or a CAD program such as SOLIDWORKS, LibreCAD or QCAD. The right choice depends on whether you only need to look, or need to edit and save.
On Windows, DWG TrueView 2027 lists "Open and view DWG and DXF files" as its first capability (Autodesk help, checked 1 Dec 2026). On a Mac, eDrawings on the Mac App Store (checked 1 Dec 2026) is free, needs macOS 10.14 or later and names DXF among its 2D formats. Online, Autodesk Viewer reads DXF among 80 file types, after an upload to Autodesk's servers. For AutoCAD's native format, our guide on how to open a DWG file without AutoCAD compares ten viewers.
How do I open a DXF file in SOLIDWORKS?
Click File > Open, set Files of Type to Autodesk AutoCAD Files (.dwg;.dxf), pick the file and choose an import method in the DXF/DWG Import wizard. SOLIDWORKS 2026 help (checked 1 Dec 2026) lists these methods:
- Create new SOLIDWORKS drawing > Convert to SOLIDWORKS entities: the lines and arcs become editable drawing entities.
- Create new SOLIDWORKS drawing > Embed as a sheet in native DXF/DWG format: a view-only sheet you can view and print; tick Link to original file to keep it in sync.
- Import to a new part as 2D sketch or 3D curves or model: the start of a 3D model built on an old 2D profile. Import as reference keeps it as a reference sketch.
- Import MDT data: for Autodesk Mechanical Desktop files.
Click Next to reach Document Settings and set Data units to the units the DXF was drawn in. For parts, tick Merge points closer than and Run Repair Sketch: the help warns that gaps in imported geometry can leave a sketch that extrudes only as a thin feature. SOLIDWORKS 2026 imports DXF files from AutoCAD 2.5 to 2024, and more than 200 blocks triggers a prompt to explode them.
What is inside a DXF file? The DXF file format structure
A DXF file is a long list of pairs: a numeric group code on one line and its value on the next, organised into named sections that each start with 0 SECTION and end with 0 ENDSEC. That is how Autodesk's DXF Reference in the AutoCAD 2027 help (checked 1 Dec 2026) describes it.
The seven sections, top to bottom:
- HEADER: the database version number and system variables, each as a name such as $ACADVER and a value.
- CLASSES: definitions of application-defined classes used later in the file.
- TABLES: symbol tables, including LAYER, LTYPE (linetypes), STYLE (text styles), DIMSTYLE, VPORT and BLOCK_RECORD.
- BLOCKS: block definitions and the entities that make up each block.
- ENTITIES: the visible geometry, including block references (INSERT entities).
- OBJECTS: non-graphical data such as dictionaries.
- THUMBNAILIMAGE: an optional preview image.
The file ends with 0 EOF, as the ezdxf library documentation (checked 1 Dec 2026) notes. Older R12 files carry fewer sections: CLASSES, OBJECTS and THUMBNAILIMAGE arrived with DXF R13.
Here is a trimmed DXF holding one line on a layer called CUT, read as group code and value pairs:
Group code 8 is always the layer, 62 the colour number and 0 the entity type, according to Autodesk's group code table. The viewer above reads exactly these pairs.
What is the difference between ASCII and binary DXF?
ASCII DXF is readable text that more programs accept; binary DXF holds the same data in a compact form that is smaller and faster to read. Autodesk's DXF Reference (checked 1 Dec 2026) puts numbers on it: binary DXF takes about 25 percent less file space, AutoCAD reads and writes it about five times faster, and it keeps full floating-point accuracy. Binary DXF files start with a 22-byte sentinel, "AutoCAD Binary DXF", and use the same .dxf extension, so the file name alone does not tell you which kind you have.
AutoCAD's Save As dialog writes both. Its DXF Options tab adds that ASCII files "are compatible with a wider range of applications" (AutoCAD 2027 help, checked 1 Dec 2026). Send ASCII to a supplier or a laser shop unless they ask for binary.
Which DXF version is my file?
Open the file in the viewer above, or in a text editor, and read the value after $ACADVER in the HEADER section. Autodesk's HEADER Section Group Codes page in the 2027 DXF Reference (checked 1 Dec 2026) maps each code to a release:
AC1032 is the newest code in Autodesk's 2027 reference, and the Library of Congress lists it for AutoCAD 2018 to 2020. When an old CAM program rejects a file, save a copy in an earlier version such as R12 (AC1009), and ask the shop which version its software reads. For older files and lost revisions, see our guide to recovering previous CAD versions.
DXF vs DWG: what is the difference?
DWG is AutoCAD's native binary format; DXF is the openly documented exchange format for the same drawing data. Autodesk's own words (DWG TrueView 2027 help, checked 1 Dec 2026): DWG is "the native file format for AutoCAD-based products", and DXF is published "for interoperability".
For flat parts, DXF wins on compatibility. For a full AutoCAD drawing you will keep editing, DWG keeps everything. Our article on neutral CAD formats and their security risks explains what each exchange format gives away.
How do I export a DXF from SOLIDWORKS for laser cutting?
Right-click Flat-Pattern in the FeatureManager design tree, choose Export to DXF/DWG, pick the entities and save. SOLIDWORKS 2026 help (checked 1 Dec 2026) says this writes a DXF of the flat pattern "without flattening the model or creating a drawing", for "punch press or laser-cutter programming software".
- Open the sheet metal part. Use File > Save As and pick Dxf (*.dxf), or right-click Flat-Pattern > Export to DXF/DWG. If you installed SOLIDWORKS from the 3DEXPERIENCE platform, use File > Export As.
- Choose what to export in the DXF/DWG Output PropertyManager under Entities To Export. Clear Bend lines if the shop wants only cut geometry.
- Set the output alignment: origin and X and Y axes.
- Click Options before saving to set the target version, fonts, End point merging and Spline export options.
- Check the DXF/DWG Cleanup preview, remove stray entities and click Save. SOLIDWORKS adds "Flat pattern" to the front of the file name.
- Open the result in the viewer above to confirm units, extents and layers before you send it.
Shops publish their own rules. SendCutSend's cutting guidelines (checked 1 Dec 2026) ask for files drawn at the exact cut size, in inches or millimetres (no centimetres or metres), with every path closed, and say that "Active text boxes won't cut", so text has to become outlines. Before you send parts out, read our guides to sharing CAD files with suppliers and CAD security in contract manufacturing.
Common DXF problems and how to fix them
Wrong units, splines, oversized files and missing fonts cause the classic DXF failures, and each one has a fix you can apply before the file leaves your desk. Two import snags round out the list.
One more check: an imported dashed line becomes a construction line in a SOLIDWORKS part, according to the Import wizard help, so a dashed cut path never turns into a feature.
Who sees your drawing when you open a DXF file online?
Anyone who runs the server you upload it to: an online converter receives the full geometry, every layer name and every line of text, title blocks and customer names included. Even AutoCAD's DXF options note that lower decimal precision can help in "protecting intellectual property" (AutoCAD 2027 help). The viewer on this page reads the file inside your browser, so nothing leaves your computer.
Before you upload a customer's DXF anywhere, check its NDA limits for CAD files and our guides on sharing CAD files without exposing IP, CAD file transfer methods and cloud storage security for SOLIDWORKS files. If you install a free desktop viewer instead, first read how official free-tool downloads hid a remote access trojan. For a reduced model you can share safely, the SOLIDWORKS Defeature guide shows the steps.
How BORIS helps: a DXF flat pattern travels to laser shops, quoting portals and suppliers, and every copy is a full outline of your part. BORIS for SolidWorks is a SOLIDWORKS plugin that registers the existence of your design on the blockchain before it leaves your hands. It creates a geometric twin of the CAD files, issues a Verifiable Blockchain Certificate for each 3D model and tracks versions automatically, so you can show which design was yours and when. Read how geometric fingerprints work and how to prove authorship of CAD designs. Joining the beta programme is free.
Which way to open a DXF file fits your job?
For a quick look or a pre-send check, use the browser viewer above; for editing, use a CAD program that writes DXF natively. A laser-shop file needs units, closed outlines and text turned into geometry. A supplier drawing needs one question answered first: should this file touch a third-party server at all?
When a drawing must leave the company, digital watermarking for CAD designs adds a trace. Makers using print or cut services will find more in CAD security for 3D printing operations, teams rebuilding old meshes should read about AI turning STL files into editable CAD, and SOLIDWORKS 2027: what's new for your design data covers the newest release.
FAQ
How do I open a DXF file for free?
Drop it into the viewer on this page, which reads ASCII DXF files without uploading them. On Windows, Autodesk's free DWG TrueView opens DXF, and on a Mac the free eDrawings app does. LibreCAD and QCAD Community Edition open and edit DXF on Windows, macOS and Linux.
What program opens a .dxf file?
CAD programs such as AutoCAD, SOLIDWORKS, LibreCAD and QCAD, none of which needs an AutoCAD licence except AutoCAD itself. Vector tools such as Adobe Illustrator, CorelDRAW and Inkscape import DXF too. For viewing only, DWG TrueView, eDrawings, Autodesk Viewer and the browser viewer above all work.
Is DXF a 2D or 3D format?
Both. DXF stores 2D entities such as lines, arcs and polylines and 3D entities such as 3D faces, and SOLIDWORKS imports DXF 3D files from AutoCAD R14 and later. Flat parts for laser cutting, waterjet and CNC routing travel as 2D DXF profiles.
Why does my DXF open at the wrong size?
DXF coordinates have no fixed unit, and the $INSUNITS header value that names the unit is optional. Agree inches or millimetres with the receiver, set Data units when you import into SOLIDWORKS, and compare the drawing extents in the viewer with the size you expect.
Why won't my DXF file open in the viewer?
Check whether it is a binary DXF, which the viewer does not read; binary files begin with the text "AutoCAD Binary DXF". Save an ASCII copy from AutoCAD's Save As options. A file containing a text string longer than 256 characters also fails to open in AutoCAD itself, according to Autodesk's DXF Reference.
Does the online DXF viewer upload my file?
No. The viewer reads the file with your browser's own file access and draws it locally, so the drawing never reaches a server.
How do I export a DXF from SOLIDWORKS?
For sheet metal, right-click Flat-Pattern in the FeatureManager design tree and choose Export to DXF/DWG, or use File > Save As with Dxf (*.dxf). For drawings, use File > Save As and click Options to set the AutoCAD version, fonts and spline handling. SOLIDWORKS exports only drawing documents and flat patterns or faces from parts as DXF.