Skip to main content
.dwg
CAD & 3DMedium Risk
76/100 Popularity

.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
File Extension

.DWG

Category

CAD & 3D

MIME Type

image/vnd.dwg

Developer / Owner

Autodesk Inc.

First Released

1982

Licensing Standard

Proprietary / Patent Licensed

Format Structure

Binary Header Data

Typical File Size

2 MB – 120 MB

Common Usage:Architectural Blueprints, Mechanical Schematics, Civil Infrastructure

Online .DWG Viewer & Live Inspector

Open, inspect, zoom, and export .DWG files directly in your web browser. 100% private in-memory processing.

Client-Side Memory

Drop your .DWG file here or browse

Inspect and preview any .DWG file securely with zero server uploads.

Instant Browser Render•No Software Installation Required•Zero Data Uploaded

What is a .DWG File? (Technical Definition & Architecture)

Autodesk RealDWG / Open Design Alliance

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.

Vector Coordinate Engine
Double-Precision 64-bit Floating Point

Calculates structural coordinates, arcs, and parametric splines with millimeter and sub-micron accuracy.

Layer & Block Hierarchy
Indexed Drawing Database Architecture

Separates architectural models into independent layers with custom linetypes, colors, and reusable blocks.

3D Solid Modeling
ACIS Solid Modeling Engine

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

Step-by-Step OS Guide
How to Open on Windows 10/11
  1. 1Autodesk DWG TrueView: Download the free official Autodesk DWG TrueView desktop software to view, measure, and convert AutoCAD drawings.
  2. 2CAD Drafting Software: Open for active drafting in AutoCAD, DraftSight, or open-source LibreCAD.
  3. 3Convert to Vector PDF: Use AnyFileX online to convert your .dwg blueprint to vector PDF for instant viewing without CAD software.
How to Open on Mac & iPhone
  1. 1AutoCAD for Mac / LibreCAD: Open natively in AutoCAD for Mac, CorelCAD, or the open-source LibreCAD app on macOS.
  2. 2Autodesk Web Viewer: Drag the .dwg file into Safari to view full multi-layer blueprints in Autodesk Viewer without installation.
  3. 33D Modeling Import: Import DWG vector paths and blocks into Rhino 3D, Vectorworks, or SketchUp.
How to Open on Android & Mobile
  1. 1AutoCAD Mobile App: Install AutoCAD Mobile or DWG FastView from Google Play to inspect blueprints on mobile screens.
  2. 2Cloud Storage Preview: Upload drawings to Google Drive or OneDrive to view embedded previews in mobile apps.
  3. 3AnyFileX Mobile Viewer: Use AnyFileX live viewer in Chrome on Android to inspect CAD file headers and metadata instantly.

Convert .DWG Files Online & Free

Zero Server Uploads
.DWG to .DXFCAD Vector / CNCLossless Vector

Convert binary AutoCAD DWG blueprints into open ASCII DXF vector paths for CNC routing, plasma cutting, laser fabrication, and third-party CAD modeling.

.DWG to .PDFBlueprint to DocumentHigh-Res Vector

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

IANA Standard

When serving .dwg files over HTTP or configuring REST APIs, web servers must send the official IANA registered Content-Type headers:

MIME Type IdentifierStandard UsageFile ExtensionsCopy
image/vnd.dwgOfficial IANA standard MIME identifier for AutoCAD DWG drawings.dwg
model/vnd.dwgAlternative 3D model & CAD vector MIME designation.dwg
application/acadLegacy AutoCAD binary drawing MIME type.dwg
Nginx / Apache Server Configuration
# 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

Offset 0x00

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:

Standard Hex Header Signature
Hex Representation:41 43 31 30 33 32 00 00 00 00 00 00
ASCII Representation:AC1032......
Byte Offset0x00000000 (Byte 0)
Magic Bytes (Bytes 0-3)41 43 31 30 ('AC10')
Version String (Bytes 4-5)33 32 ('32' = AC1032)
Binary StructureIndexed CAD Database

