中国行政区划代码【省、市、区县、乡镇街道】中国省市区镇三级四级联动行政区划数据(GB/T 2260)
Administrative-divisions-of-China
github.com/modood/Administrative-divisions-of-China中华人民共和国行政区划:省级(省份)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。
git clone https://github.com/modood/Administrative-divisions-of-China- Stars
- 21k
- Rank in field
- Top 17%#90 of 546 by stars
- Forks
- …
- Open issues
- …
- Contributors
- …
- Language
- JavaScript
- License
- WTFPL
- Last push
- 27 Dec 2025
What is Administrative-divisions-of-China?
A dataset of China's administrative divisions at five levels: province, prefecture-level city, county, township/street, and village committee. It is intended for developers who need Chinese address data for forms, cascading selectors, or databases. Data is provided as JSON and CSV files, plus a SQLite database, with linked two- to four-level cascade files and optional codes. The README states the data is no longer updated and covers the 2023 statistical division codes.
Install & use
git clone https://github.com/modood/Administrative-divisions-of-China.git
# open modood/Administrative-divisions-of-China and follow its README
modood/Administrative-divisions-of-China is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
- Five levels: province, city, county, township/street, village
- JSON and CSV files for each level
- Linked cascade files for two, three, and four levels, with or without codes
- SQLite database file included
- Data can be migrated to MySQL, Oracle, MSSQL and others
- Bulk download available via Releases
Best for
- Cascading province-city-county address selectors
- Populating address forms with Chinese divisions
- Seeding a database with administrative codes
- Offline reference of 2023 division data
Pros
- Covers five administrative levels in one project
- Provides both JSON and CSV formats
- Includes a ready-made SQLite database
- Cascade files support linked address selection
Cons
- README states the data is no longer updated
- Latest data is the 2023 statistical codes (as of 2023-06-30)
- No five-level cascade file is provided
Stars over time