North America reserves the 555-01xx block for fiction, and the UK reserves 07700 900xxx and 01632 960xxx for drama. This generator uses those ranges wherever they exist, so a number you paste into a test can never ring a stranger.
What you can control
- Three formats: E.164 for storage, national for display, international for anything human-facing.
- Mobile-only mode switches to the prefixes carriers actually assign to handsets, which matters if you are testing SMS routing.
- Extensions append as a separate column, so you can check a schema that stores them apart from the number.
- Nine country formats, each with its own grouping — French numbers group in twos, Indian in five-and-five.
What this is not
US and UK numbers come from officially reserved fiction ranges. Other countries have no such reservation, so those numbers are structurally valid but should still be treated as unroutable and never dialled.
Questions
Will libphonenumber accept these?
The E.164 output parses correctly and the country code and length are right. Strict validity checks may flag reserved ranges as not-in-service, which is accurate — they are not.
Why does the US number always contain 555?
The 555-0100 through 555-0199 block is set aside by the North American Numbering Plan for fictional use. It is the only range guaranteed never to be assigned to a subscriber.
Can I get numbers for a country that is not listed?
Not yet. The nine formats here cover the most commonly tested regions; adding one means encoding its numbering plan properly rather than generating digits that merely look right.