Open dataset of Cambodia's complete administrative hierarchy — from provinces down to communes. This repository provides structured, bilingual (Khmer + English) reference data for all three levels of Cambodia's administrative divisions, including postal codes and geographic coordinates at every level. Designed for developers, researchers, government agencies, and AI agents.
Licensed under CC-BY-4.0. Browse the hierarchy through GitHub's folder navigation, download aggregate files in JSON/CSV/NDJSON, or integrate directly via raw URLs.
| Item | Details |
|---|---|
| Province | 25 |
| District | 210 |
| Commune | 1,652 |
| Coordinates | ✅ Included (all levels) |
| Postal Codes | ✅ Included (commune level) |
| Formats | JSON, NDJSON, CSV |
| License | CC-BY-4.0 |
| Last Updated | 2026-06-01 |
| Website | openadmindata.org/kh |
| API | openadmindata.org/api/kh |
| # | Province | Districts | Communes | Link |
|---|---|---|---|---|
| 1 | បន្ទាយមានជ័យ (Banteay Meanchey) | 9 | 67 | Browse |
| 2 | បាត់ដំបង (Battambang) | 14 | 103 | Browse |
| 3 | កំពង់ចាម (Kampong Cham) | 10 | 109 | Browse |
| 4 | កំពង់ឆ្នាំង (Kampong Chhnang) | 8 | 71 | Browse |
| 5 | កំពង់ស្ពឺ (Kampong Speu) | 9 | 88 | Browse |
| 6 | កំពង់ធំ (Kampong Thom) | 9 | 81 | Browse |
| 7 | កំពត (Kampot) | 9 | 93 | Browse |
| 8 | កណ្តាល (Kandal) | 13 | 127 | Browse |
| 9 | កោះកុង (Koh Kong) | 7 | 29 | Browse |
| 10 | ក្រចេះ (Kratié) | 7 | 48 | Browse |
| 11 | មណ្ឌលគិរី (Mondulkiri) | 5 | 21 | Browse |
| 12 | ភ្នំពេញ (Phnom Penh) | 14 | 105 | Browse |
| 13 | ព្រះវិហារ (Preah Vihear) | 8 | 51 | Browse |
| 14 | ព្រៃវែង (Prey Veng) | 13 | 116 | Browse |
| 15 | ពោធិ៍សាត់ (Pursat) | 7 | 49 | Browse |
| 16 | រតនគិរី (Ratanakiri) | 9 | 50 | Browse |
| 17 | សៀមរាប (Siem Reap) | 13 | 100 | Browse |
| 18 | ព្រះសីហនុ (Preah Sihanouk) | 6 | 29 | Browse |
| 19 | ស្ទឹងត្រែង (Stung Treng) | 6 | 34 | Browse |
| 20 | ស្វាយរៀង (Svay Rieng) | 8 | 80 | Browse |
| 21 | តាកែវ (Takéo) | 10 | 100 | Browse |
| 22 | ឧត្តរមានជ័យ (Oddar Meanchey) | 5 | 24 | Browse |
| 23 | កែប (Kep) | 2 | 5 | Browse |
| 24 | ប៉ៃលិន (Pailin) | 2 | 8 | Browse |
| 25 | ត្បូងឃ្មុំ (Tboung Khmum) | 7 | 64 | Browse |
| File | Format | Description |
|---|---|---|
| all-province.json | JSON | All 25 province records |
| all-district.json | JSON | All 210 district records |
| all-commune.json | JSON | All 1,652 commune records |
| all-flat.json | JSON | Levels 1-2 flat array |
| all-flat.ndjson | NDJSON | Streaming format |
| all-flat.csv | CSV | Spreadsheet format |
| hierarchy.json | JSON | Nested tree |
| schema.json | JSON Schema | Data schema |
import json
with open("data/all-province.json", "r", encoding="utf-8") as f:
data = json.load(f)
for r in data:
print(f"{r['name']['local']} ({r['name']['en']}) — {r['children_count']['district']} districts")import { readFileSync } from "fs";
const data = JSON.parse(readFileSync("data/all-province.json", "utf-8"));
console.log(`Total: ${data.length} provinces`);| Field | Type | Description |
|---|---|---|
id |
string | Unique identifier |
level |
integer | 1=province, 2=district, 3=commune |
level_name |
object | Level label (local + English) |
name.local |
string | Name in local script |
name.en |
string | English name |
name.slug |
string | URL-safe slug |
parent |
object/null | Parent division reference |
ancestors |
array | Full ancestor chain |
children_count |
object | Count of children per level |
zip_codes |
array | Postal codes (where available) |
geo.lat |
string | Latitude (WGS84) |
geo.lon |
string | Longitude (WGS84) |
Full schema: data/schema.json
divisions/{province-slug}/
divisions/{province-slug}/{district-slug}/
Communes are listed inline in each district's README.
- llms.txt — Quick reference for AI agents
- llms-full.txt — Summary with per-province links
- Per-province data — Full data by province
Cambodia Administrative Divisions Dataset (CC-BY-4.0)
URL: https://github.com/open-admin-data/cambodia-administrative-divisions
See CITATION.cff for machine-readable citation.
- Data: CC-BY-4.0
- Open Admin Data — Browse, search and explore administrative divisions for every country
- open-admin-data — GitHub organization with all country repos
- ListBase — Structured reference data for every country