+36
Hungary phone numbers
06 20 123 4567
International +36 20 123 4567, E.164 +36201234567
The numbering plan of Hungary: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as ITU publishes it. A pattern says what a number looks like and where it was allocated; whether it is in service, and who serves it today, is a different question (below).
At a glance
- Country code
- +36
- Exit code
- 00
- Trunk prefix
- 06
- Mobile digits
- 9
- Fixed-line digits
- 8
- Number portability
- yes
- Carriers on record
- 7
How to dial a number in Hungary from anywhere: the dialling helper.
| One | 43 |
|---|---|
| MVM Net | 2 |
| Netfone Telecom | 2 |
| Vidanet | 2 |
| Magyar Telekom | 1 |
| 2 other operators | 2 |
prefix blocks allocated, from the published records; a block is a prefix at the plan's allocation length
Check a number
Valid mobile number in Hungary.
| Country | Hungary numbering plan |
|---|---|
| Line type | Mobile |
| Carrier the block was allocated to | Yettel Hungary |
| E.164 | +36201234567 |
| International | +36 20 123 4567 |
| National | 06 20 123 4567 |
| RFC 3966 | tel:+36-20-123-4567 |
Test a pattern
Tick the line types you accept, copy the combined pattern, and paste numbers to see which range each one falls in. Numbers are reduced to their national digits first (no spaces, no +36, no trunk prefix 06); nothing leaves your browser.
^(?:(?:[257]0|3[01])\d{7}|(?: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})$| Number | National digits | Matches |
|---|---|---|
| 06 20 123 4567 | 201234567 | Mobile |
| (06 1) 234 5678 | 12345678 | Fixed line |
| 06 80 123 456 | 80123456 | not in the ticked types |
| 06 21 123 4567 | 211234567 | not in the ticked types |
Need another country, or the pattern as code in your language? Open the regex builder.
Walk the prefixes
Type the first digits of a number in national form, or tap them: the operators holding blocks under those digits, then the block a full prefix falls in. 52 blocks held by 7 operators are on record.
Type the first digits of a number in national form.
In full
Cheat sheet
| Country code | +36 |
|---|---|
| International exit code (dialling out) | 00 |
| Trunk prefix (national dialling) | 06 |
| Mobile number length (national digits) | 9 |
| Fixed-line number length (national digits) | 8 (6 or 7 dialled locally) |
| E.164 example | +36201234567 |
| RFC 3966 (tel: URI) | tel:+36-20-123-4567 |
| Mobile number portability | Yes |
Line types and their regular expressions
Match each pattern against the national significant number: digits only, without the trunk prefix 06 and without +36. The patterns follow the national numbering plan and are anchored here.
| Line type | National digits | Example, national | Example, E.164 |
|---|---|---|---|
| Mobile | 9 | 06 20 123 4567 | +36201234567 |
| Fixed line | 8 | (06 1) 234 5678 | +3612345678 |
| Toll-free | 8 or 9 | 06 80 123 456 | +3680123456 |
| VoIP | 9 | 06 21 123 4567 | +36211234567 |
| Premium-rate | 8 | 06 90 123 456 | +3690123456 |
| UAN | 9 | 06 38 123 4567 | +36381234567 |
Mobile, 9 digits
^(?:(?:[257]0|3[01])\d{7})$Fixed line, 8 digits
^(?:(?: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})$Toll-free, 8 or 9 digits
^(?:(?:[48]0\d|680[29])\d{5})$VoIP, 9 digits
^(?:21\d{7})$UAN, 9 digits
^(?:38\d{7})$Carrier prefix blocks
The operator each prefix block was allocated to, in national form, from the published allocation records for +36. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.
| Operator | Line type | Prefix blocks | Ranges |
|---|---|---|---|
| One | Mobile | 43 | 0670, 06501–06502, 063121, 063178, 0631310–0631318, 0631320–0631328, 0631330–0631332, 0631700, 0631770–0631771, 0631790, 06313190–06313197, 06313199, 06313290–06313292, 06313666 |
| MVM Net | Mobile | 2 | 06508–06509 |
| Netfone Telecom | Mobile | 2 | 06312000–06312001 |
| Vidanet | Mobile | 2 | 06313330–06313331 |
| Magyar Telekom | Mobile | 1 | 0630 |
| Tarr | Mobile | 1 | 0631701 |
| Yettel Hungary | Mobile | 1 | 0620 |
Questions developers ask
- How many digits does a phone number in Hungary have?
- 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.
- What is the country code for Hungary?
- +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.
- Which prefixes are mobile numbers in Hungary?
- 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.
- Can a mobile number in Hungary be ported to another carrier?
- 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.