KML to DXF (AutoCAD) converter
Upload your KML file and get DXF, which opens in AutoCAD in a couple of minutes: osm2cdr reads the geometry of your file and hands you a ready DXF straight away. Processing runs on our servers, the result is ready to download as soon as it finishes, and files up to 50 MB are supported. And if you have no file of your own, or need a fresh map of an area, osm2cdr builds DXF straight from the OpenStreetMap map: you simply pick an area on the map, choose the DXF format and download the result with up-to-date OSM data — with layers for buildings, roads, water and features.

How KML differs from DXF
| Format | Extension | Type | Purpose |
|---|---|---|---|
| KML | .kml | GIS | Viewing in Google Earth, geodata sharing, creating tourist routes, presentations |
| DXF | .dxf | CAD | Site plans, engineering surveys, importing maps into AutoCAD, land planning |
How to get DXF on osm2cdr
- 1Select an area on the map on the osm2cdr home page
- 2Choose the DXF format and, if needed, a style and CRS
- 3Click Export and download the ready DXF file
DXF format properties
| Extension | .dxf |
| Type | CAD |
| Purpose | Site plans, engineering surveys, importing maps into AutoCAD, land planning |
When you need DXF
The main scenario is simple: you already have a KML file — upload it and osm2cdr returns DXF, ready to use in a dedicated program (editing, printing, analysis, embedding in a project). The alternative is for when you have no file at hand or need a fresh map of an area: the same DXF is then built straight from up-to-date OpenStreetMap data for your chosen area, split into layers for buildings, roads, water and features.
What changes when going KML → DXF
Drop in a KML file and osm2cdr reads its geometry and returns DXF; and with no file of your own, the same DXF is built straight from the OpenStreetMap map for your chosen area. Either way the data model changes. Going KML → DXF, GIS attribute tables are not carried into the drawing: geometry is laid out across named layers (buildings, roads, water) while coordinate accuracy is preserved. The result targets CAD work, not attribute analysis. osm2cdr builds DXF straight from OpenStreetMap data, so an intermediate KML file is not needed.
Upload your own KML file → DXF
No need to hunt for a third-party converter anymore: drop your KML file in the form above and osm2cdr will read the geometry and hand you a ready DXF. Files up to 50 MB are supported; processing runs on our servers and the result is ready to download as soon as it finishes.
OpenStreetMap and KML to AutoCAD: three ways
A ready drawing from this page is not the only route. The guide compares three: a DXF export from the map builder, import in AutoCAD Map 3D and Civil 3D, and QGIS with ogr2ogr — plus KML and KMZ to DWG.
FAQ: KML → DXF
Can I upload my KML file?
Yes, now you can: upload your KML file right on this page and osm2cdr will read the geometry and convert it to DXF. Files up to 50 MB are supported. If the data comes from OpenStreetMap, you can skip the upload entirely — we'll export the map straight into DXF.
Is it free?
Yes, exporting an OpenStreetMap map to DXF on osm2cdr is free. Select an area, the DXF format and download the result.
Which programs open DXF?
The DXF format opens in dedicated programs for its category. See the DXF format page for the full list and details.
Why is this better than an online KML → DXF converter?
An online converter caps the result quality at the quality of the source KML file. osm2cdr takes data from the OpenStreetMap source and builds DXF with correct layers directly — with no loss on an intermediate KML file.