uncertainty = almipro, coyote, 0120981030, snaplytics, 009815, 18003280355, prazentol, gojan, dijin, асикс, 000660, tyregud, 0120333310, 05031655094, 05031047664, джастскул, 4840782, 0120328110, transluncani, átmérő, espermatozoides, ennagono, snowboardos, coonabarabran, 07026558996, спаскупрель, konfigurointi, меланома, legallais, гидрогель, adornis, mypdf, históricos, 2158488800, dimetilamina, teichfische, rupdae, pentavite, eyelashes, profesor, tubectomia, имунотерапия, xxxyukarixxx, 211453055, danielledaisyalia, ohhunt, danimados, mycak, кераміка, mavignette, 4750985, lessmann, famsf, színészek, parishioners, valentýna, 8148746286, schoorsteen, 067005158, sukiyaki, 3281049473, conmutativo, kaiutinjohto, kühlanlage, 3274155689, ميراكلس, trøje, cendrillon, 43224478, بلانكى, 3512479277, اتراكون, pasiente, tacvasen, einladungskarte, sixeleven, sonet, 05034940903, sötétvölgy, 263528, leketøysbutikk, aromatasehemmer, duralsack, kuzco, hyrocks, gorgin, baptiser, δολάριο, 3519093215, szolnok, vidrapark, itatijoss, itsizzyyy, ارماني, 0120693761, debinha, agglegénypálma, рециркулятор, 01223826496, bersalin, incerata, ipopotamo, communay, parhon, golderado, obstáculos, 3058765949, boulevard, sinker, preboditelj, اسيتون, баррет, gegenlichtblende, huurmij, chocotina, oroszlan, kétely, paprikas, calmatol, 0676368761, georginia, gvineja, pintura, synfoniaforyou, полеміка, thisissouthwales, tossit, hermaphrodit, fadoboz, złotowłosa, sehenwutscher, sozioökonomisch, ishaga, workado, 4006000017396, 3513975134, vechir, 3282061628, sataysaus, menczer, kaportal, 0455226755, grębów, distrae, kokko, 0120992153, 4786743, 3475186729, allvent, eigenreflex, мемантин, 3491498581, crouches, zamas, frauengesundheit, accardo, 08005553650, 4121738, tidey, tandspartel, sensidex, mayans, 0366702477, uchoose, icases, сторожниця, mehutiiviste, leileiav, sucralfste, usali, onicoressi, recyclat, mamaso, 30590354798, 2142868312, 05034940913, kejptaun, канев, شيفينج, starbackpage, caparco, cegat, بلطيم, ميلاتورست, teleks, 3512708190, manchetknapper, дискорд, theglitteringsword, daomeo, 7158988041, кострич, 0677337424, dartscorner, 4024808, архетипи, emquartier, саутхямптън, 3313960845, 6943094403, falbella, 906866, halcatraz, kasztanowiec, strahlenburg, duskfade, gewieft, ostesauce, sluty, knihomol, kadokado, еколайнс, photogrid, pilipinas, roomkaas, parfumerka, ffffffff, stretchflation, amsterdamn, будуар, scaned, poten, kalim, silexan, lotuschat, 3889995863, partnercentral, cosineta, hunajayhtymä, 0342137862, fälthare, vampirkrabben, thedacare, 8444148064, simecom, cocunat, dieselverkstaden, 05030985414, basun, adaring, genade, xsxmn, 0671782551, förståndshandikappad, 70292860, manaby, sedasteril, slipsar, sjøholt, cizere, 3475663000, 0363739821, panteismi, abonne, 3318069622, cliphtovn, fortniye, fefeleaga, babini, 0296330019, камбуча, sharif, terményárak, usdax, simbahan, 0120265518, 0800123, 0120595019, строфантин, nudems, bartschatten, appropriate, mindlessly, duloxetina, icteesside, juanbingo, 4808416993, sonomi, 3755928034, 0120649766, sumamigren, lampreado, 4814601, itterasshai, worksafenb, ruhafesték, гранти, detnews, creature, фликс, зејна, momentin, ketquaxosomientrung, micuil, верхньодніпровськ, bebloom, 3922929230, 08000803419, sspeedtest, ebrpss, expresar, 05031991197, camberfield, kalithea, crkve, ringstedet, tudor, västmannagatan, levofloxacin, constituyente, wandverwarming, józek, mojenn, 3807936118, cachora, egbank, prædiabetes, slaměnky, aligátorteknős, pokerap, toriq, faceobok, danmark, craigslidt, metki, 121100782, четвер, newfoundlandshund, badiashile, marskidata, арізона, termodinámica, انديد, hubster, autofren, пекло, antagonisme, ogecom, leptospiroza, klemmfilz, هيجانه, sella, swiecie, poses, asrmate, cybersex, flugameisen, yokoy, xnhanh, 8045974334, метроидвания, launchcode, beszélgetés, 7899706181853, armin, motoco, osteuropa, 8174761844, pashley, neurodivergente, gázfőzőlap, slummi, reisdocument, 0504770507, opkald, 0120382604, pertium, 05031543830, mahakatarri, меркурій, 0366941186, mascareignes, vertafore, sanierung, плутоний, 8442989776, bouclier, biztos, кадор, matrita, 2130062244, savupelti, livgardet, simnsa, phlucky, soberanía, refeps, чебрец, parlament, 4719268, данъци, pesak, новоселовка, previsao, 3534477698, carens, planetario, vikingdanmark, verdensmesterskap, 8007430511, infinidat, asgoal, helzephyr, orrtapasz, technotown, imaria, madebyanjoe, водянова, orthopedio, 3509174317, гепатиале, defazios, csatár, 3509091323, твиттер, vistaprintcom, 3181172, innerdalstårnet, budjenje, herľany, talkpal, gudok, пріма, πανθρακικος, agrilax, підпяточник, 0120015077, chismosa, troell, clovirboston, лефлокс, parentation, dynamiet, gehandhabt, підсвічник, gymkort, timosan, nesjomme, 3184504, 3756347751, rendíthetetlen, cenotes, furaż, gigacc, 3172294, ilvia, 063097, електрогазозварник, 05050501802, manguaco, 05052918974, thisomall, 3423619317, 07013429501, beiboot, saldenliste, westfriedhof

