CAD Dictionary

What is an AutoCAD DWG file?

An AutoCAD DWG file is the native file format used to store 2D and 3D design data created in AutoCAD. DWG files contain drawings, geometry, layers, metadata, and other project information and are widely used across architecture, engineering, and construction industries.


What is a DWG file?

A DWG (drawing) file is a binary file format developed by Autodesk. It stores:

  • Vector graphics (lines, polylines, arcs, splines)
  • 3D geometry and solids
  • Layers, blocks, and styles
  • Annotations, dimensions, and layouts
  • Metadata (author, units, version)

DWG is different from DXF (a text-based interchange format) because DWG is generally smaller and preserves more native features. DWG files also come in different version formats (R14, 2000, 2007, 2013, 2018, etc.), which can affect compatibility.


Common uses and examples

  • Architectural plans: floor plans, elevations, sections, and details.
  • Mechanical designs: 2D drawings and detailed 3D models for parts and assemblies.
  • Civil engineering: site plans, road alignments, and utilities.
  • Construction documentation: shop drawings, fabrication files, and as-built records.

DWG files are the backbone for drafting, modeling, and project coordination in many design workflows.


How to open and view a DWG file

Using AutoCAD (recommended)

  1. Launch AutoCAD.
  2. Click File > Open or use the command OPEN.
  3. Select the .dwg file.
  4. If the file is from a different version, AutoCAD will prompt to convert or warn about compatibility — choose to open or save as a compatible version if needed.
  5. Use Model/Layout tabs, Zoom/Pan, and Layer Properties to inspect content.

Important commands: OPEN, LAYERS, ZOOM, PROPERTIES.

Free viewers and alternatives

  • DWG TrueView (Autodesk): free viewer with DWG Convert utility.
  • Autodesk Viewer (web): upload and view DWG online.
  • FreeCAD, LibreCAD (2D-focused), BricsCAD Shape (limited free tools).
  • DraftSight and BricsCAD (commercial alternatives compatible with DWG).

On mobile and web

  • Autodesk A360 / Viewer: view DWG in browser or mobile app.
  • AutoCAD mobile app: view, mark up, and sometimes edit on phones/tablets.

How to edit DWG files

In AutoCAD

  1. Open the DWG in AutoCAD.
  2. Check units with the UNITS command to ensure correct scale.
  3. Use layers to control visibility and properties (LAYER command).
  4. Use BLOCK to create reusable components and INSERT to place blocks.
  5. Edit geometry with commands: LINE, POLYLINE, TRIM, EXTEND, MOVE, COPY, ROTATE, SCALE.
  6. Manage external references (XREF) for linked drawings to keep files lightweight.
  7. Save changes with SAVE or create compatible copies with SAVEAS (choose older DWG version if needed).

If you don’t have AutoCAD

  • Use DraftSight, BricsCAD, or ZWCAD for editing DWG files with good compatibility.
  • For simple edits or annotations, use AutoCAD mobile or online editors/viewers that allow markup.

How to convert DWG files

  • To PDF: In AutoCAD, use PLOT or EXPORT > PDF. Choose layout, paper size, and scale.
  • To DXF: Use SAVEAS and select DXF format for interoperability.
  • To other CAD formats: use Export tools in AutoCAD or dedicated converters (DWG TrueView for version conversion).
  • Online converters: many services convert DWG to SVG, JPG, or IFC — verify data privacy before uploading.

Common problems and how to fix them

  • Cannot open — unsupported DWG version

    • Solution: Use DWG TrueView or AutoCAD to Convert to a compatible version or ask the sender to SAVEAS an older DWG version.
  • DWG file corrupted

    • Solution: Use AutoCAD commands RECOVER and AUDIT. Look for backup files (.bak) or autosave (.sv$) in the project folder and rename to *.dwg.
  • Missing Xrefs or linked files

    • Solution: Use XREF manager to locate or re-path references. Ask the sender to bind or include external files.
  • Missing fonts or SHX characters

    • Solution: Install required fonts or map substituted fonts using TEXTSTYLE and font mapping. Request the required SHX files from the original author.
  • Scale/units incorrect

    • Solution: Check UNITS, then use SCALE and measurement checks. Confirm the drawing environment (Model vs Layout).
  • Large or slow DWG

    • Solution: Use PURGE to remove unused elements, OVERKILL to remove duplicate geometry, and AUDIT to clean the file. Consider external references to split content.

Best practices and tips

  • Use a consistent layer naming convention and keep layers organized.
  • Save a template (.dwt) with standard settings (units, layers, dimension styles).
  • Use blocks for repeated elements to reduce file size and maintain consistency.
  • Prefer Xrefs (external references) for large projects to keep individual files manageable.
  • Regularly run PURGE and AUDIT before sharing files.
  • Keep autosave enabled and maintain off-site backups or version control.
  • When sharing, use SAVEAS to an older DWG version if recipients use older software.
  • Use DWG Compare to track changes between revisions.
  • Include a readme or sheet with project units and a list of required fonts/plugins.

Alternative software and methods

  • DWG TrueView (free) — view and convert DWG versions.
  • Autodesk Viewer (web) — quick sharing and markup without software installation.
  • BricsCAD and DraftSight — commercial editors with DWG compatibility.
  • FreeCAD and LibreCAD — open-source options (better for simpler 2D tasks).
  • Revit / Civil 3D — for BIM and specialized civil workflows, can import DWG for reference but editing workflows differ.

Quick step-by-step checklist for beginners

  1. Open DWG in AutoCAD or DWG TrueView.
  2. Verify units (UNITS) and drawing scale.
  3. Inspect layers, turn off unnecessary ones.
  4. Run AUDIT and PURGE.
  5. Save a copy: use SAVEAS if you need an older format.
  6. Export final output as PDF or required format via PLOT or EXPORT.
  7. Share files with all required Xrefs, fonts, and a short instructions file.

FAQ

What software can open a DWG file if I don’t have AutoCAD?

You can use DWG TrueView (free) to view and convert DWG files, or use commercial alternatives like BricsCAD, DraftSight, or open-source tools like FreeCAD and LibreCAD (note: compatibility varies).

How do I convert a DWG to an older AutoCAD version?

Open the DWG in AutoCAD or DWG TrueView and use SAVEAS or the DWG Convert tool to save the drawing in the target older DWG format.

Can I view DWG files online without installing software?

Yes — use Autodesk Viewer (web) or other web-based viewers to upload and view DWG files directly in a browser.

How do I recover a corrupted DWG file?

Try AutoCAD commands RECOVER and AUDIT, search for backup files (.bak) or autosaves (.sv$), rename them to *.dwg, and open them. If unsuccessful, seek a specialized recovery service.

What is the difference between DWG and DXF?

DWG is AutoCAD’s native binary format optimized for fidelity and size. DXF is a text-based interchange format designed for compatibility with other CAD programs; DXF can be larger and may lose some native features.

How can I reduce the file size of a large DWG?

Run PURGE to remove unused objects, use OVERKILL to remove duplicate geometry, convert complex objects to simpler forms, and use Xrefs rather than embedding large datasets.

Are DWG files backward compatible across AutoCAD versions?

Not always. Newer DWG versions may include features unsupported by older releases. Use SAVEAS to save to an older format before sharing with users of older AutoCAD versions.

Can I open DWG files on a Mac or mobile device?

Yes. AutoCAD for Mac and the AutoCAD mobile app support DWG. Web viewers like Autodesk Viewer also work across platforms.