Country Phone Rules
Browse phone number formatting rules for 100+ countries: dial codes, E.164 patterns, regex validation, mobile/landline formats, and common mistakes.
Country phone number rules, regex patterns, and common mistakes
This country phone rules reference helps compare dialing codes, mobile prefixes, landline patterns, E.164 examples, validation regex, and common formatting mistakes across countries.
Related phone number topics
country phone number rulesphone number format by countrymobile number regex by countryE.164 regex patternsinternational phone number rulescountry dial code rulesphone number validation rules
Common use cases
- Research country-specific validation rules before building a phone input form.
- Find E.164 examples and regex patterns for mobile number validation.
- Check common mistakes such as keeping domestic trunk prefixes in international format.
How to use Country Phone Number Rules
- Search or select a country.
- Review dial codes, examples, regex, and prefixes.
- Use the rule with the validator, formatter, or E.164 converter.
Related phone number tools
FAQ
Can I use these regex patterns in production?
Use them as a practical reference and test against your own requirements, because national numbering plans can change.
Do the rules cover mobile and landline numbers?
Many countries include both mobile and landline notes, but validation details vary by country.
Why do trunk prefixes cause mistakes?
Domestic prefixes such as 0 are often removed in E.164 international format, but rules vary by country.