Bangladesh uses a tightly specified mobile numbering plan maintained by the Bangladesh Telecommunication Regulatory Commission (BTRC). Every mobile number follows the same domestic pattern — 01 followed by nine more digits — making format validation straightforward once you know the rules. This validator applies those rules entirely in your browser so you can confirm any number without sending data to a server.
The validator handles the three common ways a Bangladeshi number appears in the wild:
- Domestic format: 01712 345678 (11 digits, leading 0)
- International / E.164 format: +8801712345678 (country code +880, leading 0 dropped)
- Bare subscriber format: 1712345678 (10 digits, no prefix at all)
Input any of these — with or without spaces, dashes, or parentheses — and the tool normalises it, validates it, and displays both canonical forms.
How it works
Step 1 — Normalisation. The input is stripped of spaces, dashes, and parentheses. A leading +880 or 880 country code is removed. A single leading 0 (the domestic trunk prefix) is removed. The result should be exactly 10 digits representing the subscriber number 1XXXXXXXXX.
Step 2 — Length check. Bangladesh mobile subscriber numbers are exactly 10 digits after the country code and trunk prefix are stripped. Fewer or more digits means the number is malformed.
Step 3 — Prefix check. The first digit of the normalised subscriber number must be 1, confirming the “01” domestic prefix that all Bangladesh mobile numbers share. Fixed-line numbers and non-mobile services use different ranges and are out of scope.
Step 4 — Operator digit check. The second digit (positions 01X in domestic format) must be 3, 4, 5, 6, 7, 8, or 9. Digits 0, 1, and 2 have not been allocated by BTRC to any mobile operator. This single digit identifies the network:
| Digit | Prefix | Operator |
|---|---|---|
| 3 | 013 | Grameenphone |
| 4 | 014 | TeleTalk |
| 5 | 015 | TeleTalk |
| 6 | 016 | Airtel (Robi) |
| 7 | 017 | Grameenphone |
| 8 | 018 | Robi |
| 9 | 019 | Banglalink |
Step 5 — Output. Domestic format (01XXXXXXXXX, 11 digits) and E.164 format (+8801XXXXXXXXX, 14 characters including the +) are both displayed with one-click copy buttons.
Worked example
You receive the phone string +880 1912-345678 in a form submission.
-
Normalise. Strip spaces and dashes to get
+88019123456789. Remove the+880country code to get19123456789. No leading0to strip. Subscriber =1912345678(10 digits after the leading1… wait — that gives 10 digits total:1,9,1,2,3,4,5,6,7,8). Length check passes. -
Prefix check. First digit is
1. Good — confirms the “01” mobile prefix. -
Operator digit. Second digit is
9→ Banglalink. -
Output.
- Domestic format:
01912345678 - E.164 format:
+8801912345678
- Domestic format:
The validator shows Valid Bangladesh mobile number, identifies the operator as Banglalink, and offers one-click copy buttons for both the domestic and E.164 forms.
Every calculation runs in your browser — no request is ever made to an external server.