OpenStreetMap to DXF (AutoCAD) converter

Upload your OpenStreetMap 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.

Files up to 50 MB. Processing runs on our servers.

Example OpenStreetMap map in DXF format
Example OSM map export to DXF

How OpenStreetMap differs from DXF

FormatExtensionTypePurpose
OpenStreetMap.osm / .pbfOSM geodataMap source: roads, buildings, POI, boundaries
DXF.dxfCADSite plans, engineering surveys, importing maps into AutoCAD, land planning

How to get DXF on osm2cdr

  1. 1Select an area on the map on the osm2cdr home page
  2. 2Choose the DXF format and, if needed, a style and CRS
  3. 3Click Export and download the ready DXF file

DXF format properties

Extension.dxf
TypeCAD
PurposeSite plans, engineering surveys, importing maps into AutoCAD, land planning

When you need DXF

The main scenario is simple: you already have a OpenStreetMap 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.

More about the DXF format

What changes when going OpenStreetMap → DXF

Drop in a OpenStreetMap 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. Here the first source is connected OpenStreetMap geodata: tagged buildings, roads, water and features. The map is built straight to DXF, with no loss on an intermediate OpenStreetMap file: geometry is laid out across named drawing layers (buildings, roads, water), coordinate accuracy is kept, and attribute tables are not carried into DXF — the result is meant for CAD work, not attribute analysis.

Upload your OpenStreetMap extract → DXF

Upload your OpenStreetMap extract — an .osm or .pbf dump — in the form above and osm2cdr will convert it to DXF for you. Files up to 50 MB are supported. If your file is too large, or you just want a fresh map of an arbitrary area, you can skip the upload entirely: pick an area on the home page and download DXF with up-to-date OSM data right away.

Import OpenStreetMap into AutoCAD

To import OpenStreetMap into AutoCAD you need neither a plugin nor a live connection between AutoCAD and OpenStreetMap: pick the area here, export it as DXF and open the file in AutoCAD like any other drawing. Layers come named and separated — buildings, roads, water, landuse — in metric coordinates, so OpenStreetMap data lands in AutoCAD ready to work with.

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.

Read the OpenStreetMap to AutoCAD guide

The DXF format in depth

DXF — Complete Guide: 1982-2026 History, 7 File Sections, Group Codes, How to Export from OpenStreetMap

OSM to DXF: OpenStreetMap data in an open drawing format

An OpenStreetMap DXF is for people who work beyond AutoCAD: in LibreCAD and QCAD, in laser-cutting software, in Inkscape or Blender. A text DXF opens almost anywhere and does not tie you to a particular CAD release.

Workshops that engrave neighbourhood maps on wood and acrylic convert .osm to DXF, as do model makers cutting a base for an architectural model, mappers who edit an area in JOSM and want to see it as a drawing, and teachers of technical drawing and cartography.

Upload a .osm or .pbf and the service reads the tags and builds thematic layers: buildings, roads, water, railways, green areas, labels and house numbers.

What carries over and what gets lost

Tag-based classification survives as layers, which makes it easy to keep only the buildings or only the roads for a cutter. Labels are stored as text on a separate layer, so for engraving you can hide them or convert them to outlines in your own software.

Tag values are not written to the DXF, heights and building levels are ignored, and there are no curves; every line is a polyline through OSM nodes. Features with unusual tags that do not belong to any map layer may be missing.

The file is AutoCAD 2007 (AC1021), with Unicode for street names in any script. Coordinates are Web Mercator metres, no .prj is attached, and the © OpenStreetMap attribution sits on its own layer.

Step by step

  1. Export the area as .osm from JOSM or with the Export button on openstreetmap.org; for a larger region take a .pbf.
  2. Upload the file in the form on this page and start the conversion.
  3. Download the finished .dxf.
  4. Open it in LibreCAD, QCAD, BricsCAD or AutoCAD and zoom to extents (_ZOOM then _E, or Auto Zoom).
  5. For a model or a cutter, leave only the layers you need visible, for instance buildings and water, and save a copy.
  6. Scale the outlines to the workpiece with _SCALE and pass the file to the machine software.

Limits

Files up to 50 MB with up to 200,000 features.

Around Melbourne (about 37.8° S) drawing metres are 1.27 times longer than ground metres. For a model that hardly matters, since it is scaled anyway, but engineering measurements need reprojection.

Credit © OpenStreetMap whenever you publish a product or map based on OpenStreetMap data.

Example result

Example: a Melbourne workshop preparing an engraved map of the CBD. A JOSM .osm extract converts into a DXF with layers for buildings, roads, the Yarra River as water, parks and labels. For engraving they keep buildings and water, turn roads into cut lines and hide the labels, all by toggling layers with no manual clean-up.

What people who already downloaded say

Finally, maps can be downloaded as vectors. Thanks to the author!
Ilyas, September 2026

Map: Ufa, AI

everything is really cool, I didn't expect I'd just come and download a piece of the map! thanks!!!
Sergey, September 2026

Map: Nizhny Novgorod, PMTiles

HUGE THANKS!!! A VERY GOOD PROGRAM!!! I was looking for a vector map where 3 countries meet - it helped a lot!!
Andrey, September 2026

Map: Kazakhstan and Altai, PDF

Well done! You've done a big and much-needed job!
Artem, September 2026

Map: Roshchino, Leningrad Region, GeoTIFF

Ivan, thank you so much! Not just a man - a Great Man!
Konstantin, September 2026

Map: Saratov Region, GeoJSON

ivan, you're simply a wonder. Thank you for an incredibly cool service
Architecture student, September 2026

Map: Bogashevo near Tomsk, DXF

All reviews

FAQ: OpenStreetMap → DXF

Can I upload my OpenStreetMap file?

Yes, now you can: upload your OpenStreetMap 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 OpenStreetMap → DXF converter?

An online converter caps the result quality at the quality of the source OpenStreetMap file. osm2cdr takes data from the OpenStreetMap source and builds DXF with correct layers directly — with no loss on an intermediate OpenStreetMap file.

How do I import OpenStreetMap into AutoCAD?

Pick the area on the map, export it as DXF and open the file in AutoCAD, DWG TrueView or BricsCAD. No OSM file and no plugin are needed — osm2cdr builds the drawing from OpenStreetMap for you, with layers already separated.

Can I connect AutoCAD to OpenStreetMap directly?

Plain AutoCAD geolocation only gives you a map background, not editable geometry. AutoCAD Map 3D and Civil 3D can import raw OSM data, but you have to fetch the file and set the layers up yourself. A DXF export skips both steps: named layers, metric coordinates, ready to draw on.

Is the DXF suitable for a laser cutter?

Yes. Outlines arrive as polylines on separate layers; keep the ones you need, scale them and load the file into the machine software.

Can I upload a file I edited in JOSM?

Yes. The service takes the data from your file exactly as it is, edits included.

Why DXF 2007 and not R12?

The 2007 release stores text as Unicode, so street names in non-Latin scripts do not turn into gibberish.

Will the DXF include building heights?

No, the drawing is flat. The site offers separate 3D formats if you need a volumetric model.

Do I have to credit OpenStreetMap?

Yes. The ODbL licence requires © OpenStreetMap attribution when you publish, and the drawing has a dedicated layer for it.

Related conversions

Open city maps

All cities

Free city map poster — make a minimalist poster of any city