Convert DWG to XLSX

Turn DWG documents into XLSX. A workbook with one sheet named after the file, cut to 31 characters, and one row for each feature: its shape as WKT in a first column named WKT, then every attribute as a column, with numbers, dates and true and false as typed cells.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DWG files on the dialor turn it to pick what to do

A table of what is in your drawing.One row for each feature, with its shape as text and its attributes beside it.

  1. What you get

    An Excel workbook with one sheet. The sheet is named after the file, cut to 31 characters. Each feature in the drawing becomes one row.

    The first column is named WKT and holds the shape of the feature as WKT text. Every attribute follows as its own column. Numbers, dates and true and false values are typed cells, not text.

  2. How values are written

    Features without a geometry keep their row, with an empty WKT cell. If a column is already named WKT, it is renamed WKT_1. A shape longer than the 32,767 characters a cell holds leaves its cell empty, and a warning is given.

    Lists and nested values become JSON text. Times with a time zone are written in UTC.

  3. What is left behind

    Paper space layouts, colors, line weights and text styles are dropped. The workbook holds the features and their attributes, not the look of the drawing.

    LibreDWG first writes the drawing as a DXF. Proxy objects that add-on applications store are left out, and so are objects it does not understand.

  4. When it stops

    A drawing saved by AutoCAD R12 or older is refused. A file that is cut off before its EOF marker fails with input_corrupted. A map of more than 1,048,575 features fails with resource_limit.

    For other outputs, see every DWG conversion.

DWG and XLSX.What each format is.

The formats

From · DWG

AutoCAD Drawing

AutoCAD's own drawing format, the most common file of architects, engineers and CAD tools.

Extensions
.dwg
MIME type
image/vnd.dwg
Kind
Documents
To · XLSX

Excel Workbook

Excel's workbook format since 2007. Sheets, formulas, formats and charts in zipped XML.

Extensions
.xlsx
MIME type
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Kind
Documents

In your code.The same DWG to XLSX conversion through the API, for your app or your agent.

terminal
$ cv convert report.dwg report.xlsx
$ cv convert report.dwg report.xlsx

Questions.What people ask about DWG to XLSX.

01OF 04

Each row is one feature. The first column, WKT, holds its shape, and the other columns hold its attributes.

No. Colors, line weights, text styles and paper space layouts are dropped.

The file is cut off before its EOF marker. The conversion stops with input_corrupted when that happens.

Not if it was saved by AutoCAD R12 or older. Those drawings are refused.

More conversions.Other ways in and out of DWG and XLSX.