.DWG vs .DXF (Detailed Format Comparison)

Head-to-Head
Feature Metric.DWG.DXFAdvantage
Format TypeProprietary Binary CAD DatabaseOpen Tagged ASCII / Binary Text.DXF Wins
Storage Footprint~70% - 85% SmallerLarge Text File Overhead.DWG Wins
3D Solid Modeling (ACIS)Full Native Solid BodiesMay Convert to Mesh or Wireframe.DWG Wins
CNC / Laser Cutter ToolchainsRequires DXF ConversionDirect Universal CAM Import.DXF Wins
Dynamic Blocks & ConstraintsFully Preserved and ParametricExploded into Static Entities.DWG Wins
Universal Cross-CAD ImportMay Require RealDWG License100% Free Open Specification.DXF Wins

.DWG Compatibility Matrix

Windows 11 / 10

Full native support via AutoCAD, Autodesk DWG TrueView, LibreCAD, and DraftSight

Native / Full
macOS Sequoia / Sonoma

Native macOS support via AutoCAD for Mac, CorelCAD, and LibreCAD

Native Mac
Linux (Ubuntu / Fedora)

Supported via LibreCAD, BricsCAD, FreeCAD, and Open Design Alliance (ODA) SDK

Via CAD App
iOS / iPadOS

Supported in AutoCAD Mobile, DWG FastView, and Autodesk Construction Cloud

Dedicated App
Android 10+

Supported in AutoCAD Mobile, DWG FastView, and GstarCAD Mobile

Dedicated App
ChromeOS

Accessible via Autodesk Web Viewer in Chrome and Android CAD applications

Web / Android
Windows 7 & 8

Supported using legacy Autodesk DWG TrueView or LibreCAD

Legacy App

Recommended Software for .DWG

5 Verified Apps
A

Autodesk AutoCAD 2024

Autodesk Inc.

Paid / Commercial
4.7 / 5.0
•
windows, mac
Compatible with .DWG
D

DWG TrueView (Free Viewer)

Autodesk Inc.

Free
4.8 / 5.0
•
windows
Compatible with .DWG
e

eDrawings Viewer

Dassault Systèmes

Free
4.9 / 5.0
•
windows, mac
Compatible with .DWG
L

LibreCAD Open Source

LibreCAD Team

Free
4.7 / 5.0
•
windows, mac, linux
Compatible with .DWG
A

Autocad Web App

Autodesk Inc.

Free
4.8 / 5.0
•
windows, mac, linux
Compatible with .DWG

Common Errors & Troubleshooting .DWG Files

Troubleshooting
1Use AutoCAD RECOVER or AUDIT command to reconstruct damaged drawing tables.
2Check DWG header version string (AC1032 = AutoCAD 2018+, AC1027 = AutoCAD 2013).
3If drawing freezes AutoCAD, purge external references (XREFs) using DWG Convert.

Security & Malware Risk Assessment

Medium Risk

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.

Executable Macros

May support scripting or automation macros

Sandboxed Parsing

Safe to inspect with AnyFileX's browser sandbox

Safety Checklist Before Opening
  • •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.

A .DWG file is a AutoCAD Drawing Database associated with CAD & 3D. Industry standard binary CAD file format storing 2D and 3D architectural and engineering designs.
Related Formats & Helpful Resources

Explore related information about .DWG files

Related Extensions

Related Converters

Related Software

Repair & Comparisons

Popular Knowledge Base Guides

Browse Category Pages

Related Questions

A .DWG file is a AutoCAD Drawing Database file format categorized under CAD & 3D. Industry standard binary CAD file format storing 2D and 3D architectural and engineering designs.

Recently Viewed Extensions

Your recently inspected file extensions will appear here for rapid re-visitation.

Popular Recommended Downloads