Phone Number Generator
Generate phone numbers in the correct format per country — mobile, landline and toll-free — valid in shape, for testing only
For Development & Testing Purposes Only - Synthetic Mock Data
Generated values are valid in shape but randomized (Test Data).
Examples
Format a US test fixture four ways
Country: United States
Type: mobile
National test digits: 4155550123International: +1 (415) 555-0123
National: (415) 555-0123
Raw digits: 14155550123
RFC 3966: tel:+14155550123The same format-only fixture gains the country code, punctuation, or tel: prefix required by the selected output mode; it is not an assigned-contact lookup.
Validate an RFC 3966 US fixture
Country: United States
Type: mobile
Phone number: tel:+14155550123Formatted: tel:+14155550123
Validation: {"valid":true}Validation strips punctuation and the leading country code, then checks the ten-digit NANP shape and leading-digit rules.
Reject an unsupported UAE mobile prefix
Country: United Arab Emirates
Type: mobile
Phone number: +971 54 123 4567{"valid":false,"reason":"Does not match the expected length/leading digits for this country"}The local UAE mobile rule accepts second digits 0, 2, 5, or 6, so the 54 prefix is rejected.
About this tool
A phone number is more than digits — it follows country-specific rules for the calling code, area or operator prefix, subscriber length, and the way it is written domestically. This generator knows those rules for 21 countries and produces numbers that are valid in shape for the type you pick: mobile, landline, or toll-free (US and Canada also offer premium).
For the US and Canada it uses real NANP area-code rules and excludes reserved codes such as 911. Pick a format — international (+cc), national, raw digits, or RFC 3966 (tel:) — and generate a batch of up to 50 for form validation, database seeding or placeholder UI. The validator tab checks whether a number matches the selected country's expected length and leading digits.
Everything runs locally in your browser; nothing is uploaded. The numbers are valid in shape but randomized — they do not belong to real people.
How to use
Pick country, type and format
Choose the country; select a number type (mobile, landline, toll-free) and an output format (international, national, raw, RFC 3966).
Set the batch size
Enter a count from 1 to 50 for a list to seed into a database or CSV.
Generate and copy
Click Generate to produce the batch, then copy the joined output.
Validate a number (optional)
On the Validator tab, pick a country and paste a number to check its length and leading digits.
Use cases
Testing international phone fields
Populate form fixtures in international, national, raw, and tel: forms while exercising country-specific normalization.
Seeding non-production datasets
Generate batches of format-valid test data for development databases, table layouts, exports, and demos without sourcing a real contact list.
Covering number-type branches
Test mobile, landline, toll-free, and supported premium paths for countries that expose those local types.
Diagnosing country selection errors
Use Validator mode to distinguish a basic length or prefix mismatch from a display-formatting issue.
Output formats
| Format | Example |
|---|---|
| International | +1 (415) 555-0123 |
| National | (415) 555-0123 |
| Raw digits | 14155550123 |
| RFC 3966 | tel:+14155550123 |
21 countries; mobile, landline, toll-free (and US/CA premium). NANP area codes follow real rules.
Common mistakes
Mistake:Treating generated output as a real assigned number, a verified contact, or a safe number to call or message.
Fix:Use it only as format-valid test data. The generator does not consult an assignment registry, test reachability, or identify a subscriber.
Mistake:Interpreting Valid format as carrier, ownership, or service validation.
Fix:The validator checks local length and leading-digit patterns only. Use an appropriate sandbox or verification provider for delivery and ownership workflows.
Mistake:Selecting the wrong country or number type and blaming punctuation for the rejection.
Fix:Choose the intended country and mobile, landline, toll-free, or premium type first; formatting characters are stripped before the selected rule runs.
Mistake:Confusing raw digits with a domestic national number.
Fix:Raw output prepends the country calling code with no plus sign, while National may add a domestic trunk zero. Store and label the representation your application expects.
Frequently asked questions
Related guides
References & standards
Related tools
ABA Routing Number Generator
Generate 9-digit US ABA routing numbers with weighted Mod-10 checks.
Address Generator
Generate realistic addresses in the correct format for 21 countries — single-line, multi-line, JSON or HTML — plus a postcode validator. Test data only, runs in your browser.
ASCII Text Art Generator
Turn text into large ASCII art banners with multiple figlet fonts
Credit Card Generator
Generate Luhn-valid test credit card numbers for development and QA (not real cards)
Crypto Address Generator
Create testnet-shaped ETH, BTC, SOL and TRON addresses with checksums.
Driver's License Generator
Generate driver's license numbers in the correct format for 21 countries and all 50 US states, plus a format and Luhn validator — test data only, runs in your browser.