.DWG File Extension Reference
DWG (Drawing) is a proprietary binary file format created by Autodesk in 1982. It is the gold standard format for computer-aided design (CAD) storing vector geometry, 3D meshes, BIM data, layers, and geospatial coordinates.
Quick Specification & Metadata
.DWG
CAD & 3D
image/vnd.dwg
Autodesk Inc.
1982
Proprietary / Patent Licensed
Binary Header Data
2 MB – 120 MB
Online .DWG Viewer & Live Inspector
Open, inspect, zoom, and export .DWG files directly in your web browser. 100% private in-memory processing.
Drop your .DWG file here or browse
Inspect and preview any .DWG file securely with zero server uploads.
What is a .DWG File? (Technical Definition & Architecture)
DWG is a proprietary binary database format created by Autodesk in 1982 alongside the original launch of AutoCAD. It serves as the primary global standard for two-dimensional architectural drafting, civil engineering blueprints, and 3D solid mechanical parts. Engineered as an indexed binary database, DWG provides instant random-access editing of massive multi-layered vector drawings.
Calculates structural coordinates, arcs, and parametric splines with millimeter and sub-micron accuracy.
Separates architectural models into independent layers with custom linetypes, colors, and reusable blocks.
Stores true volumetric solids, boundary representations (B-rep), surfaces, and realistic render materials.
AutoCAD Binary Header Signatures & Section Pointers
A valid DWG drawing begins with a 6-byte ASCII version string (magic bytes). Version AC1032 denotes AutoCAD 2018-2025, AC1027 denotes AutoCAD 2013-2017, and AC1024 denotes AutoCAD 2010-2012. The file contains four primary binary structures: Header Variables, Class Definitions, Object Map, and Entity Handles.
- Version Header (Offset 0x00): Identifies AutoCAD release compatibility (e.g., AC1032 for modern versions).
- Drawing Variables ($HEADER): Stores scale, units ($INSUNITS), grid limits, and coordinate systems (UCS).
- Object Map & Handles: Unique 64-bit integer IDs enabling non-destructive linking and external references (XREFs).
- Entity Section: Contains lines, polylines, 3D solids, dimensions, text annotations, and block definitions.
How to Open .DWG Files on Windows, Mac & Android
- 1Autodesk DWG TrueView: Download the free official Autodesk DWG TrueView desktop software to view, measure, and convert AutoCAD drawings.
- 2CAD Drafting Software: Open for active drafting in AutoCAD, DraftSight, or open-source LibreCAD.
- 3Convert to Vector PDF: Use AnyFileX online to convert your .dwg blueprint to vector PDF for instant viewing without CAD software.
- 1AutoCAD for Mac / LibreCAD: Open natively in AutoCAD for Mac, CorelCAD, or the open-source LibreCAD app on macOS.
- 2Autodesk Web Viewer: Drag the .dwg file into Safari to view full multi-layer blueprints in Autodesk Viewer without installation.
- 33D Modeling Import: Import DWG vector paths and blocks into Rhino 3D, Vectorworks, or SketchUp.
- 1AutoCAD Mobile App: Install AutoCAD Mobile or DWG FastView from Google Play to inspect blueprints on mobile screens.
- 2Cloud Storage Preview: Upload drawings to Google Drive or OneDrive to view embedded previews in mobile apps.
- 3AnyFileX Mobile Viewer: Use AnyFileX live viewer in Chrome on Android to inspect CAD file headers and metadata instantly.
Convert .DWG Files Online & Free
Convert binary AutoCAD DWG blueprints into open ASCII DXF vector paths for CNC routing, plasma cutting, laser fabrication, and third-party CAD modeling.
Package AutoCAD blueprint sheets, drawing layouts, and vector layers into high-resolution printable PDF documents with preserved scale and line weights.
.DWG MIME Types & HTTP Server Headers
When serving .dwg files over HTTP or configuring REST APIs, web servers must send the official IANA registered Content-Type headers:
| MIME Type Identifier | Standard Usage | File Extensions | Copy |
|---|---|---|---|
| image/vnd.dwg | Official IANA standard MIME identifier for AutoCAD DWG drawings | .dwg | |
| model/vnd.dwg | Alternative 3D model & CAD vector MIME designation | .dwg | |
| application/acad | Legacy AutoCAD binary drawing MIME type | .dwg |
# Nginx mime.types
types {
image/vnd.dwg dwg;
model/vnd.dwg dwg;
}
# Apache .htaccess
AddType image/vnd.dwg .dwg.DWG Magic Bytes & Hex File Signatures
In digital forensics and binary verification, an authentic .dwg drawing begins with Autodesk's official ASCII header signature starting at byte offset 0x00000000. The 6-byte string AC1032 denotes AutoCAD 2018–2025:
0x00000000 (Byte 0)41 43 31 30 ('AC10')33 32 ('32' = AC1032)Indexed CAD Database.DWG vs .DXF (Detailed Format Comparison)
| Feature Metric | .DWG | .DXF | Advantage |
|---|---|---|---|
| Format Type | Proprietary Binary CAD Database | Open Tagged ASCII / Binary Text | .DXF Wins |
| Storage Footprint | ~70% - 85% Smaller | Large Text File Overhead | .DWG Wins |
| 3D Solid Modeling (ACIS) | Full Native Solid Bodies | May Convert to Mesh or Wireframe | .DWG Wins |
| CNC / Laser Cutter Toolchains | Requires DXF Conversion | Direct Universal CAM Import | .DXF Wins |
| Dynamic Blocks & Constraints | Fully Preserved and Parametric | Exploded into Static Entities | .DWG Wins |
| Universal Cross-CAD Import | May Require RealDWG License | 100% Free Open Specification | .DXF Wins |
.DWG Compatibility Matrix
Full native support via AutoCAD, Autodesk DWG TrueView, LibreCAD, and DraftSight
Native macOS support via AutoCAD for Mac, CorelCAD, and LibreCAD
Supported via LibreCAD, BricsCAD, FreeCAD, and Open Design Alliance (ODA) SDK
Supported in AutoCAD Mobile, DWG FastView, and Autodesk Construction Cloud
Supported in AutoCAD Mobile, DWG FastView, and GstarCAD Mobile
Accessible via Autodesk Web Viewer in Chrome and Android CAD applications
Supported using legacy Autodesk DWG TrueView or LibreCAD
Recommended Software for .DWG
Autodesk AutoCAD 2024
Autodesk Inc.
DWG TrueView (Free Viewer)
Autodesk Inc.
eDrawings Viewer
Dassault Systèmes
LibreCAD Open Source
LibreCAD Team
Autocad Web App
Autodesk Inc.
Common Errors & Troubleshooting .DWG Files
Security & Malware Risk Assessment
Can a .DWG file carry viruses or malware?
DWG drawings can embed AutoLISP macros and VBA scripts. Disable automatic macro execution when opening untrusted CAD drawings.
May support scripting or automation macros
Safe to inspect with AnyFileX's browser sandbox
- •Verify file extension in OS File Explorer options ('Show known file extensions').
- •Verify magic bytes (41 43 31 30 (AC10...)) to ensure the file isn't a renamed executable.
- •Do not open .DWG attachments received unexpectedly via email or instant messenger.
Preguntas frecuentes
Respuestas claras a las preguntas más habituales.
Explore related information about .DWG files
Related Extensions
Related Converters
Related Software
Repair & Comparisons
Popular Knowledge Base Guides
Browse Category Pages
Related Questions
Recently Viewed Extensions
Your recently inspected file extensions will appear here for rapid re-visitation.