Skip to content

Hong KongNational ID Number

Also known as香港身份證

ISO codes
HKG / HK
Region
Asia
Length
8–11 characters
Checksum
Yes

Character map

Each cell is one character of the sample test value; separators are shown as-is.

Sample test value

AS2253857

This value was randomly generated to pass this country's validation rules. It is not a real ID and does not belong to any person.

(01)Country reference

Specification

Format
  • L######(X)
  • LL######(X)
  • # — any digit
  • L — any letter
  • X — any letter or digit
  • Other characters are written as shown.

Documented field layout: L(L)######(C)

Length

8–11 characters

Checksum
Yes

Check digits are recomputed and verified.

Embedded data
No

This number encodes no extractable personal data.

Check a Hong Kong number now.

Validate a Hong Kong National ID Number now — it runs in your browser and the number never leaves your device.

Try it in the validator

Validation rules for Hong Kong come from the open-source idnumbers library. Report a format issue on GitHub