.DWG

DWG File

AutoCAD Drawing Database
Ask a question
QUICK ANSWER

A DWG file is a CAD drawing, the native format of Autodesk AutoCAD, usually an architectural plan or engineering design. To view, measure, or print one for free, use DWG TrueView (Windows), the Autodesk Viewer in a browser, or ODA Drawings Explorer (Windows, macOS, Linux). Editing needs a CAD program; converting DWG to PDF is built into DWG TrueView via Plot.

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

On this page

19k+ extensions indexed
Last reviewed Jul 2, 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 DWG file format?

Files with the .dwg extension contain 2D or 3D drawings and their metadata, stored in a proprietary binary format. The name originates from the English word for a DraWinG. It is the native format for AutoCAD and several other CAD applications.

The format derives from Mike Riddle's Interact CAD software, developed in the late 1970s; Autodesk licensed and adopted it in 1982 as the foundation for AutoCAD 1.0. Since then, more than 20 distinct format versions have been released, each identified by a 6-character ASCII string at the very start of the file - for example, AC1032 for AutoCAD 2018 through 2026, or AC1027 for 2013-2017.

Related file types often appear alongside .dwg:

  • .bak - automatic backup copy of a DWG file
  • .dws - drawing standards file
  • .dwt - drawing template file
  • .sv$ - temporary autosave file

Numerous open-source libraries have been created to read .dwg files, but none has reached 100% compatibility with the proprietary format. Beyond native Autodesk tools, the format is supported by many other CAD programs and can be viewed in DWG viewers available online. For interoperability, drawings are often exported to the open .dxf format. Autodesk has long contested competing uses of the DWG brand name, and the registered MIME type for the format is image/vnd.dwg.

Security & safety

RISK: MEDIUM

DWG files can carry executable automation: AutoLISP/VBA code can be loaded alongside drawings (acad.lsp auto-load), and "drawing-borne" malware such as the ACAD/Medre.A worm (2012, stole drawings via infected LSP) and dropper campaigns abusing DWG bundles are documented. AutoCAD mitigates with Trusted Locations and SECURELOAD. Pure viewers (DWG TrueView, ODA, web viewers) do not execute embedded code and are the safe way to inspect files from unknown sources. Also note: DWG attachments are a known industrial-espionage target - the drawings themselves are often the asset being stolen.

Format details

