Generate fictional sample phone numbers for testing.
The Phone Number Generator creates fictional sample phone numbers for United States, United Kingdom and Australian formats. The numbers come from ranges reserved for dramas, examples and testing, so they are safe to use in mock data. It is aimed at developers and testers filling forms, fixtures and screenshots.
Telephone regulators reserve blocks of numbers that are never assigned to real subscribers, so films, documentation and software tests can show numbers without risking calls to real people. In North America the 555-0100 to 555-0199 block is set aside for fiction. The UK regulator Ofcom reserves 07700 900000 to 900999 for drama use, and Australia's ACMA reserves a block of mobile-style numbers from 0491 570 006 to 0491 570 159. Using these ranges in test data avoids spamming strangers and avoids leaking real numbers into examples or databases.
No. They are drawn from ranges reserved for fiction and testing in each country, so they should not belong to real subscribers. Do not dial or text them.
Only the United States, the United Kingdom and Australia. There is no option for other countries.
Area codes make the number look plausible in forms. The fictional part is the 555-01xx line number, which is reserved for fiction.
No. Numbers are produced in national format such as (212) 555-0123, without a plus prefix or country code.
Yes. Selection is random and the reserved ranges are small, so repeats can occur in large batches.