id validator

Validate a Peruvian identification number

Basic Example

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

Sample ID Is it valid?
10117410
101174102
434518267
10117410G
101174103
10117410H

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.