Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

aadhar

Aadhar (English: Foundation) is a 12-digit unique identity number that can be obtained by residents of India, based on their biometric and demographic data.

// usage randBox.aadhar() randBox.aadhar({ onlyLastFour: true }) // false by default randBox.aadhar({ separatedByWhiteSpace: false }) // true by default

Generate a random aadhar.

randBox.aadhar(); => '8506 7820 9696'

Optionally provide option of getting only the last four

randBox.aadhar({ onlyLastFour: true }); => '1851'

Optionally specify dashes be removed

randBox.aadhar({ separatedByWhiteSpace: false }); '873300307032'
Last updated on: