Coverage · Japan
Japanese My Number detection and redaction
OpenAnonymizer finds the Japanese My Number in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.
At a glance
- Country
- Japan JP
- Format
- My Number個人番号 (マイナンバー)
- Placeholder
- Each distinct value gets its own number: JP_MY_NUMBER_1, JP_MY_NUMBER_2, and so on.
- How it is confirmed
- Official label and checksum
- Used for
- Social security, tax and disaster response in Japan. Its use is restricted to those purposes by law.
About the My Number
My Number has been assigned since 2015 to everyone with a resident record in Japan, foreign residents included.
It is 12 digits; the last is a check digit.
- In
- マイナンバー: 1234 5678 9018
- Out
- マイナンバー:
How OpenAnonymizer handles it
Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.
- It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
- Every package ships every detector, so this format is covered in each of them.
- It covers 34 languages.
Related formats
The same country, or the same kind of number elsewhere.