Phone numbers · TN
Tunisia phone number format
Tunisia numbers use the country code +216. A mobile number looks like 20 123 456 at home and +21620123456 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 20 123 456 | +216 20 123 456 | +21620123456 | 8 |
| Landline | 30 010 123 | +216 30 010 123 | +21630010123 | 8 |
| Toll-free | 80 101 234 | +216 80 101 234 | +21680101234 | 8 |
| Premium-rate | 88 123 456 | +216 88 123 456 | +21688123456 | 8 |
| Shared-cost | 81 101 234 | +216 81 101 234 | +21681101234 | 8 |
- Country calling code
- +216
- National (trunk) prefix
- None
- International call prefix
- 00
- Separate VoIP range
- No
- Time zones
- Africa/Tunis
Validate in code
Check a Tunisia number.
Send the number as typed plus country: "TN". You get it back in E.164 with its line type, ready to store.
curl https://veqen-app.com/v1/phone/check \
-H "Authorization: Bearer $VEQEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country": "TN", "phone": "20 123 456"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "TN", "phone": "20 123 456"},
timeout=10,
)
result = r.json()
print(result["risk"]["verdict"], result["risk"]["reasons"])const res = await fetch("https://veqen-app.com/v1/phone/check", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VEQEN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"country": "TN", "phone": "20 123 456"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Tunisia numbers
What is the country code for Tunisia?
+216. Dial it after your international access code, or use +216 from a mobile phone.
How do I format a Tunisia phone number in E.164?
Add +216 in front of the number with no spaces, e.g. +21620123456.
How many digits is a Tunisia mobile number?
8 digits after the country code.
Does Tunisia have VoIP phone numbers?
There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.