Malaysia MyKad Validator

Share:

Malaysia MyKad / IC number validator. Checks the 12-digit format, that the birth date is real and not in the future, and the two-digit state code against JPN's tables. Browser-only — your IC never leaves the page.

RT-UTL-002 · Converters & Units
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Malaysia MyKad Validator

Advertisement
After results · AD-W1Responsive

How the MyKad check works

Strip the dashes

A MyKad number is 12 digits whether it is typed with dashes or without, so 888888-88-8888 and 888888888888 are the same input. That number is synthetic, in the style of JPN's own specimen cards: there is no month 88, so it can never belong to anyone, and the checker rejects it. Spaces, long dashes and full-width digits are accepted too.

Check the birth date

The first six digits are YYMMDD. The date must exist on the calendar and must not be later than today, Malaysia time. The century is inferred: a two-digit year up to this year's is read as the 2000s, anything higher as the 1900s, and the result says when the other century is also possible.

Look up the state code

Digits 7-8 must be a code in JPN's published state and country code tables: 01-16 and 21-59 for the states and federal territories, 82 for state unknown, and for births abroad 60-68, 71-72, 74-79 and 83-93, with 98 for stateless and 99 for unspecified. The other 14 two-digit codes are not assigned, and a number carrying one fails.

Report the last digit, not a sex

The result shows whether the last digit is odd or even and how that is conventionally read. It does not state the holder's sex: the convention is not an official rule, as the section below explains.

About the Malaysian MyKad number

MyKad is Malaysia's chip-based identity card, issued by the Jabatan Pendaftaran Negara (JPN, the National Registration Department). The number printed on it, 12 digits in the form YYMMDD-PB-####, is what most Malaysians call their "IC number".

Structure: 6 + 2 + 4

The first six digits encode the holder's birth date. JPN calls the next two the state code (Kod Negeri); they are commonly described as the place of birth, which is also how JPN's country list, with its entries for Mecca and "Luar Negara", reads. The codes come from JPN's state code and country code tables: 01–16 for the thirteen states and three federal territories, 21–59 as further codes for the same states, and 82 where the state is unknown. Births abroad take 60–68 and 74–79 for single countries (66 is Singapore, 74 China, 75 India), 83–93 for groups of countries, 98 for stateless and 99 for unspecified, and JPN lists 71 and 72 simply as "Luar Negara", abroad. JPN's grouping holds surprises: Hong Kong and Macau share code 93, which JPN gives no regional name, rather than 74 for China, while Taiwan sits under 89 with Japan and Korea, the code JPN labels "Timur Jauh" (Far East). The last four digits are assigned by JPN's system, and JPN does not publish what they encode.

"JPN publishes no check-digit rule for MyKad, so a format check can confirm the date and the codes — never that the number was issued."

The last digit and gender

The last digit is widely read as the holder's sex, odd for male and even for female, and the specimen numbers on JPN's own card posters follow that pattern. None of JPN's published pages states the rule, though. In November 2017, commenting on the case of a woman whose number ends in an odd digit, Deputy Home Minister Datuk Masir Kujat said the last digit "is not indicative of the holder's gender" and that the last four digits are computer generated (Borneo Post, 11 November 2017). He said he would follow up with JPN, and we found no later JPN statement either way. This tool therefore shows the digit's parity and the convention, and states no sex.

What a pass does and does not tell you

A format check can only rule numbers out. A number passes when its date is real and not in the future and its code is one JPN assigns. The last four digits are not tested: JPN publishes no check-digit rule, and this tool applies none, so many random 12-digit strings pass too. A pass catches the common slips, such as a missing digit, an impossible date or a code JPN never issued. It cannot catch a mistyped digit among the last four, or a number that was never issued at all.

Privacy stance

The check runs in your browser. The number you type is never sent, stored, logged or put in the page address; the page loads the site's usual scripts, but the check itself makes no network call. Malaysia's Personal Data Protection Act 2010 covers personal data processed in commercial transactions, meaning information from which a person can be identified, and section 3(1) excludes the Federal and State Governments. For what an organisation may do with an IC number, read the Act and the Personal Data Protection Commissioner's guidance; this page is not legal advice. Every number shown on this page is synthetic. Please check your own number, not other people's.

JPN publishes no check-digit rule, and code 82 means the state is unknown

01

MyKad is a chip-based smart identity card, issued by JPN.

02

A citizen born in Singapore carries code 66, JPN's code for Singapura.

03

JPN publishes no check-digit rule; China's 身份证 has one in a national standard.

04

Five states and territories hold five codes each: Johor, Perak, Selangor, Sarawak and Kuala Lumpur. Putrajaya has one.

05

Code 82 is JPN's "Negeri Tidak Diketahui": state unknown.

06

Hong Kong and Macau share code 93, not 74 for China. Taiwan is 89, with Japan and Korea.

07

JPN lists codes 71 and 72 simply as "Luar Negara": abroad.

08

JPN says the new-generation MyKad, planned for issue in phases from 17 September 2026, does not change the holder's number.

09

The two-digit year covers one century: anyone born 100 or more years ago is read as a recent birth, or rejected if that date is still to come.

10

