Home National ID (NID) number Bangladesh

Bangladesh National ID (NID) number validator

How the National ID (NID) number format works

Format
10 digits (current smart card), 13 digits (earlier system), or 17 digits (the 13-digit number prefixed with a 4-digit birth year)
Example
1234567890

Things to watch for

  • Format-only check — does not confirm the NID was actually issued or belongs to a real person
  • Three valid lengths coexist depending on when the card was issued (10, 13 or 17 digits) — this checker accepts all three rather than assuming one
  • Runs entirely in your browser — the number you enter is never transmitted or stored
Regex for National ID (NID) number
^([0-9]{10}|[0-9]{13}|[0-9]{17})$

Bangladesh’s National ID (NID) number, issued by the National Identity Registration Wing (NIDW) under the Bangladesh Election Commission, is unusual among the IDs in this list because three different digit lengths are all genuinely in circulation at once, depending on when a card was issued: an earlier 13-digit form, the current smart-card system’s 10-digit form, and a 17-digit form that’s simply the 13-digit number with a 4-digit birth year prefixed onto it — for example 1234567890.

Rather than pick one length and risk rejecting real, currently valid NIDs printed under an earlier system, this checker treats all three documented lengths as valid input.

What this checker verifies

This tool confirms the input is exactly 10, 13 or 17 digits — nothing shorter, longer, or in between, and no letters. That’s deliberately permissive across formats but still strict within each one, since Bangladesh hasn’t retired any of the three lengths from everyday use.

What a pass doesn’t confirm

A pass doesn’t mean NIDW actually issued that number or that it belongs to a real person — only that the digit count matches one of the three known formats. This checker also doesn’t decode any embedded fields.

Scope: format-only validation, running entirely in your browser — nothing you type is transmitted or stored.

Content last reviewed 2026-08-09.

National ID (NID) number FAQ

Why does a Bangladeshi NID have three different possible lengths?

The Bangladesh Election Commission's numbering has changed over time: earlier cards used a 13-digit number, the current smart card uses 10 digits, and a 17-digit form exists too — the 13-digit number prefixed with a 4-digit birth year. This checker accepts all three rather than assuming one.

Which NID length should I use if more than one is printed on my documents?

Use whichever number appears on your current card or document. All three documented lengths — 10, 13 and 17 digits — are treated as valid by this checker, since which one you hold depends on when your NID was issued or reissued.

Does a correctly formatted NID confirm it was actually issued?

No. It only confirms the input matches one of the three documented digit lengths — it can't confirm the Election Commission actually issued that specific number to a real person.

← More National ID (NID) number validators