{
  "url": "https://phonelookup.dev/country/tn",
  "iso": "TN",
  "slug": "tn",
  "name": "Tunisia",
  "callingCode": 216,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "",
  "mobilePortable": false,
  "mobileStarts": [
    "2",
    "3",
    "4",
    "5",
    "9"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "20 123 456",
      "exampleInternational": "+216 20 123 456",
      "exampleE164": "+21620123456"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "30 010 123",
      "exampleInternational": "+216 30 010 123",
      "exampleE164": "+21630010123"
    },
    {
      "type": "tollFree",
      "label": "Toll-free",
      "regex": "8010\\d{4}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "80 101 234",
      "exampleInternational": "+216 80 101 234",
      "exampleE164": "+21680101234"
    },
    {
      "type": "sharedCost",
      "label": "Shared cost",
      "regex": "8[12]10\\d{4}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "81 101 234",
      "exampleInternational": "+216 81 101 234",
      "exampleE164": "+21681101234"
    },
    {
      "type": "premiumRate",
      "label": "Premium-rate",
      "regex": "88\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "88 123 456",
      "exampleInternational": "+216 88 123 456",
      "exampleE164": "+21688123456"
    }
  ],
  "formats": {
    "e164": "+21620123456",
    "international": "+216 20 123 456",
    "national": "20 123 456",
    "rfc3966": "tel:+216-20-123-456"
  },
  "carriers": [
    {
      "name": "Ooredoo",
      "lineType": "mobile",
      "prefixCount": 3,
      "ranges": [
        "2",
        "46",
        "48"
      ]
    },
    {
      "name": "Tunisie Telecom",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "4",
        "9"
      ]
    },
    {
      "name": "Orange",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "5"
      ]
    },
    {
      "name": "Watany Ettisalat",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "45"
      ]
    }
  ],
  "sandbox": {
    "input": "+21620123456",
    "valid": true,
    "type": "Mobile",
    "carrier": "Ooredoo",
    "region": "TN",
    "formats": {
      "e164": "+21620123456",
      "international": "+216 20 123 456",
      "national": "20 123 456",
      "rfc3966": "tel:+216-20-123-456"
    },
    "parts": {
      "countryCode": "+216",
      "destinationCode": "20",
      "destinationKind": "network code",
      "subscriber": "123456"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Tunisia have?",
      "answer": "Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits. That is the national number, without the country code +216."
    },
    {
      "question": "What is the country code for Tunisia?",
      "answer": "+216. From abroad, dial your own exit code, then 216, then the national number. From inside Tunisia, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Tunisia?",
      "answer": "Mobile numbers start with 2, 3, 4, 5 or 9 in national form; the mobile regular expression on this page gives the exact ranges (example: 20 123 456). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Tunisia be ported to another carrier?",
      "answer": "Not on record. The plan data this page is built from does not list mobile number portability for Tunisia, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 23,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Tunisia",
        "url": "https://www.itu.int/oth/T02020000D5/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/ly.json",
    "https://phonelookup.dev/country/dz.json",
    "https://phonelookup.dev/country/gm.json",
    "https://phonelookup.dev/country/ma.json",
    "https://phonelookup.dev/country/sn.json",
    "https://phonelookup.dev/country/ss.json",
    "https://phonelookup.dev/country/mr.json",
    "https://phonelookup.dev/country/ml.json",
    "https://phonelookup.dev/country/gn.json",
    "https://phonelookup.dev/country/ci.json",
    "https://phonelookup.dev/country/bf.json",
    "https://phonelookup.dev/country/ne.json"
  ]
}
