Last updated
Random Phone Generator Examples
The Random Phone Generator creates realistic fake phone numbers for testing, development, and data generation. Below are examples covering different countries, formats, and number types.
US Phone Number — National Format
Generate a standard US phone number:
Country: United States
Format: National
Result: (415) 823-7491
US numbers use a 3-digit area code and 7-digit local number. The generator uses real area codes assigned to geographic regions.
US Phone Number — International Format
Generate a US number in international format:
Country: United States
Format: International
Result: +1-415-823-7491
US Phone Number — E.164 Format
Generate a US number in E.164 format for telecommunications systems:
Country: United States
Format: E.164
Result: +14158237491
E.164 is the standard format used by SMS APIs, VoIP systems, and telephony platforms.
UK Phone Number
Generate a UK landline number:
Country: United Kingdom
Type: Landline
Format: National
Result: 020 7946 0831
UK numbers have variable-length area codes depending on region and number type.
UK Mobile Number
Generate a UK mobile number:
Country: United Kingdom
Type: Mobile
Format: National
Result: 07700 900 412
German Phone Number
Generate a German phone number:
Country: Germany
Format: International
Result: +49 30 12345678
German numbers have variable-length area codes. Berlin numbers start with 030, Munich with 089.
Mobile vs Landline vs Toll-Free
Generate different number types for the same country:
Country: United States
Mobile: (650) 555-0147
Landline: (212) 555-0193
Toll-free: (800) 555-0182
Each number type has different format characteristics and validation rules. Testing with all types ensures your application handles them correctly.
Reserved Test Numbers (555 Range)
Generate numbers in the US 555 reserved range safe for testing:
Country: United States
Range: Reserved (555)
Result: (213) 555-0147
The 555 area code range is reserved for fictional use and cannot be dialed to reach real people. Safe to use in test environments without risk of contacting real subscribers.
Compact Format (No Separators)
Generate a phone number without separators for database storage:
Country: United States
Format: Compact
Result: 4158237491
Compact format is useful for storing phone numbers in databases where separators are added at display time.
Bulk Generation — CSV Export
Generate 5 US phone numbers in CSV format for database seeding:
country,type,national,international,e164
US,mobile,(415) 823-7491,+1-415-823-7491,+14158237491
US,mobile,(650) 312-9047,+1-650-312-9047,+16503129047
US,landline,(212) 748-3612,+1-212-748-3612,+12127483612
US,toll-free,(800) 555-0182,+1-800-555-0182,+18005550182
US,mobile,(310) 924-5873,+1-310-924-5873,+13109245873
Bulk Generation — JSON Export
Generate phone numbers in JSON format for API testing:
[
{ "country": "US", "type": "mobile", "national": "(415) 823-7491", "e164": "+14158237491" },
{ "country": "UK", "type": "mobile", "national": "07700 900 412", "e164": "+447700900412" },
{ "country": "DE", "type": "landline", "national": "030 12345678", "e164": "+493012345678" }
]
Geographic Region Testing
Generate US numbers for specific states using regional area codes:
California (area codes 213, 310, 415, 510, 619, 650, 714, 818):
(415) 823-7491
(310) 924-5873
New York (area codes 212, 315, 347, 516, 518, 585, 607, 631):
(212) 748-3612
(347) 291-8045
Texas (area codes 210, 214, 281, 361, 409, 512, 713, 817):
(214) 392-7841
(512) 847-3029
Geographic specificity is useful for testing location-based features that use area codes to determine a user's region.
Phone Validation Edge Cases
Generate numbers to test validation logic:
Valid formats to accept:
(415) 823-7491
415-823-7491
415.823.7491
4158237491
+14158237491
Invalid formats to reject:
(415) 823-749 (too short)
(415) 823-74912 (too long)
(000) 000-0000 (invalid area code)
Demo and Documentation Use
Use generated numbers in product screenshots and documentation:
Contact form demo:
Name: John Smith
Phone: (415) 555-0147
Email: john.smith@example.com
Generated numbers look authentic in demos without the privacy risk of using real customer data.
- Generate numbers for US, UK, Germany, and many other countries
- Choose mobile, landline, toll-free, or premium rate types
- Format as national, international, E.164, or compact
- Use reserved 555 range for safe US test numbers
- Generate numbers for specific geographic regions
- Bulk export as CSV, JSON, or plain text
- All numbers are unique within the generated set
- Safe for demos — no real subscribers can be reached