Phone number validator
Hungary phone number validator
A number is valid in Hungary when the digits after +36 match one of 6 number types, with 8 or 9 digits in all. A mobile number starts 20, 30, 31, 50 or 70.
Check a number in Hungary
Write the number with +36 or the local way. The check runs in your browser and nothing is sent.
Rules by number type
Digits are counted after the country code. Starts are the first digits the plan allows for the type.
| Type | Starts with | Digits | Sample |
|---|---|---|---|
| Mobile | 20, 30, 31, 50 or 70 | 9 | +36 20 123 4567 |
| Landline | 1, 2, 3, 4, 5, 6, 7, 8 or 9 (some ranges only) | 8 | +36 10456334 |
| Toll free | 40, 68 or 80 | 8 or 9 | +36 68 026 3914 |
| Premium rate | 90 or 91 | 8 | +36 90315953 |
| VoIP | 21 | 9 | +36 21 423 0193 |
| Universal access | 38 | 9 | +36 38 566 0147 |
Test numbers and what the check says
Every result below comes from the same check as the validator above. Use a number to see how it fails.
| Number | Case | Result |
|---|---|---|
| +36 20 123 4567 | Example number | Passes Valid mobile number. |
| +36 10456334 | Landline range | Passes Valid landline number. |
| +36 68 026 3914 | Toll free range | Passes Valid toll-free number. |
| +36 90315953 | Premium rate range | Passes Valid premium-rate number. |
| 06201234567 | Written the local way | Passes Valid mobile number. |
| +36 20123456 | One digit short | Fails 8 digits suits landline, toll-free or premium-rate numbers, but a number starting 20 is not in any of those ranges. |
| +36 2012345672 | Too many digits | Fails Too long: 10 digits follow the country code, where Hungary allows 8 or 9 digits. |
| +36 2012345 | Below the shortest length | Fails Too short: 7 digits follow the country code, where Hungary allows 8 or 9 digits. |
Test numbers are computed from the rules and never dialled. A passing one proves the pattern, not that someone owns it.
Mistakes to look for
| Mistake | Example | Result |
|---|---|---|
| Keeping the 06 after +36. The 06 only exists for calls made inside Hungary. Behind the plus sign and the country code it has to go; a strict system will refuse the number as typed. | +36 06201234567 | Valid mobile number. The 06 after +36 is only for local dialling and is dropped from the international form. Store it as +36201234567. |
| Typing 00 and a plus sign together. 00 is the dialled form of the plus sign. One of the two is enough, never both. | +0036201234567 | It starts with +00, but numbers in Hungary start with +36. |
Questions about Hungary numbers
- What makes a phone number valid in Hungary?
- After the country code, its digits must match the pattern of at least one number type in the plan: mobile, landline, toll free, premium rate, VoIP or universal access. The count is 8 or 9 digits in all, and each type has its own count and its own starting digits, shown in the table above.
- How do I write a mobile number for Hungary?
- A mobile number is 9 digits long after +36 and starts 20, 30, 31, 50 or 70. Written for international use it reads +36 20 123 4567; the E.164 form for storing is +36201234567.
- Does the leading 06 count when I validate a number?
- Written the local way, it is removed before the check, so 06201234567 and +36201234567 give the same result. Behind a plus sign the check still accepts it, with a note to store the number without it.
- Does a valid result mean the number is in service?
- No. The check reads the numbering plan only: it never rings the number and cannot tell whether a subscriber holds it today. It rules out numbers that cannot exist.
Validate numbers in bulk
The page checks one number at a time. The phone lookup does the same check for any country from the API, and reports the number type the numbering plan assigns with each result.
| Product | Credits | Docs |
|---|---|---|
| Phone Numbering-Plan Validation | 1 credit per valid number | API docs |
Hungary country code and dialling · Phone number formatter · Validate a number from any country
Rules: version 1.13.15 of libphonenumber-js, published 8 October 2026, built on Google's libphonenumber metadata. LookValid is not connected to Google or to any phone company named here.