Test phone numbers for developers

Need phone numbers for tests, demos, screenshots or sample data? This generator only uses ranges that a national regulator reserves for fiction and testing, such as the UK's 07700 900xxx, North America's 555-0100 to 555-0199 and Australia's drama numbers, each with its source. It never makes up a random valid-looking number, because such a number can belong to a real person. Copy them as a list, CSV or JSON.

Free · no sign-up · runs in your browser, nothing is uploaded

Only reserved numbers. Every number here is in a range a regulator sets aside for fiction and testing. Never generate random "valid" numbers for tests: they can belong to real people.

Order

1,000 numbers in this block · source: Ofcom: telephone numbers for TV and radio drama

libphonenumber treats this block as not valid: good for testing how your code rejects numbers.

E.164InternationalNationalType
+447700900000+44 7700 90000007700 900000Mobile
+447700900001+44 7700 90000107700 900001Mobile
+447700900002+44 7700 90000207700 900002Mobile
+447700900003+44 7700 90000307700 900003Mobile
+447700900004+44 7700 90000407700 900004Mobile
+447700900005+44 7700 90000507700 900005Mobile
+447700900006+44 7700 90000607700 900006Mobile
+447700900007+44 7700 90000707700 900007Mobile
+447700900008+44 7700 90000807700 900008Mobile
+447700900009+44 7700 90000907700 900009Mobile

MobileValidate sandbox test values

Each always gives the same answer with the public sandbox key or a test key, and is never billed. Full list: test values.

  • +447700900001 → registered: true
  • +447700900002 → registered: false
  • +447700900003 → unknown (UPSTREAM_TIMEOUT)
  • +447700900004 → pending for about 5 s, then registered: true
  • +447700900005 → unsupported_country
  • +447700900006 → registered: true (business account)
  • +447700900429 → request fails: 429 rate_limited
  • +447700900402 → request fails: 402 insufficient_balance

Runs entirely in your browser. Nothing you type, paste or upload is sent to MobileValidate or anyone else, and nothing is stored. The page counts one anonymous "tool used" event per visit (no numbers, no text), and sends nothing at all when your browser asks not to be tracked.

Test the whole integration, free

Run every answer your code must handle against the sandbox, then get a free test key that accepts any number in test mode. Nothing is billed and nothing reaches a real network. When you are ready, start with free real checks.

How it works

Only reserved ranges. Regulators set some numbers aside so that films, books and software can show a realistic number without anyone being called: Ofcom (UK), the North American Numbering Plan administrator (US and Canada), ACMA (Australia), the Federal Network Agency (Germany) and Arcep (France). Each block in the tool names its source.

Never random valid numbers. A random number that passes validation is, by definition, in a range a country assigns to subscribers, so it can ring a real phone or reach a real WhatsApp account. Don't use such numbers in tests, seed data or marketing material. Use the reserved ones, or the test values of the service you integrate with.

Sequential or random, up to 100. Pick a country, a block and how many numbers you need. Random picks stay inside the block and never repeat. Each number comes in E.164, international and national format, with the type from the numbering plan. Some reserved blocks, such as the UK mobile drama range, are not valid according to libphonenumber; the tool says so, which is handy for testing how your code rejects numbers.

Our sandbox values. For MobileValidate itself, use the documented test values: 8 numbers in the UK drama range with a fixed answer each (registered, not registered, unknown, pending, unsupported and the request errors). They work with the public sandbox key, no sign-up. See test values and test mode.

Last updated

Frequently asked questions

What phone number can I use for testing?

One from a range reserved for fiction or testing. In the UK, Ofcom reserves 07700 900000 to 07700 900999 for mobiles and 020 7946 0000 to 0999 in London, among others. In the US and Canada, 555-0100 to 555-0199 in any area code. Australia, Germany and France have their own lists. All are in the tool, with their sources.

Can I just generate random valid phone numbers?

No, don't. A random number that is valid is in a range that a country gives to subscribers, so it may belong to someone. Test messages or calls to it reach a real person, and seed data with real-looking numbers ends up in demos and screenshots. Use reserved numbers instead.

Are all 555 numbers fake?

No. Only 555-0100 through 555-0199 are reserved for fictional use in every North American area code. Other 555 numbers can be assigned; 555-1212, for example, has long been used for directory assistance.

Why does my validator reject 07700 900123?

libphonenumber, the library behind most validators, treats the UK mobile drama range 07700 900xxx as invalid, and some other reserved blocks too. The tool flags them, so you can choose: a block your validator accepts, to test the happy path, or one it rejects, to test your error handling.

How do I test MobileValidate without a real number?

Use the test values with the public sandbox key: each test number returns a fixed answer, such as registered, not registered, unknown or pending, and is never billed. A free personal test key accepts any number in test mode and answers with stable, made-up results. Nothing reaches a real network.

Can I use these numbers in my app's sample data and screenshots?

Yes. That is what the reserved ranges are for: they are not given to subscribers, so a number shown in a demo, a screenshot or documentation never rings anyone. Keep them out of production data, so they don't skew your real lists.