---
id: "bd_nid"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["BD"]
langs: ["common"]
quality: 75
url: "https://registry.apicrafter.io/datatype/bd_nid"
---

# Bangladeshi national identity card number (NID) (`bd_nid`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number of the national identity card issued by the Bangladesh Election Commission. Cards issued from 2008 carry 13-digit numbers, and later registrations received 17-digit numbers; a 13-digit number can be turned into the 17-digit form by putting the four-digit year of birth in front of it. Smart cards carry a 10-digit number of nine random digits and a check digit, whose algorithm is not published.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: Bangladesh (BD)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:\d{10}|\d{13}|\d{17})$
```

## Examples

- `5912783460` — Synthetic value in the 10-digit smart card format
- `1592617403928` — Synthetic value in the 13-digit format
- `19851592617403928` — The synthetic 13-digit value with the year of birth 1985 in front
- `159261740392` (invalid example) — Twelve digits is not a valid length

## Sources

- doc: <https://bdnews24.com/bangladesh/election-commission-decides-on-10-digit-smart-nid-cards-for-bangladesh-nationals>
- doc: <https://www.thedailystar.net/frontpage/how-get-smart-nid-card-1293733>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/bd_nid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BD/persons/bd_nid.yaml>
