Random Phone Number Generator
Generate random phone numbers for 31 countries in national or international format. Use fictional mode for safe test data where a reserved range exists, or valid format mode when you need numbers that pass real validation rules.
Numbers are generated in your browser and are never stored or sent anywhere.
Generators by country
How the generator works
Each country has its own numbering plan, and the generator follows it so the output looks and validates like a real number.
- USA and Canada share the North American Numbering Plan: a 3-digit area code, a 3-digit exchange and a 4-digit line number, as in (212) 555-0143.
- United Kingdom mobile numbers are 11 digits starting with 07, as in 07700 900123. In international format the leading 0 is dropped: +44 7700 900123.
Mobile number formats by country
What a mobile number looks like at home. The generator makes the rest of the digits at random.
| Country | Code | Example format | Fictional range |
|---|---|---|---|
| United States | +1 | (212) 555-0143 | Yes, 555-01xx |
| Canada | +1 | (416) 555-0143 | Yes, 555-01xx |
| United Kingdom | +44 | 07700 900123 | Yes, Ofcom |
| Australia | +61 | 0412 345 678 | Yes, ACMA |
| Ireland | +353 | 085 123 4567 | Yes, ComReg |
| Germany | +49 | 0151 23456789 | Yes, the Bundesnetzagentur |
| France | +33 | 06 12 34 56 78 | Yes, Arcep |
| Sweden | +46 | 070 123 45 67 | Yes, PTS |
| India | +91 | 98765 43210 | No, format only |
| Pakistan | +92 | 0300 1234567 | No, format only |
| Bangladesh | +880 | 01812 345678 | No, format only |
| Nigeria | +234 | 0803 123 4567 | No, format only |
| Ghana | +233 | 024 123 4567 | No, format only |
| Kenya | +254 | 0712 345678 | No, format only |
| South Africa | +27 | 082 123 4567 | No, format only |
| Egypt | +20 | 010 1234 5678 | No, format only |
| Saudi Arabia | +966 | 050 123 4567 | No, format only |
| United Arab Emirates | +971 | 050 123 4567 | No, format only |
| Türkiye | +90 | 0532 123 45 67 | No, format only |
| Indonesia | +62 | 0812 3456 7890 | No, format only |
| Malaysia | +60 | 012 345 6789 | No, format only |
| Philippines | +63 | 0917 123 4567 | No, format only |
| Thailand | +66 | 081 234 5678 | No, format only |
| Vietnam | +84 | 091 234 5678 | No, format only |
| Japan | +81 | 090 1234 5678 | No, format only |
| South Korea | +82 | 010 1234 5678 | No, format only |
| Spain | +34 | 612 345 678 | No, format only |
| Italy | +39 | 312 345 6789 | No, format only |
| Netherlands | +31 | 06 12345678 | No, format only |
| Brazil | +55 | 11 91234 5678 | No, format only |
| Mexico | +52 | 55 1234 5678 | No, format only |
Fictional vs valid-format numbers
| Mode | Numbers used | Good for |
|---|---|---|
| Fictional | Only ranges a regulator has reserved for film, TV and testing | Test data, mock-ups, screenshots, films and games. Not assigned to subscribers. |
| Valid format | Any number allowed by the numbering plan | Testing validation libraries such as libphonenumber. May reach real subscribers. |
Why a random number will not verify an account
Sign-up forms send a one-time code by SMS. With a random number, that code goes to whoever owns the line, or nowhere. To get past phone verification you need a number whose messages you can read:
- Free phone numbers: public inboxes for USA, UK and Canada. Anyone can see the messages, so they suit quick tests only.
- Temporary phone numbers: a private number for one code, charged only if the SMS arrives.
- Receive SMS online: one-time numbers and rentals that keep the same number for days or weeks.
Calling another country? Look up its dialing code in the country code list.
Frequently asked questions
Are the generated phone numbers real?
In "valid format" mode the numbers follow the real numbering rules, so some of them may be assigned to real people. Do not call or text them. In "fictional" mode you only get numbers from ranges a regulator reserves for films, TV and testing, which are not given to subscribers.
Can I use a random phone number to receive a verification code?
No. A generated number is just digits: you cannot read SMS sent to it, and a code sent there would go to whoever owns the line, or nowhere. To receive a code, use a number you can actually read, such as a free public number or a private virtual number from SMS Pin Verify.
What is a fake phone number for testing?
Developers use fictional numbers to fill forms, seed databases and test input validation without contacting anyone. Use the fictional mode of this generator for that, since those ranges are reserved and safe.
Which countries have fictional numbers?
The USA, Canada, UK, Australia, Ireland, Germany, France and Sweden have published ranges, and this tool uses them. We found no usable published range for the other countries, so they offer format-only numbers with a warning.
What format are the numbers in?
You can choose national format, such as (212) 555-0143 or 07700 900123, international E.164 format, such as +12125550143, which is what most APIs and databases expect, or plain digits.