Many users need a clear, reliable way to convert AutoCAD data to Excel for quantity takeoffs, schedules, attribute lists, coordinate tables, and reports. This guide explains multiple methods — step‑by‑step — plus alternatives, common errors and fixes, and practical tips to ensure a smooth export. Whether you want to export a TABLE, Block attributes, object properties, or geometry coordinates, you’ll find the right approach here.
When and why you export AutoCAD to Excel
Exporting from AutoCAD to Excel is useful for:
- Creating schedules (doors, windows, materials).
- Exporting block attributes for databases or invoices.
- Exporting table data for editing and reporting.
- Extracting coordinates and geometry properties for analysis.
- Creating CSVs for other software (estimating, GIS, BIM).
Common targets: .xls/.xlsx and .csv files. Choose CSV when compatibility and automation matter, XLSX when formatting is required.
Method 1 — Use the data extraction Wizard (recommended for attribute/property exports)
This built‑in tool extracts object properties, block attributes, and geometry metadata into a table that you can export to CSV or Excel.
Steps:
- Run the command
DATAEXTRACTION(or from the ribbon: Insert → Extract Data). - Create a new extraction file (.dxe) and click Next.
- Choose whether to extract from the current drawing or multiple drawings.
- Select the object types or specific blocks/layers you want to include.
- Pick the properties to extract (e.g., Layer, Color, Block name, Attribute tags, Length, Area, Elevation).
- Filter and sort fields as needed; rename columns for Excel.
- Choose output: create a table in the drawing and/or export to CSV or XLSX (depending on AutoCAD version/plugins).
- Finish and save the exported file. If you created a table, you can copy it and paste to Excel, or use the CSV output directly.
Tips:
- Use the preview to verify column content.
- Save the
.dxetemplate to repeat the same extraction later.
Method 2 — Export a TABLE directly to Excel
If you already have an AutoCAD TABLE with the data:
Option A — Direct export (AutoCAD versions with TABLEEXPORT):
- Command:
TABLEEXPORT. - Select the table and choose the Excel (.xlsx) or CSV output.
- Open the exported file in Excel.
Option B — Copy/paste:
- Select the table.
- Use
CTRL+Cand paste directly into Excel — values and basic formatting are preserved. - If paste puts everything in one column, use Excel’s Text to Columns (Data → Text to Columns) and choose the proper delimiter.
Notes:
- If TABLEEXPORT is not available, use copy/paste or export the table to CSV via the Data Extraction Wizard.
Method 3 — Export block attributes (ATTOUT) — fast for blocks with attributes
To export block attribute data to a text file or CSV:
- Command:
ATTOUT. - Choose a file name and format (.txt recommended).
- In the dialog, check the blocks whose attributes you want to export and select the delimiter (comma for CSV).
- The resulting file lists attribute tags and values. Open it in Excel and use Text to Columns if needed.
Alternative: EATTEXT (for attributes in externally referenced blocks), or BATTMAN to edit attributes first.
Method 4 — Export coordinates or geometry properties (point list, polylines)
A few ways to export coordinates:
A. Use Data Extraction:
- Extract Position X, Y, Z from point objects or block insertion points.
B. Use the ID or LIST command and manual copy (tedious).
C. Use MAPEXPORT (Map 3D / Map tools required):
- Convert objects to Map objects or select them.
- Command:
MAPEXPORT. - Choose CSV and include coordinate fields.
D. Use a simple LISP or script:
- Many free LISP routines export coordinates of selected points/vertices to CSV.
- Example workflow: run the LISP, select objects, save CSV.
Tips:
- Ensure correct Coordinate system and units.
- For polylines, export vertex coordinates or start/end points as needed.
Method 5 — Export layers, properties, and extended data (XDATA)
- Use
DATAEXTRACTIONto select property fields like Layer, Material, or Object handle. - For custom XDATA, ensure the application storing XDATA is loaded; Data Extraction can read it if available.
- Use
EATTEXTfor attribute-style data saved as linked external text.
Alternative methods and automation
- Use third‑party plugins (e.g., AutoTable, ExportToExcel, Civil3D tools) when built‑in functions are insufficient.
- Use AutoLISP, VBA, .NET or Python (with the ObjectARX or pyautocad libraries) for fully automated exports across many files.
- For large batches, create a script that opens drawings, runs
DATAEXTRACTIONor an AutoLISP routine, and saves CSV/XLSX.
Common errors and how to fix them
Problem: Exported numbers show as text in Excel.
Fix: In Excel use VALUE(), or Text to Columns with delimiter set, or multiply cells by 1 to convert to numbers.Problem: CSV opens with wrong delimiter (everything in column A).
Fix: Use Excel’s Text to Columns or import via Data → Get external data and set correct delimiter (comma/semicolon) and encoding.Problem: Missing attribute values in export.
Fix: Check blocks are not anonymous, ensure attributes contain values, useBATTMANto verify, or explode blocks as last resort.Problem: Units mismatch (mm vs meters).
Fix: In Data Extraction map the AutoCAD unit system to the desired unit, or scale numeric values in Excel. Verify drawing units withUNITS.Problem: special characters or encoding issues (UTF-8 vs ANSI).
Fix: Save CSV with UTF-8 encoding (use a text editor like Notepad++ or Excel import wizard) to preserve accents and special characters.Problem: table export not available (“command not recognized”).
Fix: Your AutoCAD flavor/version may not includeTABLEEXPORT. Use Data Extraction or paste table to Excel as a workaround.Problem: Attributes from XREFs not exported.
Fix: Bind the XREF or use the Data Extraction option to include objects from external drawings.
Best practices and tips
- Always save a backup of your drawing before bulk exports or exploding blocks.
- Purge unused objects to speed extraction (
PURGE). - Use consistent attribute tags and layer naming standards to simplify extraction.
- Preformat column headers in Data Extraction to match your Excel template.
- For recurring reports, save the
.dxeextraction template and use it across drawings. - When exporting coordinates, include an ID field to link each row back to the object in the drawing.
- When sharing CSVs internationally, confirm decimal separators (dot vs comma) and delimiters to avoid import errors.
- Use Excel’s Power Query (Get Data) to import multiple CSVs or apply transformations automatically.
FAQ
How do I export block attributes from multiple drawings into one Excel file?
Use DATAEXTRACTION and select multiple drawings in the wizard, or run ATTOUT for each file and combine CSVs in Excel or Power Query. Save a .dxe template for consistent column mapping.
Can I export geometry (lengths, areas) directly to Excel?
Yes — use DATAEXTRACTION to include properties like Length and Area for selected object types, then export to CSV/XLSX.
How do I get coordinates with a specific precision/units?
Set drawing units (UNITS) and use Data Extraction or a LISP that formats coordinates to the desired decimal places. In Excel, format cells to control decimal display.
Why does Excel show weird characters after opening my CSV?
This is an encoding issue. Reimport the CSV using Excel’s data import wizard and choose UTF‑8 encoding, or save the CSV from a text editor with UTF‑8 encoding.
Is there an automated way to export the same data from hundreds of drawings?
Yes — use AutoLISP, a VBA macro, or .NET script to batch open drawings, run the same Data Extraction or export routine, and save combined CSV/XLSX outputs.
Can I export AutoCAD attributes to Google Sheets?
export attributes to CSV (with correct delimiter and UTF‑8), then import the CSV into Google Sheets (File → Import). Ensure encoding and delimiters are correct.
What if my AutoCAD version doesn’t support exporting to XLSX?
Export to CSV (widely supported) and open/import it into Excel as XLSX, or use a plugin that adds direct XLSX export.
How do I keep formatting (colors, cell styles) when exporting tables?
AutoCAD table formatting won’t translate fully to Excel via CSV. Use CTRL+C and paste to preserve some formatting, or recreate formatting in Excel after export.
Can I export dynamic fields or formula-based table cells?
Data Extraction exports the displayed values, not live formulas. If you need formulas in Excel, prepare a template and use Excel formulas referencing the exported values.
Are there free tools or scripts to help with exports?
Yes — many free AutoLISP routines and community plugins exist to export coordinates, attributes, and properties. Search Autodesk forums, GitHub, or CAD communities for routines that meet your needs.