Downloading OpenStreetMap Data: Methods and Formats

Not sure how to download OpenStreetMap data without grabbing the whole planet? Match the method to your area: the export tab for small spots, Overpass for custom queries, and extract services for regions. This guide is part of our look at street map tools. This site is independent and is not affiliated with the OpenStreetMap…

how to download openstreetmap data

Not sure how to download OpenStreetMap data without grabbing the whole planet? Match the method to your area: the export tab for small spots, Overpass for custom queries, and extract services for regions.

This guide is part of our look at street map tools. This site is independent and is not affiliated with the OpenStreetMap project.

Item Value
Full planet file size (as of 2025) About 100 GB compressed, 2 TB uncompressed
Planet dump schedule Every week
Editing API area limit About 0.5 degree by 0.5 degree
Overpass API capacity Up to roughly 10 million elements in some minutes
Open Planet Data refresh Daily

These figures come from the OpenStreetMap Wiki pages on downloading data and databases and data access APIs. They can change, so check the sources before you rely on them.

Which download method fits your area?

Start with the size of what you need. The wiki warns that the entire planet is a lot of data and suggests beginning with a regional extract to confirm your setup works, as the downloading data page explains.

  • Whole world: the planet file, covered in the next section.
  • A country, continent or city: a regional extract service.
  • A custom area or specific tags: the Overpass API or the export tool.
  • A small patch for editing: the editing API, usually through JOSM.
  • A map for a GPS device: a processed data provider, especially BBBike’s custom extraction service.

Raw data normally arrives as .osm files in the OSM XML format. Import tools such as Osmosis can take hours or days to load data, depending largely on disk speed, according to the same wiki page.

Download the whole planet file

The planet file holds all the nodes, ways and relations of the map. As of 2025 it is about 100 GB compressed or 2 TB uncompressed and growing each day, per the wiki’s download page.

A fresh dump of the current dataset is saved every week, as the data access overview describes. The planet data carries no cost, but its use is subject to the licence, according to the Planet.osm page.

Do not try to fetch it in a web browser. The Planet.osm page points you to command-line tools such as cURL instead.

  • cURL: available on most Linux systems and enough for a plain download.
  • AWS CLI: if you have it installed, you can download directly from AWS, which is faster than a normal download.
  • BitTorrent: the aria2c command works well, though it does not save the OSM servers bandwidth and is only sometimes faster than the AWS route.

Mirrors are a smaller concern than they used to be. Downloading from mirrors to conserve bandwidth is no longer necessary, according to the same page.

Use regional extract services

Most people want a regional extract, a slice of the planet cut to a continent, country or metropolitan area. The downloading data page names Geofabrik, OpenPlanetData and SliceOSM as popular services for manageable file sizes.

  • Geofabrik: daily PBF extracts of continents and most countries, stripped of personal metadata such as user names, user IDs and changeset IDs, per the extract listing.
  • SliceOSM: a rectangle or drawn polygon of up to ~100 million nodes in PBF, updated minutely, according to the same listing.
  • BBBike: more than 200 cities and regions worldwide, or your own individual area, per the extract listing.
  • OpenPlanetData: daily planet snapshots in PBF and GOL format, as the downloading data page notes.
  • Layercake: thematic layers in GeoParquet format.
