What Is a .DWG File?
A .dwg file is a drawing created in AutoCAD, Autodesk's design software, and the most widely used CAD format for architecture, engineering and construction. It stores precise 2D and 3D geometry, layers, dimensions and blocks in a compact binary form. Free viewers such as DWG TrueView and Autodesk Viewer open it.
- Extension
- .dwg
- Full name
- AutoCAD Drawing
- Type
- 3D and CAD file
- MIME type
- image/vnd.dwg
- Developed by
- Autodesk
About DWG files
DWG has been AutoCAD's native format since the early 1980s. It is binary and closed, though the Open Design Alliance has reverse-engineered it so that tools like BricsCAD, DraftSight and many others can read and write it. The format changes every few AutoCAD releases; the current version is usually called the 2018 format, and it is still used by newer AutoCAD versions.
Version mismatches are the most common problem: an older program cannot open a drawing saved in a newer DWG version. The fix is to save down to an older version or convert it with DWG TrueView. Drawings also depend on external references (xrefs), fonts and image files; if those are not sent along, parts of the drawing appear missing.
DWG files range from a few hundred kilobytes for a simple plan to hundreds of megabytes for a detailed building model. They can include layouts (sheets) ready to plot to PDF. Unlike DXF, DWG is not readable text, so you need CAD software or a viewer to see what is inside.
What DWG files are used for
- Architectural floor plans, elevations and sections
- Mechanical part drawings and engineering details
- Site plans, surveying and civil engineering drawings
- Exchanging drawings between architects, engineers and contractors
How to open a .dwg file
Windows
Install Autodesk's free DWG TrueView to view, measure, plot and convert DWG files. AutoCAD, BricsCAD and DraftSight edit them.
Mac
DWG TrueView is Windows-only, so use Autodesk Viewer in a browser, or AutoCAD for Mac if you need to edit.
Online / any browser
Upload the file to Autodesk Viewer (viewer.autodesk.com) with a free Autodesk account to view, measure and mark up drawings.
iPhone and iPad
The AutoCAD mobile app from the App Store opens DWG files for viewing and basic markup.
How to convert a .dwg file
To save a DWG down to an older version, open DWG TrueView and choose DWG Convert, pick the target version and convert.
For a PDF, open the drawing in DWG TrueView or AutoCAD and plot or print to PDF, choosing the layout and scale you need.
To share with non-AutoCAD software, export DXF from AutoCAD or convert with DWG TrueView. Renaming .dwg to .dxf or .pdf does not convert anything.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming DWG files
- Follow your project's sheet numbering in file names (A-101-ground-floor-plan.dwg) so drawings sort in the order of the drawing set.
- Add a revision code rather than words like final (A-101-rev-C.dwg) and keep superseded revisions in a separate folder.
- Do not rename files used as external references without updating the xref paths, or the host drawing will show them as not found.
Renaming lots of .dwg files? See how to rename dwg files with ai, use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .dxf file is a CAD drawing in Autodesk's Drawing Exchange Format, designed so drawings can move between AutoCAD and other programs. It stores lines, arcs, text, layers and blocks, usually as readable text. DXF is the common language of laser cutters, CNC routers and vinyl plotters.
A .pdf file is a Portable Document Format document: a fixed-layout file that looks the same on every device, with its text, fonts, images and page geometry packed inside. It is the standard format for sharing finished documents such as invoices, contracts, forms, manuals and scanned paperwork that should not reflow.
A .stl file is a 3D model that describes the surface of an object as a mesh of triangles. It is the standard format for 3D printing: slicer apps such as PrusaSlicer, Cura and Bambu Studio read STL files and turn them into printer instructions. STL stores shape only, with no color, texture or units.
A .obj file is a 3D model in the Wavefront OBJ format, a simple text format that lists a model's vertices, faces and texture coordinates. Colors and textures live in a companion .mtl file plus image files. Almost every 3D program, game engine and 3D printing app can import OBJ.
Frequently Asked Questions
How can I open a DWG file for free?
Use DWG TrueView on Windows or Autodesk Viewer in any browser. Both are free from Autodesk.
Why will my DWG file not open in my CAD program?
It was probably saved in a newer DWG version. Ask for an older version or convert it with DWG TrueView.
Can I convert DWG to PDF?
Yes. Open it in DWG TrueView or AutoCAD and plot to PDF, choosing the layout and scale.
Can I edit a DWG file without AutoCAD?
Yes, with other DWG-compatible CAD apps such as BricsCAD or DraftSight, though they are paid. Free editors like LibreCAD mainly work with DXF.