Convert DXF to CSV

Turn DXF documents into CSV. A CSV with one row for each feature: its shape as WKT in a first column named WKT, then every attribute as a column.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A table of the shapes in your drawing.One row for each feature, with its shape as text and its attributes as columns.

  1. What you get

    A single CSV with one row for each feature in the DXF. The first column is named WKT and holds the feature's shape as WKT. Every attribute follows as its own column.

    A feature without a geometry keeps its row, and its WKT cell is empty.

  2. How values are written

    If the DXF already has an attribute named WKT, it is renamed WKT_1 so the shape column keeps its name. Lists and nested values become JSON text in their cell.

  3. What it leaves behind

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

    A DXF file that is cut off before its EOF marker fails with input_corrupted.

DXF and CSV.What each format is.

The formats

From · DXF

AutoCAD DXF

AutoCAD's drawing exchange format. Vector geometry that CAD programs share.

Extensions
.dxf
MIME type
image/vnd.dxf
Kind
Documents
To · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data

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

terminal
$ cv convert report.dxf report.csv
$ cv convert report.dxf report.csv

Questions.What people ask about DXF to CSV.

01OF 04

The first column is named WKT. It holds the shape of each feature as WKT.

Yes. The row stays, and its WKT cell is empty.

That attribute is renamed WKT_1. The first column keeps the name WKT for the shape.

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

More conversions.Other ways in and out of DXF and CSV.