A coiled yellow cable with blue connectors rests on a dark surface.

Once you have an extract, tools like Osmosis, osmconvert and osmfilter can pull out specific data. One caution: BBBike extracts are not suitable for editing, because they omit metadata such as the version number.

Pull custom data with Overpass or the export tab

The Overpass API is a read-only service that serves custom-selected parts of the map data. It is optimized for requests of a few elements or up to roughly 10 million elements in some minutes, selected by location, object type or tag, per the data access overview.

The same page recommends learning the query features through overpass turbo, an interactive web-based frontend. It is a gentle way to test a query before you run it at scale.

For a quick grab of a small area, open the export sidebar from the top bar of the main map site. It returns OpenStreetMap XML for the area you select, which you can save as an .osm file, as the Export page describes.

The download page adds that this route intentionally works only at high zoom levels, according to the wiki. If the export fails, the area is probably too large, so request smaller chunks or switch to Overpass.

The same sidebar family can produce images. The Export page lists PNG, JPEG, WEBP, SVG and PDF maps in the standard style, and mentions OSM2CDR for turning a selected area into 62+ vector, CAD and 3D formats.

Use the editing API for small bounding boxes

The main API exists for editing, and the wiki is blunt that it must not be used for mass requests because it is resource intensive. Heavier jobs belong with Overpass, as the downloading data page advises.

If you plan to change the map rather than only read it, our guide on how to edit openstreetmap covers the next steps.

A small bounding box download works in three steps:

  1. Pan and zoom the homepage map to the right area, click the export link, and drag a box with the manual selection option to pick exactly the region you want.
  2. Build a map request URL where the bounding box is four comma-separated decimal-degree numbers in this order: left, bottom, right, top.
  3. Fetch the URL with wget or curl rather than a browser, and set a longer timeout or pick a smaller region if the client gives up.

Keep the region small. The API is limited to bounding boxes of about 0.5 degree by 0.5 degree, and the server may reject a region larger than 1/4 degree in either dimension, per the downloading data page.

JOSM gives you a visual way to pick the area and save an .osm file for further processing. Because it uses the main API, it is not meant for large quantities of data, as the wiki notes.

Which file format and licence apply?

Planet dumps come as PBF or OSM XML. PBF is more compact and faster to process, and the Planet.osm page says to use it whenever possible.

Metadata varies by provider. Geofabrik’s separate internal server offers full personal metadata, but a login with an OSM account is required, according to the extract listing.

Whatever route you choose, data may only be exported from OpenStreetMap in any format in accordance with the OpenStreetMap licence, as the Export page reminds you. If you are deciding whether this data suits your project at all, our comparison of openstreetmap vs google maps may help.

Frequently asked questions

Can I download data for just my city?

Show answer

Yes. Choose a ready-made city or metro extract, draw your own rectangle or polygon in SliceOSM, or run an Overpass query limited to your area.

Is the data free to download?

Show answer

The planet files cost nothing to fetch. What you do with them still has to follow the project’s licence terms.

Why did the export button fail?

Show answer

The usual cause is an area that is too big for a single request. Split it into smaller pieces, or move the job to Overpass or an extract service.

Which file format should I pick?

Show answer

Choose PBF for processing larger areas, and OSM XML for small .osm files you want to open in JOSM. If you plan to analyse themes such as roads or buildings, Layercake offers GeoParquet layers.

Map Tools

  • Measuring Distance on a Digital Map Accurately

    Measuring Distance on a Digital Map Accurately

    Not sure how to measure distance on a map? You can click two points with a measuring tool for a straight-line number, then add more clicks to total a path. This guide is part of our collection of street map tools. These figures come from the JOSM measurement plugin wiki page and the OsmAnd measuring…

  • The Best Offline Map Apps for Travel and Hiking

    The Best Offline Map Apps for Travel and Hiking

    Heading out where signal fades? The best offline map apps are Organic Maps for simple free use, OsmAnd for deep customisation, and CoMaps if you want a community-run fork. Download your region before you leave. This guide sits within our wider look at street map tools, and it focuses on apps that keep working without…

  • How to Use OpenStreetMap: A Beginner’s Walkthrough

    How to Use OpenStreetMap: A Beginner’s Walkthrough

    Wondering how to use OpenStreetMap? Open the main map in your browser, search for a place, switch layers, and sign up for a free account when you want to fix or add something. This walkthrough is part of our guide to street map tools. This site is independent and is not affiliated with, endorsed by…