Guide
CAD Drawing to Excel: Extract DWG Data Without a CAD License
DWG files are everywhere in construction. Floor plans, MEP layouts, site plans, detail drawings: opening them needs a CAD application or a compatible viewer.
The CAD Drawing to Excel converter reads .dwg files directly and writes the data as XLSX, CSV and JSONL, plus the drawing as DXF and SVG. No CAD software, no CAD licence. CAD Drawing to Excel 0.4.1, part of DDC Converters 2.0, runs on Windows 10/11.
Command line
# one or more drawings, a new folder per drawing
dwg2excel.exe "C:\Drawings\Plan.dwg" -o "C:\Out"
# a whole folder: tables only, one JSON line per file for scripts
dwg2excel.exe @files -o C:\Out --no-dxf --no-svg --json
Each drawing folder contains <name>.xlsx, <name>.csv, <name>.jsonl, <name>.dxf, <name>.svg, report.json and REPORT.txt. The report says how many records were converted, refused or are of a type that is not supported yet. Other options: --timeout, --memory-limit-mb, --language en|ru, --version.
What we measured
What is in the table
One row per entity, keyed by its DWG handle: class, layer, linetype, colour, extents, lengths, areas and block attributes where the drawing has them. Layers, text styles and other table records are rows too.
Use the result in Python
import pandas as pd
df = pd.read_excel(r"C:\Out\Plan\Plan.xlsx", sheet_name="Entities")
print(df.groupby(["layer_name", "type_name"]).size().sort_values(ascending=False))
The free ddc-tools work on the tables too: ddc table, ddc check, ddc qto and ddc convert.
Limits
- Some object types are reported as unsupported or refused instead of being exported;
report.jsonlists them. - The output is data plus DXF and SVG drawings, not a 3D model. There is no IFC or RVT output from DWG.
- Windows 10/11 64-bit only. PDF export is not supported.
FAQ
Do I need any CAD software installed?
No. The converter reads DWG files directly, without any CAD software or licence.
Which DWG versions are supported?
DWG R13 to 2018. Object types that are not supported yet are listed in report.json instead of being dropped silently.
Does it produce 3D geometry?
No. 3D entities appear as data rows, and the drawing is written as DXF and SVG.
Which files does it write?
XLSX, CSV and JSONL with the entity data, a DXF and an SVG of the drawing, report.json and REPORT.txt.
Download
CAD Drawing to Excel converter: download and details
Also see the guides for RVT to Excel, IFC to Excel and RVT to IFC.
DWG is used here only as a file-format name. Excel® and Windows® are registered trademarks of Microsoft Corporation. All other trademarks are the property of their respective owners.