Data and sources
Sources
The bundled table is generated from two sets of documents published by the Ministry of Internal Affairs and Communications (MIC):
- the numbering plan, for the mobile, 050, and service number rules;
- the assignment tables of local exchange codes, nine Excel files for fixed-line numbers (41,987 blocks).
Nothing is typed in by hand. A script reads the files, checks their headers and status values, and writes the same table for Node.js, Python, and Java. The URL, date, row count, and SHA-256 of every file are recorded in sources.json, which ships in every package.
Date
The bundled data reflects the assignment status that the MIC page states as of November 1, 2026.
The date inside each file is the last date that table changed: MIC does not update the date of a file with no changes. Some tables therefore show older dates, but they are current as of that day.
| Area codes | Date in the file | Blocks | File |
|---|---|---|---|
01… | 令和6年9月1日現在 | 4,410 | XLS |
02… | 令和7年1月1日現在 | 5,668 | XLS |
03… | 令和6年3月1日現在 | 3,200 | XLS |
04… | 令和5年7月1日現在 | 5,327 | XLS |
05… | 令和5年7月1日現在 | 5,299 | XLS |
06… | 令和5年7月1日現在 | 2,700 | XLS |
07… | 令和5年7月1日現在 | 5,544 | XLS |
08… | 令和5年7月1日現在 | 4,519 | XLS |
09… | 令和8年9月1日現在 | 5,320 | XLS |
Updates
A GitHub Actions workflow downloads the MIC files every week. When the table changes and the shared tests pass, it opens a pull request for review. When the numbering plan itself changes, the workflow stops so that a person can read the new notice before the rules are updated.
License
The code is under the MIT License. The bundled numbering data was derived and processed by Kurashina Design from MIC sources, under the MIC terms of use and the Public Data License 1.0. See NOTICE in each package.