Phone number validator
Check digit length, calling code and basic country-specific structure.
Validate a numberDeveloper and QA test data
Create correctly structured phone fixtures for forms, test suites, demos and documentation. Generation happens locally in your browser.
Pattern: (NPA) NXX-XXXX
Popular country generators
Free browser tools
Check digit length, calling code and basic country-specific structure.
Validate a numberFind dialing codes, common national patterns and E.164 examples.
Look up a calling codeRun JavaScript regular expressions against sample phone input.
Test a phone regexCreate up to 100 local fixtures and export JSON or CSV.
Generate bulk fixturesPractical use cases
Exercise country pickers, input masks, length rules and error states without copying a real person's contact data.
Create plausible records for local development, staging databases, screenshots and product demonstrations.
Compare national, international, E.164 and RFC 3966 representations before sending values to an API.
Reference
| Format | Example | Typical use |
|---|---|---|
| National | (202) 555-0123 | Display inside one country |
| International | +1 202 555 0123 | Human-readable global display |
| E.164 | +12025550123 | Databases, SMS and voice APIs |
| RFC 3966 | tel:+12025550123 | Clickable telephone links |
Manually reviewed country guides
Each guide documents its own calling code, domestic trunk rule, safety limits and reviewed input-to-E.164 test cases.
Engineering guides
Normalize international values without confusing country codes and trunk prefixes.
Read the E.164 guideSeparate parsing, structural validity, reachability and user verification.
Read the validation guideUse reserved ranges, deterministic fixtures and explicit negative cases.
Read the test-data guideOriginal research
How sources are selected, safety labels are assigned and changes are reviewed.
Read our methodologyCompare documented fictional examples with structural fixtures that may be assigned.
Review fictional rangesSix reviewed input-to-output contracts with country-specific failure boundaries.
Open the test casesFAQ
No. Results are test data, not live lines. They cannot receive calls, SMS or one-time passwords.
No. Structural validation cannot confirm assignment, reachability, carrier ownership or SMS capability.
The current generator and formatter run in your browser. Generated values are not submitted to GetPhoneNum.