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.

Sets the area code of every number.

Number source
Number type

Mobiles and landlines here use the same area codes, so they count as one type.

Preview: (402) 555-0123

Up to 1000 unique numbers per batch.

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.

CountryReserved rangeSet by
United States and Canada555-0100 to 555-0199 in every area codeNANPA
United Kingdom07700 900000 to 900999 (mobile), 020 7946 0000 to 0999 (London) and similar blocks in other large citiesOfcom
Ireland089 011 0000 to 0999 (mobile), 020 91x xxxx (landline)ComReg
Germany030 23125 000 to 999 (Berlin), matching blocks in Frankfurt, Hamburg, Cologne and Munich, and 210 mobile numbersBundesnetzagentur
France01 99 00, 02 61 91, 03 53 01, 04 65 71 and 05 36 49 (landline), 06 39 98 (mobile)ARCEP
Australia30 mobile numbers from 0491 570 to 0491 579, the 5550 and 7010 landline blocks in every area codeACMA

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.

CountryCodeMobileLandlineToll-free
Australia+6104XX XXX XXX(02) XXXX XXXXNew South Wales1800 XXX XXX
Austria+4306XX XXXXXXX01 XXXXXXXVienna0800 XXXXXX
Brazil+55(XX) XXXXX-XXXX(11) XXXX-XXXXSão Paulo0800 XXX XXXX
Canada+1(XXX) XXX-XXXXSame as mobile(8XX) XXX-XXXX
Colombia+573XX XXXXXXX(601) XXXXXXXBogotá01-800-XXXXXXX
France+330X XX XX XX XX01 XX XX XX XXParis and Île-de-France0 80X XX XX XX
Germany+4901XX XXXXXXX030 XXXXXXXXBerlin0800 XXXXXXX
India+91XXXXX XXXXX011 XXXX XXXXDelhi1800 XXX XXXX
Ireland+35308X XXX XXXX(01) XXX XXXXDublin1800 XXX XXX
Italy+393XX XXX XXXX06 XXXX XXXXRome800 XXX XXX
Japan+810XX-XXXX-XXXX03-XXXX-XXXXTokyo0120-XXX-XXX
Mexico+5255 XXXX XXXXMexico CitySame as mobile800 XXX XXXX
Netherlands+3106 XXXXXXXX020 XXX XXXXAmsterdam0800 XXXX
New Zealand+6402X XXX XXXX09 XXX XXXXAuckland0800 XXX XXX
Nigeria+2340XXX XXX XXXX0201 XXX XXXXLagos0800 XXX XXXX
Pakistan+9203XX XXXXXXX(021) XXXXXXXXKarachi0800 XXX XX
Philippines+6309XX XXX XXXX(02) XXXX XXXXMetro Manila1800 XXX XXXX
Singapore+65XXXX XXXX6XXX XXXX1800 XXX XXXX
South Africa+270XX XXX XXXX011 XXX XXXXJohannesburg080 0XX XXXX
Spain+34XXX XX XX XX91X XX XX XXMadrid900 XXX XXX
Switzerland+4107X XXX XX XX044 XXX XX XXZurich0800 XXX XXX
United Arab Emirates+97105X XXX XXXX04 XXX XXXXDubai800 XXXXXX
United Kingdom+4407XXX XXXXXX020 XXXX XXXXLondon080X XXX XXXX
United States+1(XXX) XXX-XXXXSame 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

1

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.

2

Choose the source and type

Fictional numbers come from reserved ranges. Realistic numbers use live prefixes. Then pick mobile, landline or toll-free.

3

Set the format and amount

Pick national, international, E.164, dashes or digits, and how many numbers you need.

4

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:

Input
Country: United States, State: California, Source: Fictional, Format: International, Amount: 3
Output
+1 949 555 0142 +1 818 555 0143 +1 818 555 0134

Frequently Asked Questions

Are these real phone numbers?
Fictional numbers are not real. Regulators reserve them and never assign them to customers. Realistic numbers use live area codes and prefixes with random digits, so a few of them may belong to someone. The generator does not look up or call any number.
What is a 555 phone number?
In the US and Canada, 555-0100 through 555-0199 is set aside for fiction and examples. Films and TV shows use these numbers so that viewers cannot call a real person. Other 555 numbers, such as 555-1212 for directory assistance, are outside this block. The generator only uses 555-0100 to 555-0199.
Can I use a generated number to receive a verification code?
No. A generated number is only text in a valid format. It cannot receive calls, SMS or one-time passwords, so it will not pass the phone check on WhatsApp, Telegram, Gmail or a bank. You need a real number that you own to receive a code. Use generated numbers where no message is sent, such as test forms, staging databases and mock API responses.
How do I get a random US phone number for a specific state?
Choose United States, then pick a state such as California, Florida or New York. You can narrow it further to one area code, for example 212 for Manhattan. In fictional mode every number uses the 555-0100 to 555-0199 block with that state's real area codes, like (213) 555-0147.
How do I generate a random Indian phone number?
Pick India and the Mobile type. Indian mobile numbers have 10 digits, start with 6, 7, 8 or 9 and are written as 9XXXX XXXXX or +91 9XXXX XXXXX. India has no official fictional range, so the generator uses realistic prefixes that pass libphonenumber. Landlines start with a city code such as 011 for Delhi or 022 for Mumbai.
Why does a validator reject some fictional numbers?
Some regulators reserve blocks that they never switched on. The UK mobile range 07700 900xxx, the French mobile range 06 39 98 and the Irish 020 91x landline range are examples. libphonenumber treats them as unallocated, so strict validators reject them. The results list marks these numbers. Switch to realistic mode when a test must pass validation.
What format should I store phone numbers in?
Store them in E.164: a plus sign, the country code and the national number with no spaces, such as +12125550123. Twilio, Amazon SNS and most phone libraries expect this format. Show the national format to people and keep E.164 in your database.
Can I generate phone numbers in bulk?
Yes. Each batch holds up to 1000 unique numbers. Download them as TXT, CSV or JSON. The CSV and JSON files also list the E.164 form, country, type, region and whether each number is fictional.
Is this generator free and private?
Yes. It runs in your browser, sends nothing to a server and needs no sign-up.

Related Tools

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.

As featured on

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge