Home › Random phone number generator

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.

    Need a number that can actually receive SMS? A random number cannot receive your verification code. Try a free public number, or get a private non-VoIP number for WhatsApp, Telegram, Google and 500+ other apps. You pay only if the code arrives.

    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.

    CountryCodeExample formatFictional range
    United States+1(212) 555-0143Yes, 555-01xx
    Canada+1(416) 555-0143Yes, 555-01xx
    United Kingdom+4407700 900123Yes, Ofcom
    Australia+610412 345 678Yes, ACMA
    Ireland+353085 123 4567Yes, ComReg
    Germany+490151 23456789Yes, the Bundesnetzagentur
    France+3306 12 34 56 78Yes, Arcep
    Sweden+46070 123 45 67Yes, PTS
    India+9198765 43210No, format only
    Pakistan+920300 1234567No, format only
    Bangladesh+88001812 345678No, format only
    Nigeria+2340803 123 4567No, format only
    Ghana+233024 123 4567No, format only
    Kenya+2540712 345678No, format only
    South Africa+27082 123 4567No, format only
    Egypt+20010 1234 5678No, format only
    Saudi Arabia+966050 123 4567No, format only
    United Arab Emirates+971050 123 4567No, format only
    Türkiye+900532 123 45 67No, format only
    Indonesia+620812 3456 7890No, format only
    Malaysia+60012 345 6789No, format only
    Philippines+630917 123 4567No, format only
    Thailand+66081 234 5678No, format only
    Vietnam+84091 234 5678No, format only
    Japan+81090 1234 5678No, format only
    South Korea+82010 1234 5678No, format only
    Spain+34612 345 678No, format only
    Italy+39312 345 6789No, format only
    Netherlands+3106 12345678No, format only
    Brazil+5511 91234 5678No, format only
    Mexico+5255 1234 5678No, format only

    Fictional vs valid-format numbers

    ModeNumbers usedGood for
    FictionalOnly ranges a regulator has reserved for film, TV and testingTest data, mock-ups, screenshots, films and games. Not assigned to subscribers.
    Valid formatAny number allowed by the numbering planTesting 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:

    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.

    More free tools and guides