Skip to content

World GeoJSON

Open, versioned GeoJSON administrative boundaries — the Americas, Europe, Africa, Asia and Oceania today, growing toward every country on Earth, and eventually to the Moon and Mars.

Every dataset here is plain RFC 7946 GeoJSON in WGS 84. No API key, no sign-up, no rate-limited service in front of it: fetch a URL and you have boundaries.

  • Get started

    Find a dataset, copy a URL, load it in Leaflet, MapLibre, Python or QGIS.

  • Catalog

    Every dataset, with feature counts, bounding boxes, property lists and download links.

  • Reference

    The conventions: folder layout, admin levels, property schema, CRS policy, and how planetary bodies differ.

  • Libraries

    geoworld for Python and JavaScript: read the index at a pinned data release, download on demand, verify checksums, navigate by id.

  • Contributing

    How to add a country — including which upstream sources are legally safe to use.

Try it

const url =
  "https://raw.githubusercontent.com/andresgmg/World-GeoJSON/main/data/earth/CHL/CHL_ADM1.geojson";

const regions = await fetch(url).then((r) => r.json());
console.log(regions.features.length); // 16
console.log(regions.features.map((f) => f.properties.shapeName));
// ["Coquimbo", "Ñuble", "Los Lagos", …]

Every dataset sits at data/earth/{ISO3}/{ISO3}_{LEVEL}.geojson and carries the same four properties — shapeName, shapeISO, shapeGroup, shapeType — so the snippet works for any country in the Catalog.

What this project is

A data catalog, not a service. The repository holds the files; this site documents what is in them, where each one came from, and the conventions any new contribution must follow.

Those conventions matter more than they might sound. The project began as a single-country dump of two files with no schema, no coordinate system declaration and no source attribution. Scaling that to hundreds of countries without written rules produces a pile of mutually incompatible files. The Reference section is the contract that prevents it.

What this project is not

  • Not a geocoder or a tile server. These are boundary polygons. Rendering, search and spatial indexing are your application's job.
  • Not authoritative on sovereignty. Boundaries follow whichever upstream source is named on each dataset's page. Where claims conflict, the project documents the disagreement rather than resolving it — see Disputed boundaries.
  • Not uniformly licensed. The code in this repository is MIT. The data is licensed per source, and some sources require attribution. See Licensing & attribution.

Current status

243 territories, 499 datasets, 99,381 features: the Americas (55), Europe (51), Africa (60), Asia (51) and Oceania (26).

Country outlines from Natural Earth, first-level and municipal divisions from geoBoundaries, and Chile from IDE Chile's División Política Administrativa 2023. Every dataset is permissively licensed — copyleft sources are excluded, which is why some countries have no first-level divisions yet. In Europe, Africa and Asia that is most of the countries whose geoBoundaries data comes from OpenStreetMap.

Every UN M49 region is now covered. Roadmap has the sequence and the known gaps.