Text to DXF Converter

Paste or upload a text list of X and Y coordinates to instantly generate a DXF polyline for use in CAD software.

Examples:
Layer:
📐Enter coordinate points above and click Convert.

About This Tool

This tool converts a plain-text list of coordinate pairs into a DXF file containing a POLYLINE entity, ready to open in AutoCAD, QGIS, LibreCAD, or any other DXF-compatible application. It is used in surveying, GIS, and civil engineering workflows to bring field-collected or GIS-exported point lists into CAD without manual re-entry.

Key Concepts

DXF — Drawing Exchange Format
An ASCII (plain-text) file format created by Autodesk for interoperability between CAD packages. A DXF file is structured into sections (HEADER, TABLES, ENTITIES, etc.) and uses group-code / value pairs to describe geometry and properties. Because it is text-based, it can be generated programmatically from any coordinate list.
POLYLINE — Connected Line Segments
The DXF entity used to represent a sequence of connected straight-line segments defined by 2D vertices (X, Y). An open polyline simply connects the vertices in order; a closed polyline adds a final segment from the last vertex back to the first, forming a polygon. Output targets DXF R12 (AC1009), the most broadly supported revision, so geometry is written as POLYLINE with VERTEX records rather than the LWPOLYLINE entity introduced in R13.
Coordinate Order (X, Y)
DXF uses X (easting / longitude) as the first coordinate and Y (northing / latitude) as the second — the same order as most tabular datasets. If your data has latitude first (Y, X order, as in GPS export), swap the columns before converting, or use the "Ignore first column" option if the first column is a point ID.
Layer
A named grouping within the DXF file. All geometry is written to the layer you specify (default: "Points"). In AutoCAD and QGIS, layers control visibility, colour, and linetype independently.