Bangladesh NID validator
Validate a Bangladesh National ID (NID), issued by the Bangladesh Election Commission, in any of its three forms — the 10-digit Smart NID card number, the old 13-digit NID, or the 17-digit NID that begins with a 4-digit birth year. Useful for HR, KYC and form-validation checks where you need to confirm the shape of a number before submitting it.
How it works
The tool strips non-digits and inspects the length. A valid NID must be 10, 13 or 17 digits. For the 17-digit form it splits off the leading 4 digits as the birth year and checks it sits between 1900 and the current year. The remaining 13-digit core is structured: digits 1–2 are the division/district code, digit 3 is the RMO (Rural/Municipality/Other) type, and the tail is a serial. Because the NID has no public checksum, the tool validates this deterministic structure rather than a check digit — it never queries any government database.
Example
Enter 199082123456789 is too short, but a 17-digit number such as
19908212345678901:
- Birth year (embedded): 1990
- 13-digit core:
8212345678901 - Division/district code: 82
- RMO type: 1 — City Corporation
| Length | Form | Embeds birth year? |
|---|---|---|
| 10 | Smart NID | No |
| 13 | Old NID | No |
| 17 | Old NID + year | Yes (first 4 digits) |
All processing happens locally in your browser — your NID never leaves your device.