Skip to content
.dwg2D drawing

The DWG file format

DWG is the native drawing format of AutoCAD and the de facto standard for exchanging 2D drawings in architecture, engineering and construction.

Open a DWG file now

What is a DWG file?

A DWG file is a database of drawing objects — lines, arcs, circles, polylines, text, dimensions, hatches and references to reusable blocks — together with the tables that organize them: layers, linetypes, text styles and dimension styles. It also stores paper-space layouts, the sheets a drawing is plotted from.

The format is binary and compact, which keeps even large building plans to a few megabytes. It is proprietary: Autodesk does not publish a specification, so other programs read it through reverse-engineered libraries. That is why some viewers struggle with newer files or unusual objects.

DWG versions

The format has changed many times, but not with every AutoCAD release. Each version has a six-character code stored at the very start of the file: AC1012 (R13), AC1014 (R14), AC1015 (AutoCAD 2000–2002), AC1018 (2004–2006), AC1021 (2007–2009), AC1024 (2010–2012), AC1027 (2013–2017) and AC1032 (2018 onwards).

Newer AutoCAD releases open every older version, but an older release cannot open a newer format — the sender has to save down with Save As. If a DWG will not open, checking its version is the first step.

How to open a DWG file without AutoCAD

The quickest way is a browser-based viewer: drop the file on the DWG viewer and it opens in a few seconds, with layers, measuring and PDF export, and without uploading the drawing anywhere. Autodesk also offers a free desktop viewer for Windows, and most other CAD programs can import DWG.

If the person receiving your drawing has no CAD software at all, convert it: a PDF is the usual choice for printing and review, and DXF for moving the geometry into another CAD or CAM program.

Frequently asked questions

What is the difference between DWG and DXF?

Both hold the same kind of drawing data. DWG is Autodesk's compact binary format; DXF is a documented exchange format, usually plain text, that almost every CAD and CAM program can read. DXF files are larger and can lose AutoCAD-specific objects, but they are the safer choice for moving drawings between different software.

Can I open a DWG file for free?

Yes. The online DWG viewer here opens DWG files in the browser at no cost and without an account.

How do I find out which version a DWG file is?

The version code is in the first six bytes of the file. The DWG version checker reads it for you and names the AutoCAD releases that write that format.

Is DWG a 2D or a 3D format?

Both. Most DWG files are 2D drawings, but the format also stores 3D wireframes, surfaces, meshes and solids.