MyKad NRIC Number generator (Malaysia)
A Malaysian NRIC (MyKad) number is twelve digits formatted YYMMDD-PB-###G: date of birth, a place-of-birth code, and a four-digit serial whose last digit encodes sex. There is no checksum. These test values are synthetic.
Synthetic · not collision-guaranteed Validate a number →
620115-58-2811
Synthetic NRIC (format-valid; the scheme has no checksum). Not a real issued number.
Format specification
| Identifier | MyKad NRIC Number |
|---|---|
| Country | 🇲🇾 Malaysia |
| Format | 000000-00-0000 |
| Length | 12 characters |
| Checksum | None |
| Example | 710427-07-6541 |
| Safe strategy | Synthetic |
| Data quality | Verified against sources |
MyKad NRIC Number: what each part means
| 000000 | Date of birth as YYMMDD. |
|---|---|
| 00 | Place of birth: 01–16 are the Malaysian states and federal territories; higher codes cover births abroad (17–20 are never used). |
| 0000 | Serial number; the last digit encodes sex — odd for men, even for women. |
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^\d{12}$ References
Common questions
Will these pass my validation?
Yes — they are well-formed MyKad NRIC Number values (000000-00-0000) and pass standard format checks.
Could one belong to a real person?
These are synthetic values. They are format-valid but not drawn from a guaranteed reserved range, so use them only for testing.
Can I generate many at once?
Increase the count, or use the free API and CSV/JSON export for large datasets.
For software testing only. These numbers are synthetic and must never be used
for real-world identification, applications, or to impersonate anyone.