test data · generator
Fake phone number generator
Generate phone numbers in valid country format. Use 555-prefix in NANP (North America) for guaranteed non-routability. Other countries don't have universal test ranges — use unallocated blocks where known.
beginner
seedable
Sample output
fakeit phone --country=US --count=3 +1-555-0123 +1-555-0186 +1-555-0247 fakeit phone --country=GB --count=2 +44 7700 900123 +44 7700 900456
Safe vs unsafe examples
| Input | Result |
|---|---|
| +1-555-0123 (NANP reserved — non-routable) | ✓safe to use |
| +44 7700 900123 (UK drama range) | ✓safe to use |
| +33 6 39 98 00 12 (FR mobile, format only) | ✓safe to use |
| **WARNING**: +1-415-555-1234 (REAL number patterns — may route to real subscriber) | ✗avoid |
| +1-911-XXX-XXXX (EMERGENCY PREFIX — never generate) | ✗avoid |
| Random 10-digit string (no country format validation) | ✗avoid |
Edge cases & caveats
E.164 format: `+<country-code><number>`. Country code is 1-3 digits. Total length max 15 digits. Use libphonenumber for full validation in production.
Note: see the warning above. Treat this page as a starting point, not a security control.
Common use cases
- Contact form testing
- SMS service QA (with controlled test numbers)
- International customer testing
- Phone validation regex development
Generate fake data at scale
fakeit generates realistic fake test data — names, emails, IBANs, ISBNs, phones, addresses. Seedable, schemable, MIT-licensed, no telemetry.
Open fakeit
Related
addresses with valid postcodes · addresses with valid postcodes · addresses with valid postcodes · addresses with valid postcodes · ↗ validate phone format