JPN says the number on a child's MyKid stays for life: it "will be used in all matters from birth to end of life".

Frequently asked questions

  • No. The check runs in your browser, and the number is never sent, logged, stored or put in the page address. The rules live in one open file, /tools/_kernel/national-id-kernel.js, so you can read exactly what runs.

  • No. JPN publishes no check-digit rule, so this tool can only confirm structure: 12 digits, a real birth date that is not in the future, and a state or country code JPN assigns. The last four digits are not tested, and many random 12-digit strings pass the same test. Only JPN can confirm that a number was issued, and to whom.

  • JPN calls them the state code (Kod Negeri); they are commonly described as the place of birth. Codes 01–16 are the 13 Malaysian states and 3 federal territories (KL, Labuan, Putrajaya). 21–59 are further codes for the same states, and 82 means the state is unknown. Births abroad use 60–68 (Brunei, Indonesia, Cambodia, Laos, Myanmar, Philippines, Singapore, Thailand, Vietnam), 74–79 (China, India, Pakistan, Saudi Arabia, Sri Lanka, Bangladesh), 71–72 (listed by JPN only as Luar Negara, abroad), 83–93 for groups of countries, 98 for stateless and 99 for unspecified. Hong Kong and Macau share 93 and Taiwan is under 89. All of this is from JPN's published tables.

  • A two-digit year up to the current one (26 in 2026) is read as the 2000s; a higher one as the 1900s. The window therefore runs from 1 January 99 years ago up to today, and it moves every New Year. Anyone born before it, 100 or more years ago, is misread: the number reads as a recent birth, or is rejected as a future date if that day has not come yet this year. The result names the other possible century whenever there is one.

  • Not officially. Odd for male and even for female is how the digit is widely read, and the specimen numbers on JPN's own card posters follow that pattern. But JPN's pages do not state the rule. In November 2017, commenting on the case of a woman whose number ends in an odd digit, Deputy Home Minister Datuk Masir Kujat said the last digit "is not indicative of the holder's gender" and that the last four digits are computer generated (Borneo Post, 11 November 2017). He said he would follow up with JPN; we found no later JPN statement either way. This tool shows the digit and the convention, never a sex.

  • JPN has never published a check-digit rule, and this tool tests none; it will not reject a number on a rule JPN has not confirmed. In practice that means a format check cannot catch a mistyped digit among the last four, and only JPN can confirm a number was issued. Singapore differs: ICA confirms that NRIC and FIN numbers end in a checksum letter, but its public pages do not give the rule.

  • MyKid, yes: JPN says the number on MyKid "will be used in all matters from birth to end of life", so it is the number the holder later carries on MyKad. MyPR (permanent residents) and MyTentera (armed forces) are also JPN chip cards, but JPN does not publish their number structure. This check assumes the same 12-digit layout, which we could not confirm from a primary source.

  • No. JPN says the new-generation MyKad, planned for issue in phases from 17 September 2026, "does not mean that a person's identity card number will change".

  • Malaysia's Personal Data Protection Act 2010 applies to personal data processed in commercial transactions: information relating to a person who can be identified from it. Section 3(1) says the Act does not apply to the Federal and State Governments. Its list of sensitive personal data does not name identity-card numbers. For what an organisation may collect or keep, read the Act and the Personal Data Protection Commissioner's guidance; this page is not legal advice.

  • JPN's own timeline dates the first 12-digit card, the KPT (Kad Pengenalan Bermutu Tinggi), to 1990. Older identity cards carried a different number, which this tool does not check.

  • This page checks one number at a time and is meant for your own number. Checking other people's numbers in bulk is collecting their personal data. If you build software that needs the same format check, the rules are plain JavaScript in /tools/_kernel/national-id-kernel.js; a format check still cannot tell you a number is genuine.

Advertisement
Before related · AD-W2Responsive

Method & sources

How it computes

Twelve digits, YYMMDD-PB-####: a real birth date no later than today (UTC+8), with the century inferred from the current year; a two-digit code from JPN's state or country code table (86 of the 100; commonly read as the place of birth); and four final digits that are not checked. The last digit is reported as odd or even only. JPN publishes no check-digit rule, so none is applied.

What this tool implements

  • JPN's state codes: 01-16 and 21-59 for the states and federal territories, 82 for state unknown (Negeri Tidak Diketahui).
  • JPN's country codes: 60-68 and 74-79 for single countries (66 Singapore), 71-72 "Luar Negara" (abroad), 83-93 for groups of countries (Hong Kong and Macau share 93; Taiwan is under 89, "Timur Jauh"), 98 stateless, 99 unspecified. The 14 unassigned codes fail.
  • A birth date later than today is rejected. The two-digit year misreads anyone born 100 or more years ago; when a 20YY reading also has a 19YY alternative, the result names it.
  • The last digit is widely read as odd for male and even for female, and JPN's specimen cards follow that pattern, but in 2017 a Deputy Home Minister, commenting on one case, said it is not indicative of gender. The tool reports parity, never a sex.

Sources

What can make this go out of date

  • JPN's state and country code tables, read 2026-10-01; a code JPN adds later would be rejected until the table here is updated.
Advertisement
Pre-footer · AD-W3 728 × 90