DXF to SHP

Convert a CAD drawing to ESRI shapefiles for QGIS or ArcGIS: points, lines and polygons with layer, colour and text attributes and a .prj file.

DXF
ASCII or binary DXF, any version. Max. 30 MB; the upload is deleted after the conversion.
Coordinate systems (epsg.io)
The coordinate system of the drawing.
Empty: same as the source.
Options
Comma-separated layer names. Empty: all layers.
Download links expire after 30 minutes.
Upload a DXF file, check the coordinate systems and click Convert.
Notes
  • Supported: POINT, LINE, LWPOLYLINE, 2D/3D POLYLINE, ARC, CIRCLE, ELLIPSE, SPLINE, TEXT, MTEXT, block attributes, HATCH, 3DFACE, SOLID, polyface meshes and MESH. Blocks are expanded.
  • Curves are approximated by segments. Every feature gets the attributes layer, entity, colour and handle, text features also text.
  • A shapefile holds one geometry type, so the zip has up to three shapefiles (_points, _lines, _polygons), each with .prj and .cpg (UTF-8).
  • Dimensions, leaders, images, 3D solids and paper space are not converted.
  • Other converters: KML to DXF, KMZ to DXF, SHP to DXF, GeoJSON to DXF, DXF to GeoJSON, DXF to KMZ, DXF CRS converter, OSM to DXF.

About this tool

Converts a DXF drawing into ESRI shapefiles. A shapefile holds a single geometry type, so the result is a zip with up to three shapefiles: points (POINT, TEXT, MTEXT and block attributes), lines and polygons (closed polylines, circles, hatches, 3D faces and mesh faces).

Every feature gets the attributes layer, entity type, colour and handle, and text features also the text. Blocks are expanded, curves are approximated by segments and Z values are kept as PointZ, PolyLineZ and PolygonZ.

Set the coordinate system of the drawing as an EPSG code. The shapefiles can stay in that system or be reprojected; each gets a .prj and a UTF-8 .cpg so QGIS and ArcGIS place them correctly.

How do I keep only some CAD layers?

List them, comma-separated, under Only these layers. In QGIS you can also filter by the layer attribute afterwards.

My closed polylines came out as lines.

Tick Closed polylines as polygons. A polyline counts as closed when its Closed flag is set or its first and last vertex coincide.

Related tools

Free to use, no sign-up. Results are for checking and preliminary design; verify them for your project. Questions or ideas: [email protected].