[{"data":1,"prerenderedAt":432,"buildId":433},["ShallowReactive",2],{"docs-navigation-en":3,"examples-en":30,"page-\u002Fdocs\u002Fdata-and-sources":131,"surround-\u002Fdocs\u002Fdata-and-sources":428},[4],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Docs","\u002Fdocs","docs",[9,13,17,21,25],{"title":10,"path":11,"stem":12},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",{"title":14,"path":15,"stem":16},"In the browser and with frameworks","\u002Fdocs\u002Fin-the-browser","docs\u002F2.in-the-browser",{"title":18,"path":19,"stem":20},"Input rules","\u002Fdocs\u002Finput-rules","docs\u002F3.input-rules",{"title":22,"path":23,"stem":24},"Compared with libphonenumber","\u002Fdocs\u002Flibphonenumber","docs\u002F4.libphonenumber",{"title":26,"path":27,"stem":28},"Data and sources","\u002Fdocs\u002Fdata-and-sources","docs\u002F5.data-and-sources",false,[31,40,47,55,63,71,77,84,92,98,104,110,117,125],{"path":32,"title":33,"description":34,"category":35,"order":36,"uses":37,"demo":39},"\u002Fexamples\u002Fvalidate-input","Validate a phone number field","Accept full-width input, reject numbers that do not exist, and save one notation.","forms",1,[38],"normalize","validate-input",{"path":41,"title":42,"description":43,"category":35,"order":44,"uses":45,"demo":46},"\u002Fexamples\u002Fpaste-labels","Accept pasted labels and notes","Take the main number from lines like ",2,[38],"paste-labels",{"path":48,"title":49,"description":50,"category":35,"order":51,"uses":52,"demo":54},"\u002Fexamples\u002Fmobile-only","Accept mobile numbers only","Use the type to decide whether a number can receive SMS.",3,[38,53],"type","mobile-only",{"path":56,"title":57,"description":58,"category":35,"order":59,"uses":60,"demo":62},"\u002Fexamples\u002Ftel-link","Make tel: links","Link numbers in their international form, and keep domestic-only numbers dialable.",4,[38,61],"international","tel-link",{"path":64,"title":65,"description":66,"category":67,"order":36,"uses":68,"demo":70},"\u002Fexamples\u002Fextract-inquiry","Find numbers in a message","Pick every phone number out of a message, in the order it appears.","text",[69],"extract","extract-inquiry",{"path":72,"title":73,"description":74,"category":67,"order":44,"uses":75,"demo":76},"\u002Fexamples\u002Fbusiness-card","Read a business card in kanji digits","Find numbers written with 〇一二三, as on vertical business cards.",[69],"business-card",{"path":78,"title":79,"description":80,"category":67,"order":51,"uses":81,"demo":83},"\u002Fexamples\u002Fcompany-page","List the numbers on a company page","Find TEL and FAX numbers and drop duplicates written in other notations.",[69,82],"digits","company-page",{"path":85,"title":86,"description":87,"category":88,"order":36,"uses":89,"demo":91},"\u002Fexamples\u002Fdisplay-format","Store digits, show hyphens","Format stored digits with the groups from the numbering table.","data",[38,90],"national","display-format",{"path":93,"title":94,"description":95,"category":88,"order":44,"uses":96,"demo":97},"\u002Fexamples\u002Fdedupe","Find duplicates written differently","Group entries that are the same number in different notations.",[38],"dedupe",{"path":99,"title":100,"description":101,"category":88,"order":51,"uses":102,"demo":103},"\u002Fexamples\u002Fcsv-cleanup","Clean a CSV column","Rewrite a phone column in one notation and flag rows that need a person.",[38],"csv-cleanup",{"path":105,"title":106,"description":107,"category":88,"order":59,"uses":108,"demo":109},"\u002Fexamples\u002Ftype-stats","Count numbers by type","See how many entries are mobile, fixed-line, toll-free, or invalid.",[38,53],"type-stats",{"path":111,"title":112,"description":113,"category":88,"order":114,"uses":115,"demo":116},"\u002Fexamples\u002Fe164","Convert to E.164","Pass numbers to SMS gateways, CRMs, and libphonenumber in international form.",5,[38,61],"e164",{"path":118,"title":119,"description":120,"category":121,"order":36,"uses":122,"demo":124},"\u002Fexamples\u002Fplan-check","Reject numbers that cannot exist","Numbers missing from the numbering plan or the MIC tables are invalid.","rules",[123],"isValid","plan-check",{"path":126,"title":127,"description":128,"category":121,"order":44,"uses":129,"demo":130},"\u002Fexamples\u002Finternational-input","Read numbers written for abroad","Accept +81 notation, including the bracketed (0), for the types that can be dialed from abroad.",[38],"international-input",{"id":132,"title":26,"body":133,"description":422,"extension":423,"meta":424,"navigation":425,"path":27,"seo":426,"stem":28,"__hash__":427},"docs_en\u002Fdocs\u002F5.data-and-sources.md",{"type":134,"value":135,"toc":415},"minimark",[136,141,145,167,175,179,187,190,385,389,392,396],[137,138,140],"h2",{"id":139},"sources","Sources",[142,143,144],"p",{},"The bundled table is generated from two sets of documents published by the Ministry of Internal Affairs and Communications (MIC):",[146,147,148,159],"ul",{},[149,150,151,158],"li",{},[152,153,157],"a",{"href":154,"rel":155},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F001063077.pdf",[156],"nofollow","the numbering plan",", for the mobile, 050, and service number rules;",[149,160,161,166],{},[152,162,165],{"href":163,"rel":164},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_sosiki\u002Fjoho_tsusin\u002Ftop\u002Ftel_number\u002Fnumber_shitei.html",[156],"the assignment tables of local exchange codes",", nine Excel files for fixed-line numbers (41,987 blocks).",[142,168,169,170,174],{},"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 ",[171,172,173],"code",{},"sources.json",", which ships in every package.",[137,176,178],{"id":177},"date","Date",[142,180,181,182,186],{},"The bundled data reflects the assignment status that the MIC page states as of ",[183,184,185],"strong",{},"November 1, 2026",".",[142,188,189],{},"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.",[191,192,193,213],"table",{},[194,195,196],"thead",{},[197,198,199,203,206,210],"tr",{},[200,201,202],"th",{},"Area codes",[200,204,205],{},"Date in the file",[200,207,209],{"align":208},"right","Blocks",[200,211,212],{},"File",[214,215,216,237,256,275,294,312,330,348,366],"tbody",{},[197,217,218,224,227,230],{},[219,220,221],"td",{},[171,222,223],{},"01…",[219,225,226],{},"令和６年９月１日現在",[219,228,229],{"align":208},"4,410",[219,231,232],{},[152,233,236],{"href":234,"rel":235},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697543.xls",[156],"XLS",[197,238,239,244,247,250],{},[219,240,241],{},[171,242,243],{},"02…",[219,245,246],{},"令和７年１月１日現在",[219,248,249],{"align":208},"5,668",[219,251,252],{},[152,253,236],{"href":254,"rel":255},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697544.xls",[156],[197,257,258,263,266,269],{},[219,259,260],{},[171,261,262],{},"03…",[219,264,265],{},"令和６年３月１日現在",[219,267,268],{"align":208},"3,200",[219,270,271],{},[152,272,236],{"href":273,"rel":274},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697545.xls",[156],[197,276,277,282,285,288],{},[219,278,279],{},[171,280,281],{},"04…",[219,283,284],{},"令和５年７月１日現在",[219,286,287],{"align":208},"5,327",[219,289,290],{},[152,291,236],{"href":292,"rel":293},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697546.xls",[156],[197,295,296,301,303,306],{},[219,297,298],{},[171,299,300],{},"05…",[219,302,284],{},[219,304,305],{"align":208},"5,299",[219,307,308],{},[152,309,236],{"href":310,"rel":311},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697548.xls",[156],[197,313,314,319,321,324],{},[219,315,316],{},[171,317,318],{},"06…",[219,320,284],{},[219,322,323],{"align":208},"2,700",[219,325,326],{},[152,327,236],{"href":328,"rel":329},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697549.xls",[156],[197,331,332,337,339,342],{},[219,333,334],{},[171,335,336],{},"07…",[219,338,284],{},[219,340,341],{"align":208},"5,544",[219,343,344],{},[152,345,236],{"href":346,"rel":347},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697550.xls",[156],[197,349,350,355,357,360],{},[219,351,352],{},[171,353,354],{},"08…",[219,356,284],{},[219,358,359],{"align":208},"4,519",[219,361,362],{},[152,363,236],{"href":364,"rel":365},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F000697551.xls",[156],[197,367,368,373,376,379],{},[219,369,370],{},[171,371,372],{},"09…",[219,374,375],{},"令和８年９月１日現在",[219,377,378],{"align":208},"5,320",[219,380,381],{},[152,382,236],{"href":383,"rel":384},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmain_content\u002F001090880.xls",[156],[137,386,388],{"id":387},"updates","Updates",[142,390,391],{},"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.",[137,393,395],{"id":394},"license","License",[142,397,398,399,404,405,410,411,414],{},"The code is under the MIT License. The bundled numbering data was derived and processed by Kurashina Design from MIC sources, under the ",[152,400,403],{"href":401,"rel":402},"https:\u002F\u002Fwww.soumu.go.jp\u002Fmenu_kyotsuu\u002Fpolicy\u002Ftyosaku.html",[156],"MIC terms of use"," and the ",[152,406,409],{"href":407,"rel":408},"https:\u002F\u002Fwww.digital.go.jp\u002Fresources\u002Fopen_data\u002Fpublic_data_license_v1.0",[156],"Public Data License 1.0",". See ",[171,412,413],{},"NOTICE"," in each package.",{"title":416,"searchDepth":44,"depth":44,"links":417},"",[418,419,420,421],{"id":139,"depth":44,"text":140},{"id":177,"depth":44,"text":178},{"id":387,"depth":44,"text":388},{"id":394,"depth":44,"text":395},"Where the numbering table comes from, its date, and how it is kept up to date.","md",{},true,{"title":26,"description":422},"UjTKGIhaDIH52ZmQkPmZzaNM-GGvT5D70J_efg32L3s",[429,431],{"title":22,"path":23,"stem":24,"description":430,"children":-1},"Where japan-phone and Google's libphonenumber agree, where they differ, and how to use both.",null,1796483608329,"73e0e014-4aa7-4f04-8db5-5f7391793162"]