Convert CSV to DXF Online — Free & Instant
Converting a CSV file with coordinate data to DXF is the standard way to import spreadsheet-based survey points, site measurements, or field-collected locations into AutoCAD and other CAD applications. DXF (Drawing Exchange Format) is AutoCAD's open interoperability format and is supported by every major CAD tool including BricsCAD, QCAD, LibreCAD, and FreeCAD. Your CSV must contain at least two coordinate columns — Maparz recognises X/longitude (x, lon, lng, longitude) and Y/latitude (y, lat, latitude) automatically. Each CSV row becomes a DXF POINT entity at the corresponding coordinate, with all other attribute columns preserved as extended entity data. This workflow is used daily by surveyors, civil engineers, and GIS analysts who collect field measurements in spreadsheets and need to bring them into CAD drawings without manually importing each point.
File converter
When to convert CSV to DXF
- Importing total station survey point data from CSV into AutoCAD as POINT entities
- Loading GPS coordinate exports from data collectors into a CAD base drawing
- Converting site layout stake-out points from Excel to DXF for field use
- Importing borehole or soil sample location coordinates into civil engineering CAD
- Converting OpenStreetMap or GIS point exports to DXF for CAD overlay
How to convert CSV to DXF
- 1
Prepare your CSV
Ensure your CSV has X/longitude and Y/latitude columns. Accepted names: x, lon, lng, longitude (for X); y, lat, latitude (for Y). Column names are case-insensitive. Other columns are preserved as attributes.
- 2
Upload the CSV
Drop your .csv file on the upload zone or click to browse. Files up to 50 MB are supported.
- 3
Select DXF output
Click DXF in the output format panel. GDAL converts each row to a DXF POINT entity.
- 4
Open in your CAD tool
Open the downloaded .dxf in AutoCAD, BricsCAD, QCAD, LibreCAD, or FreeCAD. Use INSERT or OPEN — the points will appear at their original coordinates.
About CSV
CSV (Comma-Separated Values) files containing geometry data typically include latitude and longitude columns (or X/Y columns for projected data). Many data providers distribute point datasets as CSV because they are easy to open in Excel, Python, and R. When converting from a vector format to CSV, Maparz outputs an X (longitude) and Y (latitude) column along with all attribute data. To convert CSV to GeoJSON, your file must have columns identifiable as longitude (x, lon, lng, longitude) and latitude (y, lat, latitude).
Strengths
- +Opens in Excel, Google Sheets, any spreadsheet
- +Human-readable and editable
- +Lightweight for point data
About DXF
Drawing Exchange Format (DXF) is the open interoperability format developed by Autodesk for AutoCAD. It is widely used in civil engineering, architecture, and urban planning workflows. DXF files contain geometric primitives like lines, arcs, polylines, and text. When converting DXF files to GIS formats like Shapefile or GeoJSON, the geometry is preserved but attribute data may be minimal since DXF layers are mapped to feature properties. Conversely, GIS data exported to DXF can be brought into CAD workflows for drafting.
Strengths
- +Universal in CAD workflows
- +Supported by AutoCAD, Revit, FreeCAD, LibreCAD
- +Good for precise engineering geometry
Frequently asked questions
Q.What DXF entity type does each CSV row become?
Each row with valid X and Y coordinate values becomes a DXF POINT entity placed at those coordinates. If your CSV contains line or polygon geometry encoded as WKT (Well-Known Text) in a geometry column, GDAL will attempt to convert those to the corresponding DXF entity types (LWPOLYLINE for lines and polygons). Pure point-based CSVs — the most common case — produce clean POINT entities, one per row.
Q.What column names are recognised as coordinates?
Maparz uses GDAL's CSV driver, which recognises these column names automatically: for longitude/X — x, lon, lng, longitude, easting; for latitude/Y — y, lat, latitude, northing. Column names are case-insensitive. If your CSV uses different names (e.g. 'x_coord', 'y_coord'), rename the columns before uploading or use a local ogr2ogr command with the -oo X_POSSIBLE_NAMES and Y_POSSIBLE_NAMES options.
Q.Are my other CSV columns (name, description, code) included in the DXF?
DXF has a limited attribute model compared to GIS formats. The point coordinates are always written as the DXF POINT position. Additional columns may be stored as XDATA (extended entity data) depending on the GDAL DXF driver version. For richer attribute preservation, consider converting to Shapefile or GeoJSON instead, then importing those into CAD via a GIS plugin like Civil 3D's import tools.
Q.My CSV uses projected coordinates (Eastings/Northings), not lat/lon — will it work?
Yes. Maparz passes your coordinates through to the DXF without reprojecting. If your CSV contains British National Grid Eastings and Northings, or UTM coordinates, those exact values will be written into the DXF. Your CAD software will display the points at those coordinates, which is correct if your drawing is set up in the same coordinate system. If you need the DXF in WGS 84 lat/lon, first convert your projected CSV to a GIS format and reproject, then export to DXF.
Q.Can I open the CSV-to-DXF result in AutoCAD LT?
Yes. The DXF output from Maparz uses DXF R2000 (AutoCAD 2000) format, which is compatible with all versions of AutoCAD including LT, as well as BricsCAD, QCAD, LibreCAD, Vectorworks, and MicroStation. Use File → Open in AutoCAD and select DXF from the file type dropdown, or simply drag the .dxf file into an open drawing.