en

DXF to GeoJSON

Convert DXF drawings to a GeoJSON FeatureCollection locally - for Leaflet, QGIS and Mapbox. No upload. No daily cap.

Running locally on your device ...

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Site-plan, survey and utility-line exports from CAD programs are often DXF - web maps and GIS tools such as Leaflet, Mapbox or QGIS expect GeoJSON instead. This tool reads your DXF drawing directly in the browser and converts every element into a GeoJSON feature: LINE/LWPOLYLINE/POLYLINE and arcs become a LineString or (for closed shapes) a Polygon, TEXT and POINT become a Point.

Honestly framed: DXF carries no coordinate reference system. Drawing coordinates are carried over unchanged as planar (flat) coordinates, not reprojected into a geographic system like WGS84 - unless your DXF file already originates from a geographic coordinate system, the resulting coordinates are not a genuine longitude/latitude pair. TEXT content is carried along as `properties.text` on its point feature; INSERT block references (including nested ones) are fully resolved in place.

Everything runs entirely locally in the browser - your possibly confidential site-plan drawing never leaves your device. A solid-fill HATCH is included as a Polygon (with holes for inner contours); DIMENSION, pattern-fill HATCH and a few other rare types are not included in the GeoJSON file, but are not hidden either: an additional text file lists exactly what was skipped.

No daily cap, no account, no paywall, no watermark. Drawings up to 200,000 drawing elements (anything beyond is cut off, with a notice) - a browser memory bound, not a paywall. Many online services limit free use to a few runs per day or require an account; here everything runs locally in your browser - with no daily quota and no sign-up.

Specifications

Specifications
Input formatsDXF
Auto-conversionPNG, JPG, WebP, SVG
Output formatGeoJSON
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Drop your DXF file.
  2. The conversion runs automatically.
  3. Download the GeoJSON (e.g. for Leaflet or QGIS).

Limitations: Converts LINE/LWPOLYLINE/POLYLINE/CIRCLE/ARC/ELLIPSE (tessellated to a LineString or Polygon)/POINT/TEXT (as a Point with `properties.text`)/INSERT (resolved)/SPLINE (as a real rational NURBS curve, tessellated)/solid-fill HATCH (as a Polygon with holes) into a GeoJSON FeatureCollection. DXF carries no coordinate reference system - coordinates are passed through as planar values, not reprojected to WGS84. DIMENSION, pattern-fill HATCH and other unrecognised element types are not included; if the drawing contains such elements, an additional notice file lists exactly what was skipped. A drawing consisting entirely of unsupported elements is rejected with a clear error.

FAQ

Are the coordinates real GPS coordinates?

Only if your DXF file was already drawn in a geographic system (e.g. WGS84). Otherwise they are planar drawing coordinates with no reference system.

Do closed shapes become polygons?

Yes, a closed polyline, a circle or a full ellipse are emitted as a GeoJSON Polygon; everything else as a LineString.

Is text preserved?

Yes, as a Point feature with the text content in `properties.text`.

What happens to DIMENSION or a pattern-fill HATCH?

They are not included, but are honestly listed in an additional text file instead of silently disappearing. A solid-fill HATCH, by contrast, is included as a Polygon feature.

Is my file uploaded?

No, the conversion happens entirely locally in the browser; your drawing never leaves your device.

Is DXF to GeoJSON free - are there any limits?

Yes. You can use DXF to GeoJSON as often as you like: no daily cap, no account, no paywall, no watermark. Fixed bounds: drawings up to 200,000 drawing elements (anything beyond is cut off, with a notice). All selected files together may be at most 2 GB per run; on devices with little memory this bound is lower, because it follows your device's memory.

Related tools

Convert DXF · SVG to DXF · TopoJSON to GeoJSON · KML to GeoJSON · WKT to GeoJSON · Shapefile to GeoJSON