Japan My Number Generator
Generate 12-digit Japanese My Number (Individual Number) values with the official check digit — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Valid My Number
1234 5678 9018Valid — check digit 8 matches the mod-11 resultThe weighted sum over the first 11 digits leaves a remainder of 3, so the check digit is 11 − 3 = 8.
Wrong check digit
123456789017Invalid — check digit is 7 but the first 11 digits require 8Changing only the last digit gives a reliable negative case without breaking the length rule.
Too short
1234 5678 901Invalid — My Number has 12 digits; found 11Length is checked before the checksum, so truncated fixtures report the digit count.
About this tool
The Japan My Number Generator produces one 12-digit Individual Number (個人番号, My Number) test value with the check digit the system defines. The first 11 digits are random, and the 12th is derived from them: weights run 2, 3, 4, 5, 6, 7 and then 2, 3, 4, 5, 6 counted from the right, the weighted sum is taken mod 11, and the check digit is 0 when the remainder is 0 or 1 and 11 minus the remainder otherwise.
Results are shown in the familiar 4-4-4 grouping, so a value reads like the number printed on a notification card. My Number is used in tax, social security and disaster-response administration, and the validator accepts digits with spaces or hyphens, enforces the 12-digit length and recomputes the check digit. When a pasted value fails, it says which digit was wrong and what the first 11 digits require, which makes the rejection easy to assert in a test.
Every value here is synthetic test data for QA and development: never use it on real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used. Generation and validation run locally in your browser.
What this tool does not do
- The generator only produces values that pass the format check; it cannot say whether a number exists or is in use.
- Validation confirms the check digit only, so a coincidentally valid number can stand in for a real one.
- The tool covers the 12-digit My Number only; the Corporate Number lives in a separate tool.
- Spaces and hyphens are ignored, so separator mistakes are not reported.
How to use this tool
Choose the My Number option
The tool is pinned to My Number, which uses 12 digits with the mod-11 check digit and the 4-4-4 display grouping.
Generate a value
Click Generate to create one 12-digit number whose final digit satisfies the official weighted mod-11 rule.
Verify and copy
Paste a value into Validate to see the check digit recomputed, then copy the result or download it as a .txt file.
Use cases
Resident form fixtures
Fill My Number fields on Japanese onboarding forms with values that pass the check digit.
Checksum regression tests
Compare your own mod-11 implementation against 1234 5678 9018 and the deliberately broken variant.
Rejection messages
Exercise the length and check-digit branches separately with the two invalid samples.
My Number structure and check rule
| Part | Rule |
|---|---|
| Length | 12 digits, shown as 4-4-4 |
| Body | First 11 digits, generated at random |
| Weights | 2, 3, 4, 5, 6, 7, 2, 3, 4, 5, 6 counted from the right |
| Check digit | 0 if weighted sum mod 11 is 0 or 1, otherwise 11 minus the remainder |
| Validation | Digits only, 12-digit length and the recomputed check digit |
Separators such as spaces and hyphens are ignored before the check.
Common mistakes
Mistake:Treating My Number as a public identifier
Fix:It is an individual identifier; keep generated values in test data and never in shared fixtures that look real.
Mistake:Computing the check digit from left to right
Fix:The weights are applied by position counted from the right, starting with 2.
Mistake:Rejecting a value because of its spaces
Fix:The 4-4-4 grouping is presentation; separators are stripped before validation.
Frequently asked questions
Are these real Japanese My Numbers?
No. Every value is synthetic test data for QA and development and cannot be used on real applications, KYC checks, tax filings, or identity documents; DevTools accepts no liability for how generated data is used.
Can a generated My Number belong to a real person?
Yes, it can. The 12-digit structure and check digit are the real ones, so a random value may coincide with an issued My Number. Keep generated values in test environments only.
How is the My Number check digit calculated?
Take the first 11 digits, weight them 2, 3, 4, 5, 6, 7 and then 2, 3, 4, 5, 6 from the right, sum the products, take the total mod 11, and use 0 if the remainder is 0 or 1, otherwise 11 minus the remainder.
Does the 4-4-4 spacing matter?
No. The groups are only a display convention; spaces and hyphens are stripped before the length and check-digit validation runs.
Can I use a generated My Number in a tax filing?
No. A generated value follows the check rule only and has no legal standing; real filings require the number issued to the person by the local authority.
References & standards
Related tools
Japan Corporate Number Generator
Generate synthetic 13-digit Japanese Corporate Numbers (法人番号) with the leading NTA check digit, and validate pasted values.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.