utilduck
Home · Office · NRIC / MyKad Number Parser (Malaysia)

NRIC / MyKad Number Parser (Malaysia)

Enter a 12-digit NRIC number (YYMMDD-PB-###G) to see the birth date, place code, and gender it encodes.

Decoded
Birth date-
Place-of-birth code-
Gender-

What does each part of an NRIC number mean

A Malaysian NRIC has 12 digits: the first 6 are the birth date (YYMMDD), the next 2 are a place-of-birth/registration code, and the last 4 include a 3-digit sequence number followed by a single gender digit — odd for male, even for female.

This tool interprets the NRIC's public structure — it does not verify identity, and the number itself has no checksum. Nothing you enter is sent to a server or stored. Do not use this for identity verification.

What does each part of an NRIC number mean?

A Malaysian NRIC's 12 digits break into three parts: the first 6 digits are the birth date (YYMMDD), the next 2 are a place-of-birth/registration code, and the last 4 combine a 3-digit sequence number with a final gender digit — odd for male, even for female. Example: 900101-14-5533 decodes to a person born 1990-01-01 in Kuala Lumpur, male (ends in 3, odd).

How to read an NRIC

  1. Split the 12 digits into three groups: YYMMDD, PB, and ###G.
  2. Read YYMMDD as the birth date; if YY is greater than the current two-digit year, assume the 1900s, otherwise assume the 2000s.
  3. Look up the 2-digit PB code against the official state/place table (01-16 are Malaysia's states and federal territories).
  4. Read the last of the 4 final digits: odd means male, even means female.
  5. The 3-digit sequence number before the gender digit has no other public meaning — it is simply a registration sequence.

Structure

NRIC = YYMMDD (birth date) + PB (place code) + ### (sequence) + G (gender: odd=male, even=female)
  • YY = 2-digit birth year; century is inferred by comparing to the current year
  • PB = 2-digit place-of-birth/registration code
  • G = the final digit; odd values are male, even values are female

Place-of-birth code ranges

Code rangeMeaning
01-16One of Malaysia's 13 states or 3 federal territories (Kuala Lumpur, Labuan, Putrajaya)
17-21Not currently assigned
22-59Additional domestic registration code for one of the same 16 regions above
60-93Holder was registered as a Malaysian citizen born outside Malaysia
94-99Not currently assigned

Frequently asked questions

Does an NRIC number have a checksum, like a bank card number?

No. Unlike many ID formats, the Malaysian NRIC has no built-in check digit — every possible 12-digit combination is structurally 'valid.' That means this tool decodes structure but cannot confirm the number was ever actually issued to a real person.

How does the tool decide between 1900s and 2000s for the birth year?

It compares the 2-digit year to the current year's last two digits: if it's less than or equal to the current year, it assumes the 2000s; otherwise the 1900s. This is a standard heuristic, but it can be wrong near the boundary — a person's actual birth century should be confirmed by other means if it matters.

What exactly do the extended place codes (22-59) mean?

They are additional domestic registration codes historically assigned within the same 16 states and federal territories listed in codes 01-16, used for administrative reasons. This tool doesn't map each individual extended code to a specific district, since that level of detail isn't part of the stable public structure.

Is my NRIC number stored when I use this tool?

No. All parsing happens in your browser; nothing you type is sent to a server or saved anywhere.

This tool only decodes the NRIC's publicly documented structure — it is not an identity check, and the number format has no checksum to validate against. Extended place codes (22-93) are shown at a category level only. Do not use this for identity verification or any decision requiring confirmed identity.