{
  "url": "https://phonelookup.dev/country/hu",
  "iso": "HU",
  "slug": "hu",
  "name": "Hungary",
  "callingCode": 36,
  "exitCode": "00",
  "preferredExitCode": "",
  "trunkPrefix": "06",
  "mobilePortable": true,
  "mobileStarts": [
    "0620",
    "0630",
    "0631",
    "0650",
    "0670"
  ],
  "lineTypes": [
    {
      "type": "mobile",
      "label": "Mobile",
      "regex": "(?:[257]0|3[01])\\d{7}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "06 20 123 4567",
      "exampleInternational": "+36 20 123 4567",
      "exampleE164": "+36201234567"
    },
    {
      "type": "fixedLine",
      "label": "Fixed line",
      "regex": "(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [
        6,
        7
      ],
      "exampleNational": "(06 1) 234 5678",
      "exampleInternational": "+36 1 234 5678",
      "exampleE164": "+3612345678"
    },
    {
      "type": "tollFree",
      "label": "Toll-free",
      "regex": "(?:[48]0\\d|680[29])\\d{5}",
      "lengths": [
        8,
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "06 80 123 456",
      "exampleInternational": "+36 80 123 456",
      "exampleE164": "+3680123456"
    },
    {
      "type": "voip",
      "label": "VoIP",
      "regex": "21\\d{7}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "06 21 123 4567",
      "exampleInternational": "+36 21 123 4567",
      "exampleE164": "+36211234567"
    },
    {
      "type": "premiumRate",
      "label": "Premium-rate",
      "regex": "9[01]\\d{6}",
      "lengths": [
        8
      ],
      "localOnlyLengths": [],
      "exampleNational": "06 90 123 456",
      "exampleInternational": "+36 90 123 456",
      "exampleE164": "+3690123456"
    },
    {
      "type": "uan",
      "label": "UAN",
      "regex": "38\\d{7}",
      "lengths": [
        9
      ],
      "localOnlyLengths": [],
      "exampleNational": "06 38 123 4567",
      "exampleInternational": "+36 38 123 4567",
      "exampleE164": "+36381234567"
    }
  ],
  "formats": {
    "e164": "+36201234567",
    "international": "+36 20 123 4567",
    "national": "06 20 123 4567",
    "rfc3966": "tel:+36-20-123-4567"
  },
  "carriers": [
    {
      "name": "One",
      "lineType": "mobile",
      "prefixCount": 43,
      "ranges": [
        "0670",
        "06501–06502",
        "063121",
        "063178",
        "0631310–0631318",
        "0631320–0631328",
        "0631330–0631332",
        "0631700",
        "0631770–0631771",
        "0631790",
        "06313190–06313197",
        "06313199",
        "06313290–06313292",
        "06313666"
      ]
    },
    {
      "name": "MVM Net",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "06508–06509"
      ]
    },
    {
      "name": "Netfone Telecom",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "06312000–06312001"
      ]
    },
    {
      "name": "Vidanet",
      "lineType": "mobile",
      "prefixCount": 2,
      "ranges": [
        "06313330–06313331"
      ]
    },
    {
      "name": "Magyar Telekom",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "0630"
      ]
    },
    {
      "name": "Tarr",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "0631701"
      ]
    },
    {
      "name": "Yettel Hungary",
      "lineType": "mobile",
      "prefixCount": 1,
      "ranges": [
        "0620"
      ]
    }
  ],
  "sandbox": {
    "input": "+36201234567",
    "valid": true,
    "type": "Mobile",
    "carrier": "Yettel Hungary",
    "region": "HU",
    "formats": {
      "e164": "+36201234567",
      "international": "+36 20 123 4567",
      "national": "06 20 123 4567",
      "rfc3966": "tel:+36-20-123-4567"
    },
    "parts": {
      "countryCode": "+36",
      "destinationCode": "20",
      "destinationKind": "network code",
      "subscriber": "1234567"
    }
  },
  "faq": [
    {
      "question": "How many digits does a phone number in Hungary have?",
      "answer": "Mobile numbers have 9 national digits. Fixed line numbers have 8 national digits (6 or 7 when dialled locally). That is the national number, without the country code +36 and without the trunk prefix 06."
    },
    {
      "question": "What is the country code for Hungary?",
      "answer": "+36. From abroad, dial your own exit code, then 36, then the national number without its trunk prefix 06. From inside Hungary, the exit code for international calls is 00."
    },
    {
      "question": "Which prefixes are mobile numbers in Hungary?",
      "answer": "Mobile numbers start with 0620, 0630, 0631, 0650 or 0670 in national form; the mobile regular expression on this page gives the exact ranges (example: 06 20 123 4567). The carrier table shows which prefix blocks were allocated to which operator."
    },
    {
      "question": "Can a mobile number in Hungary be ported to another carrier?",
      "answer": "Yes. Hungary has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that."
    }
  ],
  "meta": {
    "dataAsOf": "2026-10-25",
    "dataPoints": 29,
    "references": [
      {
        "authority": "ITU",
        "title": "National numbering plan: Hungary",
        "url": "https://www.itu.int/oth/T0202000061/en"
      }
    ]
  },
  "neighbours": [
    "https://phonelookup.dev/country/es.json",
    "https://phonelookup.dev/country/fr.json",
    "https://phonelookup.dev/country/it.json",
    "https://phonelookup.dev/country/be.json",
    "https://phonelookup.dev/country/nl.json",
    "https://phonelookup.dev/country/gr.json",
    "https://phonelookup.dev/country/gi.json",
    "https://phonelookup.dev/country/pt.json",
    "https://phonelookup.dev/country/lu.json",
    "https://phonelookup.dev/country/ie.json",
    "https://phonelookup.dev/country/is.json",
    "https://phonelookup.dev/country/al.json"
  ]
}
