Random Phone Number Generator
Generate fake phone numbers for testing. Get safe 555 numbers for any US state, real-format mobiles for India, the UK and many other countries, and export them to CSV or JSON.
Pick your options, then press Generate numbers.
Fake phone numbers that pass validation
This generator creates phone numbers for software testing, demos and fiction. It covers 24 countries, every US state and Canadian province, and the number types each country uses. Realistic numbers pass libphonenumber, the validation library behind most phone inputs.
Fictional mode is on by default. It draws from ranges that telecom regulators keep for films, books and examples, such as the 555-01XX block in the US. These numbers will never ring a real person.
Fictional phone number ranges by country
These ranges come from each regulator's own list. Only 7 of the countries in this tool publish one. Use them when a number will appear in a screenshot, a tutorial or a story.
| Country | Reserved range | Set by |
|---|---|---|
| United States and Canada | 555-0100 to 555-0199 in every area code | NANPA |
| United Kingdom | 07700 900000 to 900999 (mobile), 020 7946 0000 to 0999 (London) and similar blocks in other large cities | Ofcom |
| Ireland | 089 011 0000 to 0999 (mobile), 020 91x xxxx (landline) | ComReg |
| Germany | 030 23125 000 to 999 (Berlin), matching blocks in Frankfurt, Hamburg, Cologne and Munich, and 210 mobile numbers | Bundesnetzagentur |
| France | 01 99 00, 02 61 91, 03 53 01, 04 65 71 and 05 36 49 (landline), 06 39 98 (mobile) | ARCEP |
| Australia | 30 mobile numbers from 0491 570 to 0491 579, the 5550 and 7010 landline blocks in every area code | ACMA |
Spain, Mexico, India and most other countries have no fictional range. For those countries the generator uses realistic numbers.
Phone number formats by country
X stands for any digit. Landline examples show the largest city in the list.
| Country | Code | Mobile | Landline | Toll-free |
|---|---|---|---|---|
| Australia | +61 | 04XX XXX XXX | (02) XXXX XXXXNew South Wales | 1800 XXX XXX |
| Austria | +43 | 06XX XXXXXXX | 01 XXXXXXXVienna | 0800 XXXXXX |
| Brazil | +55 | (XX) XXXXX-XXXX | (11) XXXX-XXXXSão Paulo | 0800 XXX XXXX |
| Canada | +1 | (XXX) XXX-XXXX | Same as mobile | (8XX) XXX-XXXX |
| Colombia | +57 | 3XX XXXXXXX | (601) XXXXXXXBogotá | 01-800-XXXXXXX |
| France | +33 | 0X XX XX XX XX | 01 XX XX XX XXParis and Île-de-France | 0 80X XX XX XX |
| Germany | +49 | 01XX XXXXXXX | 030 XXXXXXXXBerlin | 0800 XXXXXXX |
| India | +91 | XXXXX XXXXX | 011 XXXX XXXXDelhi | 1800 XXX XXXX |
| Ireland | +353 | 08X XXX XXXX | (01) XXX XXXXDublin | 1800 XXX XXX |
| Italy | +39 | 3XX XXX XXXX | 06 XXXX XXXXRome | 800 XXX XXX |
| Japan | +81 | 0XX-XXXX-XXXX | 03-XXXX-XXXXTokyo | 0120-XXX-XXX |
| Mexico | +52 | 55 XXXX XXXXMexico City | Same as mobile | 800 XXX XXXX |
| Netherlands | +31 | 06 XXXXXXXX | 020 XXX XXXXAmsterdam | 0800 XXXX |
| New Zealand | +64 | 02X XXX XXXX | 09 XXX XXXXAuckland | 0800 XXX XXX |
| Nigeria | +234 | 0XXX XXX XXXX | 0201 XXX XXXXLagos | 0800 XXX XXXX |
| Pakistan | +92 | 03XX XXXXXXX | (021) XXXXXXXXKarachi | 0800 XXX XX |
| Philippines | +63 | 09XX XXX XXXX | (02) XXXX XXXXMetro Manila | 1800 XXX XXXX |
| Singapore | +65 | XXXX XXXX | 6XXX XXXX | 1800 XXX XXXX |
| South Africa | +27 | 0XX XXX XXXX | 011 XXX XXXXJohannesburg | 080 0XX XXXX |
| Spain | +34 | XXX XX XX XX | 91X XX XX XXMadrid | 900 XXX XXX |
| Switzerland | +41 | 07X XXX XX XX | 044 XXX XX XXZurich | 0800 XXX XXX |
| United Arab Emirates | +971 | 05X XXX XXXX | 04 XXX XXXXDubai | 800 XXXXXX |
| United Kingdom | +44 | 07XXX XXXXXX | 020 XXXX XXXXLondon | 080X XXX XXXX |
| United States | +1 | (XXX) XXX-XXXX | Same as mobile | (8XX) XXX-XXXX |
Fictional or realistic: which one to use
Fictional numbers
Use them in screenshots, documentation, demo accounts, tutorials and stories. Nobody can be reached on them. A few reserved blocks fail strict validators because the regulator never switched them on.
Realistic numbers
Use them when a form or an API runs libphonenumber or a similar check. They use live area codes and mobile prefixes, so they can match a real line. Keep them inside test systems.
What a generated number cannot do
A generated number is text, not a phone line. It cannot receive calls, SMS messages or one-time codes, and it cannot verify an account. Sites that send a code need a real number that you control.
How this Random Phone Number Generator works
This generator builds phone numbers for form validation, QA scripts, test databases, UI mockups and API tests. Pick a country, or a mixed batch, and the number type you need: mobile, landline or toll-free. In the US, Canada and Mexico, mobiles and landlines share the same area codes, so they count as one type.
Fictional mode is the default. It uses the ranges that regulators reserve for films, books and examples: 555-0100 to 555-0199 in the US and Canada, the Ofcom drama ranges in the UK, the Bundesnetzagentur drama numbers in Germany, and the ARCEP, ComReg and ACMA ranges in France, Ireland and Australia. Nobody can be assigned these numbers. A few of the blocks were never switched on, so strict validators reject them, and the results list marks those numbers.
Realistic mode combines live area codes and mobile prefixes with random digits. Every prefix comes from the libphonenumber metadata, so each number passes the same validation as a production form. Because the prefixes are real, a number may belong to an active line, so keep these numbers inside test systems.
Choose the national format, the international format with the country code, E.164, dashes or digits only. Each batch contains unique numbers. Copy them one by one or all at once, or download TXT, CSV or JSON with the country, type and region of each number. Everything runs in your browser and nothing is sent to a server.
How to use this Random Phone Number Generator
Pick a country
Choose one country or a mixed batch. For the US and Canada you can also pick a state, province or area code.
Choose the source and type
Fictional numbers come from reserved ranges. Realistic numbers use live prefixes. Then pick mobile, landline or toll-free.
Set the format and amount
Pick national, international, E.164, dashes or digits, and how many numbers you need.
Generate and export
Copy one number or the whole list, or download it as TXT, CSV or JSON.
Example Usage
Fictional California numbers in international format:
Frequently Asked Questions
Are these real phone numbers?
What is a 555 phone number?
Can I use a generated number to receive a verification code?
How do I get a random US phone number for a specific state?
How do I generate a random Indian phone number?
Why does a validator reject some fictional numbers?
What format should I store phone numbers in?
Can I generate phone numbers in bulk?
Is this generator free and private?
Related Tools
Random USA Address Generator
Generate random US addresses with real, city-matched ZIP codes for all 50 states and DC, with apartments, PO boxes and CSV export.
Random US Area Codes
Generate random valid US area codes with state and region information. Perfect for testing and development.
Random Email Address Generator
Generate random email addresses for testing. Pick safe example domains, plus aliases of your own address or a custom domain, then copy the list or download TXT, CSV or JSON.
Random Canadian Phone Number Generator
Generate fake Canadian phone numbers for testing with accurate area codes.
Random UK Phone Number Generator
Generate safe fake UK phone numbers with reserved ranges, full prefixes, and E.164 format.
Random Australian Phone Number Generator
Generate random Australian phone numbers that pass validation: 04 mobiles, state landlines, and 1800/1300, from ACMA fictitious ranges.
Comments
Comments are provided by Disqus, which sets cookies and processes data under its own privacy policy.
The Random Phone Number Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

