Home Models News About Contact

Hong Kong HKID Check

Local processing · not uploaded

Validate Hong Kong Identity Card (HKID) numbers online: one or two leading letters + six digits + a check digit in brackets, verified by the official weighted mod-11 algorithm.

Sample (click to fill): A1234563

Number—
Formatted—
Check digit—
Validation—

How the HKID number is structured

An HKID number consists of 1–2 letters + 6 digits + 1 check character, usually written in brackets, e.g. A123456(3).

Algorithm: value each of the 8 characters (pad a leading space if only one letter), multiply by weights 9 8 7 6 5 4 3 2, add the check character ×1; valid if the total is divisible by 11. A check value of 10 is written as A.

How to use

1

Paste or type the ID number above (use the sample to try it out)

2

Click “Check”, and the tool verifies structure and check digit locally in your browser

3

See instantly whether it is valid — nothing is uploaded, no real identity is looked up

✅What this tool does

  • Accept common forms like A123456(3), AB987654(2)
  • Convert letters to values and weight them by position
  • Verify the check digit in brackets by mod-11

💡Tips

  • Valid does not mean it exists: only encoding rules and checksum are verified, no personal data is looked up
  • Do not enter other people’s real ID numbers — protect personal privacy
  • Numbers are processed locally in your browser, never uploaded — no signup, no install

🔒 Local processing · numbers not uploaded · only structure and checksum are checked

← Back to Global ID Validator

FAQ

Q1Do I need to type the brackets or space?
No. The tool ignores brackets and spaces, computing only from letters, digits and the check character — A123456(3) and A1234563 both work.
Q2Does a valid result mean the card is real?
No. It only means the number matches the HKID encoding rules and mod-11 check digit; no real identity or government data is queried.
Q3Is the number uploaded?
No — everything is computed locally in your browser and the number never leaves your device.