Developer and QA test data

Random phone number generator for testing

Create correctly structured phone fixtures for forms, test suites, demos and documentation. Generation happens locally in your browser.

Generated E.164 fixture +12025550123

Pattern: (NPA) NXX-XXXX

Important: Except where a regulator reserves a fictional range, a valid-looking number could match a real subscriber. Never call, text or use generated data for account verification.

Popular country generators

Free browser tools

Test, validate and export phone fixtures

Validate

Phone number validator

Check digit length, calling code and basic country-specific structure.

Validate a number
Reference

Country calling code lookup

Find dialing codes, common national patterns and E.164 examples.

Look up a calling code
QA

Phone regex tester

Run JavaScript regular expressions against sample phone input.

Test a phone regex

Practical use cases

Built for software testing

Form and input QA

Exercise country pickers, input masks, length rules and error states without copying a real person's contact data.

Seed and fixture data

Create plausible records for local development, staging databases, screenshots and product demonstrations.

International formatting

Compare national, international, E.164 and RFC 3966 representations before sending values to an API.

Reference

Common phone number formats

FormatExampleTypical use
National(202) 555-0123Display inside one country
International+1 202 555 0123Human-readable global display
E.164+12025550123Databases, SMS and voice APIs
RFC 3966tel:+12025550123Clickable telephone links

Manually reviewed country guides

Compare 31 country phone formats

Each guide documents its own calling code, domestic trunk rule, safety limits and reviewed input-to-E.164 test cases.

Engineering guides

Build phone-number features that hold up in production

E.164 format

Normalize international values without confusing country codes and trunk prefixes.

Read the E.164 guide

Original research

See the evidence behind the generator

Fixture methodology

How sources are selected, safety labels are assigned and changes are reviewed.

Read our methodology

31-country safety matrix

Compare documented fictional examples with structural fixtures that may be assigned.

Review fictional ranges

Reproducible E.164 cases

Six reviewed input-to-output contracts with country-specific failure boundaries.

Open the test cases

FAQ

Know what the result means

Are these real phone numbers?

No. Results are test data, not live lines. They cannot receive calls, SMS or one-time passwords.

Does “valid” mean active?

No. Structural validation cannot confirm assignment, reachability, carrier ownership or SMS capability.

Where is data processed?

The current generator and formatter run in your browser. Generated values are not submitted to GetPhoneNum.