Phone number generator
Generate phone numbers in the right national and international format for each country, for filling test forms and fixtures.
What to generate
Numbers
When to use it
You need phone numbers that look right for a country, to test a form, fill a database or check your formatting code. Pick the country, the format and how many you want.
Made up, and for testing only
These numbers are for filling test forms, seeding fixtures and checking that your validation and formatting code handles each country. Don't use them to call, text or sign up to anything. No number here receives messages.
Reserved ranges, where they exist
A few regulators set numbers aside so that films, documentation and tests have something safe to use. For those countries every number comes from the reserved range, so it can never reach a subscriber:
- United States and Canada:
555-0100to555-0199, in any area code. - United Kingdom: Ofcom's drama ranges, such as
07700 900xxxfor mobiles and020 7946 0xxxfor London. - Australia: the ACMA's reserved numbers, such as
(02) 5550 xxxx. - France: Arcep's blocks for audiovisual works, such as
06 39 98 xx xx.
Everywhere else the numbers are random digits behind a real prefix, in the right length and grouping. Some of them will be in service and belong to someone. That's why the page marks those countries as format only.
The three formats
E.164is a plus sign, the country code and the number, with no spaces. Store this one: it's what SMS and voice APIs expect.- International is the same number, grouped so it's easy to read.
- National is how the number is written inside the country. It usually has a leading
0that's dropped when you dial from abroad.
Questions people ask
How do I generate a phone number for testing?
Choose a country, a format and how many you need. Each number follows that country's length and prefix rules, so it passes format validation.
Are these numbers real?
Where a country reserves numbers for fiction and testing, such as 555-01 numbers in the United States, those are the ones used. Elsewhere a generated number has the right shape and could happen to belong to someone, so never call or message one.
What is E.164 format?
The international standard for writing a phone number: a plus sign, the country code and the number, with no spaces, up to fifteen digits. It is the format most APIs expect.
Can I use these to receive a verification code?
No. They are not connected to a phone or a service. They are for filling forms and test databases.
Get started
Blocked by bot protection? $5 is 5,000 solves.
No subscriptionCredit never expiresFailed solves are free