in a nutshell
FULL NAMEAutoCAD Drawing Database
DEVELOPERAutodesksince 1982 (AutoCAD 1.0; format itself derives from Mike Riddle's Interact, late 1970s)
CATEGORYCAD Files
MIME TYPEimage/vnd.dwg
TYPEProprietary binary CAD database (2D/3D geometry, layers, blocks)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
41433130
ASCII
AC10
Two more digits identify the format release: AC1032 = AutoCAD 2018 format (current, used by AutoCAD 2018-2026), AC1027 = 2013-2017, AC1024 = 2010-2012, AC1021 = 2007-2009, AC1018 = 2004, AC1015 = 2000.

Programs that open DWG files

Windows18 apps
AutoCAD Paid Native editor - File → Open. Subscription product; AutoCAD LT covers 2D-only work.
Adobe Illustrator Paid File → Open accepts DWG/DXF for graphic work; complex CAD drawings import imperfectly - use only for illustration purposes.
CorelDRAW Paid Imports DWG for graphics/signmaking workflows.
TurboCAD Paid Opens and edits DWG natively.
SolidWorks Paid Imports DWG via its DXF/DWG import wizard (into sketches/drawings); for mechanical CAD workflows, not plain viewing.
CATIA Paid Imports DWG/DXF into Drafting workbench; enterprise tool, not a casual opener.
ArchiCAD Paid Opens/merges DWG as drawing or model reference (BIM workflows).
Autodesk Inventor Paid Opens AutoCAD DWG directly and imports geometry into part/drawing workflows.
macOS6 apps
Adobe Illustrator Paid Opens DWG for graphics use; not CAD-accurate.
ArchiCAD Paid Opens DWG on macOS in BIM context.
DraftSight Paid macOS version available - opens and edits DWG.
Bricscad Paid Full DWG editor with native macOS build.
AutoCAD for Mac Paid Native macOS edition of AutoCAD - File → Open.
ODA Drawings Explorer Free Free cross-platform DWG viewer - the best no-cost option on macOS (DWG TrueView is Windows-only).
Linux4 apps
DraftSight Paid Linux version offered for the paid tiers.
Bricscad Paid One of the few full commercial DWG editors with Linux builds.
ODA Drawings Explorer Free Free native Linux DWG viewer from the Open Design Alliance.
QCAD Professional Paid Affordable 2D CAD; the paid Professional add-on reads/writes DWG (the open-source community edition is DXF-only).
Android2 apps
AutoCAD mobile app Freemium Open DWG from cloud storage, view layers, measure; editing needs a subscription.
DWG FastView Freemium Popular mobile DWG viewer by Gstarsoft - open from storage/cloud, measure, basic markup.
iOS2 apps
AutoCAD mobile app Freemium Same as Android - view/measure free with an Autodesk account.
DWG FastView Freemium View and measure DWG on iPhone/iPad.
Web2 apps
Autodesk Viewer Free Upload the DWG at viewer.autodesk.com (free Autodesk account) - view, measure and share from any browser, no install.
ShareCAD Free No-account online DWG viewer (by CADSoftTools) for quick one-off previews.

Technical details

deep spec
File signatureASCII "AC10" at offset 0, followed by 2 digits identifying the format release (e.g., AC1032)
EncodingProprietary binary; not human-readable
MIME typeimage/vnd.dwg
Current format versionAC1032 - covers AutoCAD 2018 through 2026
Geometry support2D and 3D entities: lines, arcs, polylines, splines, 3D solids, meshes and surfaces
Layer systemNamed layers with individually assignable color, linetype, lineweight and visibility
Block definitionsReusable named symbol blocks with insertable attributes and support for nested blocks
External references (XREFs)External .dwg files linked by path and overlaid or attached at runtime
Unicode text supportFull Unicode introduced in AC1021 (AutoCAD 2007); earlier versions used codepage-encoded text
CompressionLZ-based section compression introduced in AC1021 (AutoCAD 2007 format)
Data integrityPer-section CRC-32 checksums embedded throughout the file
File structureHeader → Class section → Object Map → Object Data sections; page-based allocation from AC1021 onward
Object modelDatabase of typed objects: entities, symbol tables, dictionaries and extension dictionaries
Metadata storageDrawing summary info and custom properties stored in a dedicated header section
Released1982 (AutoCAD 1.0; format itself derives from Mike Riddle's Interact, late 1970s)
Specificationwww.opendesign.com

DWG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DWG 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 DWG files.

Frequently asked questions

How can I open a DWG file without AutoCAD?
For free viewing: DWG TrueView (Windows), Autodesk Viewer in the browser, or ODA Drawings Explorer (Windows/macOS/Linux). For free-ish editing the options are paid but cheaper than AutoCAD: BricsCAD, DraftSight, progeCAD, QCAD Pro.
How do I convert DWG to PDF for free?
Install Autodesk's free DWG TrueView, open the drawing, click Plot and pick the 'DWG To PDF.pc3' printer. Choose a Layout tab (not Model) to get the title block at correct scale.
Why does AutoCAD say the DWG was created by a newer version?
DWG format revisions are not forward-compatible. Check bytes 1-6 of the file (AC1032 = 2018+ format). Fix: free DWG TrueView's 'DWG Convert' saves the file down to your version, or ask the sender to 'Save As' an older format.
What's the difference between DWG and DXF?
DWG is AutoCAD's compact proprietary native format; DXF is Autodesk's documented exchange format with the same content, made for other programs to read. When a tool can't open DWG, converting to DXF (free ODA File Converter) is the standard workaround.
Can I open a DWG file on my phone?
Yes - the AutoCAD mobile app or DWG FastView (both Android/iOS, free tiers) open DWG from cloud storage with view, layer and measure tools.
Is DWG 2D or 3D?
The format holds both. Most DWGs in circulation (floor plans, schematics) are 2D line work; AutoCAD can also model full 3D solids in the same file.
Can I get a DWG floor plan into SketchUp?
Yes, with SketchUp Pro: File → Import → AutoCAD files. The free web version doesn't import DWG.

References

1Autodesk - DWG TrueView and DWG format hubwww.autodesk.com
2Open Design Alliance - .dwg specification (reverse-engineered)www.opendesign.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.JPGJPEG Image
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.ICSiCalendar data file
8.PARTPartial Download File
9.JSONJavaScript Object Notation file
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.SLDPRTSOLIDWORKS Part File
.EASMeDrawings Assembly
.NWDNavisworks Document (published 3D model)
.VWXVectorworks Design File
.DXFDrawing Exchange Format (AutoCAD DXF)
.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