Random digits reach real people
Most phone generators fill a mask such as 07XXX XXXXXX with random digits. The result looks right because it is right. UK mobile ranges are close to fully allocated, so a random 07 number has a good chance of ringing a stranger's pocket.
That stops being theory the first time a staging server sends a password reset by SMS, or a sales demo dials the sample contact. The fix is old. Regulators in a few countries set aside blocks for film, television and fiction, and carriers never hand those out to subscribers. Safe mode builds rows from those blocks first and only falls back to random digits where no block exists.
Reserved ranges behind safe mode
Rows built from a published fiction block carry a reserved tag. A row without the tag has a real prefix and random digits after it.
| Country | Source | Mobile | Landline | Toll-free |
|---|---|---|---|---|
| United States, Canada | NANPA | 555-0100 to 555-0199 in any area code |
Same block | No block, random |
| United Kingdom | Ofcom drama numbers | 07700 900000 to 900999 |
020 7946 0xxx, 0121 496 0xxx, 0161 496 0xxx and other city blocks |
0808 157 0xxx |
| Australia | ACMA | Published list starting 0491 570 |
02, 03, 07, 08 then 5550 xxxx |
1800 160 401, 1800 975 707 to 711 |
| Other 16 countries | None used | Valid prefix plus random subscriber digits | ||
The 555 block catches people out. Only 0100 to 0199 is fictional. Plenty of other 555 lines are in service, 555-1212 being the best known, so a hand-typed 555-4821 in a fixture is no safer than any other number.
One number, three spellings
The format tabs above the list change how every row is written without changing the number. Here is one UK drama number in all three:
National 07700 900461
International +44 7700 900461
E.164 +447700900461
Watch the zero. The leading 0 in a UK, German, Pakistani or Australian national number is a trunk prefix, dialled only inside the country. It drops out the moment you add the country code. Writing +44 07700 900461 is a common bug in hand-built fixtures, and stricter validators reject it.
Italy breaks the pattern. Its landline zero belongs to the number itself, so Rome stays +39 06 xxxx xxxx with the zero kept. Russia uses 8 as its trunk prefix instead of zero. The generator handles both, which makes Italy and Russia good rows to throw at a parser you suspect of stripping digits by habit.
For storage, pick E.164 and format at display time. The CSV export writes all three columns per row, so one download covers the database seed and the UI copy.
Where this generator is the wrong tool
- Testing OTP or SMS delivery. A reserved number reaches nobody, which also means your test never sees a code arrive. SMS providers issue test credentials and magic numbers that return success or a chosen error without sending anything. Use those.
- Seeding a million rows. Fifty rows per batch suits forms and screenshots. Bulk fixtures belong in a script with a phone library such as libphonenumber, run inside your build.
- Checking a number someone gave you. This page writes numbers. It does not parse, look up or verify them.
- Exact numbering-plan accuracy. Germany mixes subscriber lengths inside one area code, and Chinese mobile prefixes shift as blocks get assigned. Masks here follow common shapes for each country, not every rule a national regulator publishes.
Notes on specific countries
US and Canadian rows pick a real area code first, then an exchange starting 2 through 9, the way the North American plan requires. Brazilian rows pick a real two-digit DDD code and give mobiles the leading 9 added in the 2010s. Mexican rows follow the 2019 change to ten-digit dialling, so 55 for Mexico City and three-digit codes elsewhere.
Mixed line type picks the type per row first, then the mask, so a country with five landline masks and one toll-free mask still returns toll-free rows at a fair rate.
All of it runs in this tab. The batch, the country and the settings never leave your browser, and a reload clears the list. Pair a row with a street from the Random Address Generator when you need a full contact record, or check your own phone pattern against these rows in the Regex Tester.