Skip to content

Free online DXF to GEOJSON converter

Convert CAD drawing geometry from DXF into GeoJSON for GIS and web maps.

Convert DXF to GEOJSON online - free

Uploading…

A drawing does not say which system it is drawn in. Enter its EPSG code, for example 32633 (UTM 33N), 27700 (British National Grid) or 4326 (degrees). Codes are listed at epsg.io. Left empty, coordinates in degrees are recognised on their own.

Your file is processed instantly and deleted as soon as you download it.

How it works

  1. 1/3

    Upload your .dxf file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .dxf to .geojson conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .geojson file

    Conversion result is ready to download.

How to convert dxf to geojson file

101convert.com assistant

101convert.com assistant
8m

GIS applications and web maps often require GeoJSON when a drawing arrives as a DXF file. Converting it makes CAD geometry usable as geographic features, provided its coordinate system is known.

What the DXF format is

DXF (Drawing Exchange Format) stores CAD drawing data, including lines, arcs, points, text, and other entities organized on layers. AutoCAD, BricsCAD, LibreCAD, and other CAD programs create or edit DXF files, which are commonly used to exchange technical drawings.

What the GEOJSON format is

GeoJSON is a JSON-based format for geographic features: points, lines, polygons, and their associated properties. GIS software and web-mapping tools can read it directly. Unlike DXF, it is designed for geographic data rather than detailed CAD drafting, so drawing styles and some CAD-specific entities may not carry over.

How to convert DXF to GEOJSON

Online on 101convert.com

  1. Upload the DXF file to the converter. You can add several files for batch conversion; the page shows the per-file size limit.
  2. Before converting, set the drawing’s coordinate system using its EPSG code.
  3. Convert the files, then download the GeoJSON output.

Offline with desktop software

GDAL is a free, open-source command-line toolkit available for Windows, macOS, and Linux. Its DXF reader and GeoJSON writer can convert a drawing with:

ogr2ogr -f GeoJSON output.geojson input.dxf

If the drawing’s coordinates are in a known source CRS and need to be converted to GeoJSON’s usual longitude/latitude CRS, specify both CRSs:

ogr2ogr -f GeoJSON -s_srs EPSG:26910 -t_srs EPSG:4326 output.geojson input.dxf

Replace EPSG:26910 with the CRS that actually describes the DXF coordinates. The example target, EPSG:4326, uses longitude and latitude.

QGIS is free, open-source desktop GIS software for Windows, macOS, and Linux. Open the DXF using Layer → Add Layer → Add Vector Layer, select the relevant imported layer, then use Export → Save Features As… and choose GeoJSON as the format. Set the destination CRS in the export dialog if reprojection is needed.

Coordinate systems and conversion limits

Many DXF drawings contain coordinates but no reliable CRS information. Assigning the wrong CRS or treating local drawing coordinates as longitude and latitude can place features incorrectly; identify the drawing’s CRS before reprojection. CAD entities such as annotations, dimensions, blocks, and styling may be omitted, simplified, or represented differently in GeoJSON, so check the exported features in the intended GIS or mapping application.


Note: This dxf to geojson conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

DXF vs GEOJSON: format comparison

How the DXF and GEOJSON formats compare on the properties that matter most for this conversion.

Comparison of the DXF and GEOJSON file formats
Property .DXF Drawing Exchange Format .GEOJSON GeoJSON
Open standard Partly open Yes
Compression Uncompressed Uncompressed
Typical file size Large Medium
Opens in a web browser No Partial
Further editing Limited Easy
Metadata support Basic Basic
Plain-text readable Yes Yes
Best used for Data exchange Data exchange
Introduced 1982 2008
Developer Autodesk GeoJSON working group / Internet community
MIME type application/dxf application/geo+json

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the DXF to GEOJSON converter free?

Yes, converting DXF to GEOJSON on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my DXF file be?

You can upload DXF files up to 10 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 50 MB per file and 10 files at once, see our plans.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert DXF to GEOJSON?

No. The DXF to GEOJSON conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid DXF file for this DXF to GEOJSON conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.