OpenStreetMap to DWG (AutoCAD) converter

Upload your OpenStreetMap file and get DWG, which opens in AutoCAD in a couple of minutes: osm2cdr reads the geometry of your file and hands you a ready DWG 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 DWG straight from the OpenStreetMap map: you simply pick an area on the map, choose the DWG 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 DWG format
Example OSM map export to DWG

How OpenStreetMap differs from DWG

FormatExtensionTypePurpose
OpenStreetMap.osm / .pbfOSM geodataMap source: roads, buildings, POI, boundaries
DWG.dwgCADArchitectural design, master plans, construction documentation, land surveying

How to get DWG on osm2cdr

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

DWG format properties

Extension.dwg
TypeCAD
PurposeArchitectural design, master plans, construction documentation, land surveying

When you need DWG

The main scenario is simple: you already have a OpenStreetMap file — upload it and osm2cdr returns DWG, 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 DWG 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 DWG format

What changes when going OpenStreetMap → DWG

Drop in a OpenStreetMap file and osm2cdr reads its geometry and returns DWG; and with no file of your own, the same DWG 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 DWG, 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 DWG — the result is meant for CAD work, not attribute analysis.

Upload your OpenStreetMap extract → DWG

Upload your OpenStreetMap extract — an .osm or .pbf dump — in the form above and osm2cdr will convert it to DWG 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 DWG 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 DWG 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 DWG 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 DWG format in depth

DWG — AutoCAD's Native Format: What It Is, History Since 1982, How to Open and Export from OpenStreetMap

OSM to DWG: an OpenStreetMap extract as an AutoCAD drawing

.osm and .pbf files hold raw OpenStreetMap data: buildings, roads, rivers, railways and thousands of tags describing them. People get them from JOSM, from the Export button on openstreetmap.org, from the Overpass API or from extract servers such as Geofabrik. For a site plan or a base map, that data has to become DWG.

OSM to DWG is most often needed by designers preparing a neighbourhood backdrop for feasibility studies, architects drawing a location plan, and architecture students who need an up-to-date block plan for coursework.

Unlike KML or shapefile, an OSM file carries full thematic tagging, so the service splits features into layers exactly as it does for maps built on the site: buildings, roads, water, railways, green areas, labels and house numbers each get their own.

What carries over and what gets lost

OSM tags decide which layer a feature goes to and how it is styled. Multipolygons, such as buildings with inner courtyards, are assembled from relations. Street names follow the centrelines as labels, house numbers get a layer of their own, and a layer with the required © OpenStreetMap attribution is added.

The tags themselves are not stored as DWG attributes; the drawing carries geometry, labels and layering. Features the service does not assign to any map layer may be left out. Building heights (building:levels, height) are not extruded, so the plan stays flat.

Coordinates are Web Mercator metres (EPSG:3857). The format is AutoCAD 2018 DWG via ODA File Converter, with an explicit fallback to DXF if the DWG step fails.

Step by step

  1. Download the area: the Export button on openstreetmap.org, File, Save As in JOSM, or a .pbf extract for larger regions.
  2. Upload the .osm or .pbf in the form on this page.
  3. Start the conversion and wait until it is ready.
  4. Open the .dwg in AutoCAD 2018+, BricsCAD or nanoCAD and run _ZOOM then _E.
  5. In _LAYER, hide house numbers or labels if they get in the way, and lock the backdrop layers.
  6. If you need a local coordinate system or want to pick the area on a map, build the map in the main map builder on the site instead, where the coordinate system is chosen before export.

Limits

Files up to 50 MB, enough for an OSM extract of a small town or several districts, with up to 200,000 features.

Around Lisbon (about 38.7° N) drawing lengths are roughly 1.28 times the real ones; for true ground metres use the map builder with a chosen coordinate system.

When you publish anything based on OpenStreetMap data, crediting © OpenStreetMap is required by the ODbL licence.

Example result

Example: a JOSM extract of central Lisbon. The DWG comes out with separate layers for buildings, roads, the Tagus as a water feature, the railway, green areas, street names along the centrelines and house numbers, plus the attribution layer. You can outline the project site on top straight away and switch off everything a location plan does not need.

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

DWG format reviews

4.8 out of 5 · 184 ratings

Exporting to DWG works great. Unfortunately, the street name labels are always horizontal. If they were parallel to the road, the map would be more readable.
07.2026

FAQ: OpenStreetMap → DWG

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 DWG. 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 DWG.

Is it free?

Yes, exporting an OpenStreetMap map to DWG on osm2cdr is free. Select an area, the DWG format and download the result.

Which programs open DWG?

The DWG format opens in dedicated programs for its category. See the DWG format page for the full list and details.

Why is this better than an online OpenStreetMap → DWG 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 DWG 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 DWG 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 DWG export skips both steps: named layers, metric coordinates, ready to draw on.

How is uploading an OSM file different from ordering a map of an area on the site?

Here the service uses your file as it is, for example with your JOSM edits. A map of an area is built from the service's own OpenStreetMap database and lets you choose the coordinate system and style.

Is .pbf supported?

Yes. Both .osm (XML) and .pbf are accepted, up to 50 MB.

Why are some features missing?

Only features the service assigns to map layers are drawn; rare tags without a classification may be left out.

Are OSM tags preserved?

Not as attributes. They drive the choice of layer and labels, while the DWG stores geometry and text.

Can I delete the attribution layer?

Technically it is an ordinary layer, but crediting OpenStreetMap is mandatory under the ODbL whenever you publish material based on its data.

Related conversions

Open city maps

All cities

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