id validator

Validate a Hong Kong identification number

Basic Example

You can click on sample from the following table to see if it's a valid or invalid Hong Kong id.

Sample ID Is it valid?
LD1625407
R2496894
H7164108
P5537227
G5661828
Y838437B
R2496896

ES6 Module Example

The following snippet shows how to use the id validator with ES6 module:

Related validators

The following validators might be useful to you.