Skip to main content
Skip to main content

Malaysian MyKad / NRIC Generator

Generate and format valid Malaysian MyKad / NRIC for software testing and development.

Waiting for generation...

About Malaysian MyKad / NRIC

MyKad (NRIC) is the mandatory national biometric identity card for Malaysian citizens aged 12 and above.

Formatted as YYMMDD-PB-###G (12 digits): birthdate (6 digits), birth state code (2 digits), and sequence with gender parity.

Anatomy & Structure of MyKad (Kad Pengenalan Malaysia)

The Malaysian identity card number consists of 12 digits in 3 parts:

PositionFieldLengthMeaning & RuleExample
1 to 6Date of Birth6 digitsFormat YYMMDD900307
7 & 8Place of Birth Code (PB)2 digitsMalaysian state code (01 to 16) or international country code14
9 to 11Sequential Number3 digitsUnique issuance sequence123
12Gender Digit1 digitOdd = Male (1, 3, 5, 7, 9); Even = Female (0, 2, 4, 6, 8)4

Official MyKad Validation Rules (JPN Act 78)

Official validation rules for Malaysian MyKad:

Date YYMMDD + Official PB State Code + Gender in 12th digit
  1. 1. Verify exact length of 12 decimal digits.
  2. 2. Validate date of birth (positions 1 to 6) in the calendar.
  3. 3. Validate place of birth code PB (positions 7 and 8) against official JPN list.
  4. 4. Determine gender: last digit odd for males, even for females.

Frequently Asked Questions & Technical Guidelines

How is MyKad used for digital onboarding and e-commerce in Malaysia?
MyKad serves as the primary key for e-KYC, bank onboarding, and tax cross-matching with LHDN.
Are the data in this tool real or official?
All identifiers generated by this tool are strictly synthetic and calculated via mathematical algorithms for software development and QA testing purposes. Using fake data in official or legal filings is strictly prohibited by law.