UK Phone Number Format: +44, Digits, Area Codes and Test Numbers

How to write a UK phone number: +44 and the leading 0, how many digits, area codes, 07 mobile ranges, and the Ofcom numbers that are safe to use for testing.

By Vincent RuanPublished November 11, 2026Last updated November 11, 202612 min read

Illustration for this article: How to write a UK phone number: +44 and the leading 0, how many digits, area codes, 07 mobile ranges, and the Ofcom numbers that are safe to use for testing.

A UK phone number is written in one of two ways. Inside the country it starts with a 0: 020 7946 0958. From anywhere else the 0 is dropped and the country code +44 takes its place: +44 20 7946 0958. Everything else about the format follows from two questions. How long is the area code, and what kind of number is it?

This guide answers both from the source. The rules come from Ofcom, the UK regulator, which publishes the numbering plan [plan]. The counts come from the files Ofcom gives phone companies, which list every block of numbers and who holds it [data]. Every example below is from a range Ofcom keeps out of service for television, so none of them can ring a real person. If you need a whole made-up UK profile, the UK generator writes one with a phone number from the same ranges.

Number typeStarts withWritten in the UKInternational formatDigits after the 0
London landline020020 7946 0958+44 20 7946 095810 (2 + 8)
Big-city landline011x or 01x10161 496 0123+44 161 496 012310 (3 + 7)
Most landlines01 + three digits01632 960123+44 1632 96012310 (4 + 6)
Mobile071 to 075, 077 to 07907700 900123+44 7700 90012310
UK-wide030306 999 0123+44 306 999 012310
Freephone0800 or 08080808 157 0123+44 808 157 012310 (some 0800 numbers have 9)
Premium rate090909 879 0123+44 909 879 012310
UK phone number formats at a glance. The examples are in Ofcom's drama ranges and are safe to copy.
Five UK phone numbers split into their parts in national and international format: 020 7946 0958 becomes +44 20 7946 0958, 0161 496 0123 becomes +44 161 496 0123, 01632 960123 becomes +44 1632 960123, the mobile 07700 900123 becomes +44 7700 900123 and the freephone 0808 157 0123 becomes +44 808 157 0123. In each case the leading 0 is replaced by +44.
The leading 0 is used only inside the UK; +44 replaces it from abroad. Formats from Ofcom's numbering plan, example numbers from Ofcom's drama ranges. Drawn by Fakenamely, 2026-11-11.

How many digits is a UK phone number?

Ten after the 0, so eleven as you dial it at home. Ofcom's plan sets the rule in one sentence. Numbers 'shall comprise ten (10) digits (excluding the national prefix code ‘0’)' unless the plan says otherwise [plan]. The leading 0 is that national prefix. It tells the network you are dialling a full national number, and it is not part of the number itself.

Guides on this subject disagree about the length, so we counted. Ofcom's files list 344,115 blocks of numbers. We added up the numbers in every block that has been allocated to a provider. The total is 1,150,494,711 numbers, and 99.94% of them have ten digits after the 0.

Digits after the 0Numbers allocatedShareWhere they are
101,149,776,30099.94%Every mobile, almost every landline, 03, 08 and 09 numbers
9708,4000.06%325,000 landline numbers in 41 area codes; 383,400 older 0800 numbers
711under 0.001%0800 1111 and ten numbers on 0845 46 4x
Allocated UK numbers by length, counted from Ofcom's files of 14 July 2026. One block of 10,000 numbers in 01768 is marked as mixed length and is left out.

The nine-digit landlines sit in 40 four-digit area codes and one five-digit code. Bolton (01204), Blackburn (01254) and Camberley (01276) are among them. These numbers have a five-digit local part instead of six. The nine-digit freephone numbers are 0800 followed by six digits. The plan lists them separately from the other 080 numbers, which have the full ten digits [plan].

The seven-digit numbers are the rarest in the country. One is 0800 1111, which is Childline's number [childline]. In Ofcom's file it is a block of exactly one number, allocated to BT. A form that insists on eleven digits will reject it. So will a form that insists on ten digits after +44.

Bar chart of the 1.15 billion UK phone numbers allocated to providers, by range: 07 mobile 552 million (48.0%), 01 geographic 321 million (27.9%), 02 geographic 62.6 million (5.4%), 090 and 091 premium rate 62.5 million, 070 personal numbers 43.2 million, 03 UK-wide 34.1 million, 084 numbers 20.3 million, 087 numbers 18.4 million, 098 15.1 million, 076 pagers 11.7 million and 080 freephone 6.4 million. 99.94% have ten digits after the 0, 708,400 have nine and 11 have seven.
Almost half of all allocated UK numbers are mobile numbers. Source: Ofcom numbering data, files dated 14 July 2026; counts by Fakenamely, 2026-11-11.

Writing a UK number with +44: drop the 0, skip the brackets

The international format starts with a plus sign, then the country code 44, then the number without its leading 0. The plus sign stands for whatever digits your own country uses to call abroad. ITU-T E.123, the standard for writing phone numbers, says it 'serves to remind the subscriber to dial the international prefix which differs from country to country' [e123]. On a mobile you can type the plus sign itself, and it works from anywhere.

The most common mistake is to keep the 0 in brackets, as in +44 (0)20 7946 0958. E.123 rules this out. Brackets mark digits that 'are not always dialled', and the standard adds that they 'should not be used in an international number' [e123]. A person may work it out. Software that dials the digits as written keeps the 0, and the call can fail.

British government style guides disagree with each other on this point. The Office for National Statistics tells its writers: 'Do not include the zero you have removed in brackets; this is particularly important for accessibility as it can affect how some assistive technologies read the number' [ons]. The GOV.UK style guide still shows +44 (0)29 2018 0542 as its example [govuk]. The ONS version matches the standard. Use it.

SourceWhat it says0 in brackets?
ITU-T E.123 (the standard)'The ( ) should not be used in an international number.'No
ONS Service Manual'+44 3456 013034 not +44 (0)345 601 3034 or 0044 3456 013034'No
WhatsApp Help Center'Make sure to remove any leading 0s or special calling codes.'No
GOV.UK style guideExample given: '+44 (0)29 2018 0542'Yes
How four published sources write a UK number in international format. Quotations are verbatim.

There is a second form with no spaces at all, called E.164 after the ITU recommendation that defines it. It is the plus sign and the digits, nothing else: +442079460958. Databases, SMS services and WhatsApp use this form [whatsapp]. E.164 allows at most 15 digits [e164]. A UK number uses 12, or 11 for the nine-digit ones.

FormLondon landlineMobileUse it for
National020 7946 095807700 900123Letters, signs and websites read only in the UK
International+44 20 7946 0958+44 7700 900123Email signatures, websites with readers abroad
E.164+442079460958+447700900123Databases, APIs, SMS services, WhatsApp
Linktel:+442079460958tel:+447700900123The href of a click-to-call link
One number, four ways to write it. Use the national form for UK readers, the international form for everyone else, and E.164 for software.

The last row matters on web pages. The standard for phone links, RFC 3966, identifies a global number by its leading plus sign. It also says links 'MUST NOT use spaces in visual separators' [rfc3966]. So show the readable form and link the compact one. To call a UK number from a landline abroad, replace the plus sign with your local international prefix. That is 00 in most of Europe, which the ITU recommends [e164], and 011 in the United States and Canada.

UK area codes: two, three, four or five digits

Landline numbers start with 01 or 02, and the area code is the part that names the place. It can have two, three, four or five digits after the 0. The local number takes up the rest of the ten digits. So a short code means a long local number. That is why the space goes in a different place for London than for a small town.

Ofcom's numbering plan lists 610 area codes [plan]. Its allocation file shows 611, because Brampton in Cumbria appears twice, as 01697 and as the five-digit 016977. We counted how many codes have each length and how many numbers each group holds.

Digits in the codeArea codesWritten asNumbers allocatedShare of landline numbers
25020 7946 095862,556,00016.3%
3120161 496 012350,960,00013.3%
458201632 960123269,432,00070.3%
512015396 xxxxx551,3000.1%
UK geographic area codes by length. Counted from Ofcom's 01 and 02 file of 14 July 2026; a code is counted when at least one of its blocks is allocated.
UK area codes by length, from Ofcom's allocation file: 5 two-digit codes written like 020 7946 0958, holding 62.6 million numbers; 12 three-digit codes written like 0161 496 0123, holding 51.0 million; 582 four-digit codes written like 01632 960123, holding 269 million; and 12 five-digit codes written like 015396 xxxxx, holding 0.6 million.
The longer the area code, the shorter the local number. Source: Ofcom numbering data, files dated 14 July 2026; counts by Fakenamely, 2026-11-11.

The two-digit and three-digit codes belong to the biggest cities. Together these 17 codes hold 30% of all landline numbers. London alone has 31.4 million allocated numbers, more than any other code. Northern Ireland shares one code, 028, across 37 local exchange areas.

Area codePlaceFormatNumbers allocated
020London020 xxxx xxxx31,370,000
028Northern Ireland028 xxxx xxxx21,596,000
0161Manchester0161 xxx xxxx7,070,000
0121Birmingham0121 xxx xxxx6,020,000
0191Tyneside, Durham, Sunderland0191 xxx xxxx5,860,000
0151Liverpool0151 xxx xxxx4,730,000
0141Glasgow0141 xxx xxxx4,620,000
023Southampton, Portsmouth023 xxxx xxxx4,570,000
0113Leeds0113 xxx xxxx4,230,000
0131Edinburgh0131 xxx xxxx3,560,000
0117Bristol0117 xxx xxxx3,410,000
0115Nottingham0115 xxx xxxx3,090,000
0118Reading0118 xxx xxxx2,940,000
0114Sheffield0114 xxx xxxx2,750,000
0116Leicester0116 xxx xxxx2,680,000
029Cardiff029 xxxx xxxx2,660,000
024Coventry024 xxxx xxxx2,360,000
The 17 UK area codes with two or three digits, with the numbers allocated under each. Place names as Ofcom's area code tool gives them.

The 12 five-digit codes are small exchanges in and around Cumbria. They include Hawkshead (015394), Sedbergh (015396) and Keswick (017687). All 611 codes, with place names and formats, are in the area code file. The names come from Ofcom's area code tool [areatool].

Is 0207 a London area code?

No, and this is the most common UK formatting error. London has one area code, 020, and eight-digit local numbers. Ofcom's account is that in 2000 'London was given a single area code once again – 020 – and the inner and outer London divide was removed'. Five years later its research 'uncovered a widespread misconception among Londoners that the city still had two area codes – 0207 and 0208'. Only 13% of people named 020 without prompting [london].

The 7 and the 8 are the first digit of the local number. So are 3 and 4, which Ofcom added when the older numbers ran short. In the file, each of the four ranges is a block of ten million numbers under the same code. Write the number as 020 7946 0958. Writing 0207 946 0958 still connects when dialled in full, but it puts the break in the wrong place.

Numbers startingOften miswritten asNumbers allocatedOf 10 million
020 302039,240,00092%
020 402041,530,00015%
020 702079,840,00098%
020 802089,700,00097%
London's 020 numbers by the first digit of the local number. All four are the same area code. Counted from Ofcom's file of 14 July 2026.

UK mobile numbers: 07, but not all of 07

A UK mobile number is 07 plus nine digits. It is most often written with a space after the fifth digit: 07700 900123. In international format it is +44 7700 900123. Mobile numbers have no area code, so the number says nothing about where the phone is.

The plan is specific about which 07 numbers are mobile. The ranges 071 to 075 and 077 to 079 are 'Mobile Services'. 070 is 'Personal Numbers' and 076 is 'Radiopaging Service', apart from 07624, which serves the Isle of Man [plan]. The difference costs money. Ofcom warns that 070 numbers 'are different from mobile numbers, and calls to them can be more expensive' [costs]. A form that treats every 07 number as a mobile will accept them.

RangeDesignation in Ofcom's planNumbers allocatedShare of the range
070Personal Numbers (not mobile)43,240,00043%
071Mobile Services2,000,0002%
072Mobile Services00%
073Mobile Services71,200,00071%
074Mobile Services96,700,00097%
075Mobile Services94,900,00095%
076Radiopaging Service (07624: Isle of Man mobile)12,520,00013%
077Mobile Services98,000,00098%
078Mobile Services97,800,00098%
079Mobile Services90,900,00091%
The 07 ranges and how full they are. Each range holds 100 million numbers. Counted from Ofcom's 07 file of 14 July 2026.

In total, 552,320,000 numbers are allocated in the mobile ranges, held by 74 providers. Four companies hold 94% of them. The file shows who first received each block. It does not show the network a number is on today, because customers can keep their number when they switch.

Provider in Ofcom's fileBrandNumbers allocatedShare
Telefonica UK LimitedO2156,400,00028.3%
EE Limited (TM) and EE Limited (Orange)EE151,500,00027.4%
Vodafone LimitedVodafone115,600,00020.9%
Hutchison 3G UK LtdThree94,000,00017.0%
Lycamobile (UK) LimitedLycamobile8,100,0001.5%
68 other entries26,720,0004.8%
Who holds the UK's mobile number ranges. Provider names as written in Ofcom's file; EE's two entries are the former T-Mobile and Orange ranges.

03, 08 and 09 numbers

Numbers that start with 03, 08 or 09 are not tied to a place. They follow the same ten-digit rule, and the first digits tell you what the call costs. The table uses Ofcom's own descriptions [costs].

Starts withWhat it isWhat Ofcom says about the costNumbers allocated
03UK-wide numbers'Calls cost no more than calls to geographic numbers (01 or 02).'34,079,000
0800, 0808Freephone'Calls are free of charge from all consumer landlines and mobile phones.'6,396,401
084Service numbersAn access charge plus a service charge 'between 0p and 7p per minute'20,316,010
087Service numbersAn access charge plus a service charge 'between 0p and 13p per minute'18,424,000
09Premium rateAn access charge plus a service charge that 'can range from 1p to £3.60 per minute'77,630,000
Non-geographic UK number ranges, with Ofcom's description of each and the numbers allocated in its files of 14 July 2026.

Two details catch out form builders. First, no UK number starts with 04 or 06, because the plan makes none available [plan]. Second, 0500 numbers no longer exist. Ofcom withdrew the range on 5 June 2017 [costs]. Test data that still contains them is out of date.

UK phone numbers for testing: the ranges Ofcom keeps out of service

If you make up a UK number, it probably belongs to somebody. More than half a billion mobile numbers are allocated, and five of the mobile ranges are over 90% full. A test that sends a text to an invented 07 number is likely to reach a real phone. The safe choice is a number that cannot be given to anyone.

Ofcom publishes such numbers. It keeps a list of ranges 'recommended for TV and radio drama purposes', with 1,000 numbers in each [drama]. They exist so that viewers who dial a number from a programme do not reach a real customer. Ofcom explains that these numbers 'cannot be allocated to communications providers for their customers because of the potential influx of calls'. It adds that they 'will not be allocated to communications providers in the foreseeable future'.

That is the property a test number needs. Ofcom wrote the page for broadcasters and does not call them test numbers. They work for testing for the same reason they work on television. The GOV.UK style guide uses them for its own examples, such as 020 7946 0457 and 07700 900 265 [govuk].

Area or typeNumbersStatus in Ofcom's file
Mobile07700 900000 to 07700 900999Protected, no provider
No area01632 960000 to 01632 960999Protected, no provider
London020 7946 0000 to 020 7946 0999Protected, no provider
Birmingham0121 496 0000 to 0121 496 0999Protected, no provider
Manchester0161 496 0000 to 0161 496 0999Protected, no provider
Leeds0113 496 0000 to 0113 496 0999Protected, no provider
Sheffield0114 496 0000 to 0114 496 0999Protected, no provider
Nottingham0115 496 0000 to 0115 496 0999Protected, no provider
Leicester0116 496 0000 to 0116 496 0999Protected, no provider
Bristol0117 496 0000 to 0117 496 0999Protected, no provider
Reading0118 496 0000 to 0118 496 0999Protected, no provider
Edinburgh0131 496 0000 to 0131 496 0999Protected, no provider
Glasgow0141 496 0000 to 0141 496 0999Protected, no provider
Liverpool0151 496 0000 to 0151 496 0999Protected, no provider
Tyneside, Durham, Sunderland0191 498 0000 to 0191 498 0999Protected, no provider
Northern Ireland028 9649 6000 to 028 9649 6999Protected, no provider
Cardiff029 2018 0000 to 029 2018 0999Protected, no provider
UK-wide0306 999 0000 to 0306 999 0999Protected, no provider
Freephone0808 157 0000 to 0808 157 0999Not listed (not allocated)
Premium rate0909 879 0000 to 0909 879 0999Not listed (not allocated)
All 20 ranges Ofcom recommends for drama, with the status of each in Ofcom's allocation files of 14 July 2026. Every range holds 1,000 numbers.

We checked the list against the allocation files instead of taking it on trust. The blocks that contain 18 of the 20 ranges are marked Protected and have no provider. The freephone and premium rate ranges are missing from the 08 and 09 files, which list no protected blocks at all. The blocks next to them are allocated, and these two are skipped. The result is in the drama ranges file.

Two of the ranges answer questions people search for. The 01632 code is not a place. Ofcom lists it as 'No area' and suggests it 'for any geographic area code not listed' [drama]. And nobody owns 07700 900123. If a call or text shows that number, no provider assigned it to the caller.

We tested Faker's UK numbers against Ofcom's files

Faker is a popular open-source library for making test data, and it has a UK setting, en_GB. We generated 10,000 UK phone numbers with it and looked up each one in Ofcom's block list. None fell in a drama range. About one in five, 22.1%, fell in a block allocated to a real provider. Another 33.7% started with digits that are in no Ofcom file at all, such as 0110 and 027. Those are not UK area codes.

Where the number fallsFaker en_GBFakenamely UK generator
In a block allocated to a provider22.1%0%
In a block Ofcom marks Protected38.6%0%
In a free or quarantined block5.6%0%
Area code or range not in Ofcom's files33.7%0%
In an Ofcom drama range0%100%
10,000 numbers from Faker 9.9.0 (en_GB, phone.number(), seed 20261111) and 2,000 from our UK generator, each looked up in Ofcom's block list of 14 July 2026.
Two stacked bars comparing generated UK phone numbers against Ofcom's block list. Of 10,000 numbers from Faker 9.9.0 with the en_GB locale, 22.1% fall in a block allocated to a real provider, 38.6% in a protected block, 5.6% in a free or quarantined block and 33.7% use an area code or range that is not in Ofcom's files. Of 2,000 numbers from the Fakenamely UK generator, 100% fall inside an Ofcom drama range.
A number in an allocated block may have a subscriber. A number in a drama range cannot. Source: Ofcom numbering data and drama ranges; measured by Fakenamely, 2026-11-11.

Our own UK generator used Faker's formats until this check, so it had the same fault. We changed it on the day we ran the test. Every UK phone number it produces now comes from a drama range. Half are mobiles on 07700 900. The rest are landlines that match the address: a London profile gets 020 7946 0xxx and a Manchester profile gets 0161 496 0xxx. A city with no range of its own gets 01632 960xxx. In a re-run of 2,000 profiles, all 2,000 numbers were in a drama range and all 995 landlines matched their city.

You can try it on the United Kingdom page, or get London addresses with London numbers from the London address generator. The same rule already applied to US numbers, which use the reserved 555-0100 to 555-0199 block on the phone number generator. One limit applies to every reserved range. The numbers are safe because nothing answers them. To test that a text really arrives, use a number you own or your SMS provider's test numbers.

Checking a UK number in code, and keeping the 0 in Excel

A pattern can check the shape of a UK number. It cannot tell you the number exists. Strip the spaces first, then test the digits. This pattern accepts the national form: ^0[1235789]\d{8,9}$. For the international form, use ^\+44[1235789]\d{8,9}$. Both allow nine or ten digits after the prefix, and both reject numbers starting 04 or 06. Both also reject 0800 1111, so add it by hand if a children's helpline might appear in your data.

For anything more exact, use Google's libphonenumber library rather than a longer pattern. Even that has a limit, which its authors state plainly: 'Do not rely on libphonenumber to determine whether numbers are currently assigned to a specific user and reachable' [libphonenumber]. Only a call or a text can show that. Our post on phone numbers that break software lists the other traps, with test cases.

Spreadsheets cause the last common problem. Excel reads 07700 900123 as a number and drops the 0. Microsoft says so directly: 'Excel automatically removes leading zeros' [excel]. The fix is to format the column as Text before the numbers go in. Select the range, press Ctrl+1 and choose Text on the Number tab. You can also type an apostrophe before a single number. Microsoft adds a warning: 'This will not change numbers that have already been entered.' If the zeros are already gone, the custom format 00000000000, eleven zeros, displays them again for ten-digit numbers.

How we counted, and what the numbers leave out

Ofcom publishes its numbering data for phone companies and updates it most Wednesdays [data]. Each row is a block of numbers: its leading digits, a status, the provider, and the number length. A block of six digits in a ten-digit range holds 10,000 numbers. We added up the numbers in every block marked Allocated. The script, the files it writes and the rules it applies are all published: the script, numbers by range, area codes and mobile providers.

Three limits apply. Allocated means a provider holds the block, not that every number in it is in use, so 1.15 billion is the supply of numbers, not a count of phones. The provider shares show who first received each range, not who serves the customers now. And the files are dated 14 July 2026. Ofcom's website refuses scripted downloads, so we used the latest copy saved by the Internet Archive. To count a newer edition, download the ZIP in a browser and pass it to the script.

References & sources

  1. The National Telephone Numbering Plan, version with effect from 22 April 2025 (Part A1, paragraph B2.1, Appendix A) — Ofcom
  2. Download numbering data: telephone numbers, number block allocations and codes — Ofcom
  3. Telephone numbers for use in TV and radio drama programmes (last updated 11 May 2023) — Ofcom
  4. Telephone area codes: find UK dialling codes for numbers starting 01 and 02 — Ofcom
  5. Call costs guide (last updated 31 January 2025) — Ofcom
  6. London calling: Ofcom to release new '(020) 4' phone numbers (media release, 30 August 2019; archived copy) — Ofcom
  7. Recommendation ITU-T E.123 (02/2001): Notation for national and international telephone numbers, e-mail addresses and web addresses, clauses 7.1 and 7.2 — International Telecommunication Union
  8. Recommendation ITU-T E.164 (02/2026): The international public telecommunication numbering plan, clauses 6.1 and 15 — International Telecommunication Union
  9. Service manual, content style guide: Writing numbers, 'Telephone numbers' — Office for National Statistics
  10. GOV.UK A to Z style guide, entry 'telephone numbers' — Government Digital Service
  11. About international phone number format — WhatsApp Help Center
  12. RFC 3966: The tel URI for Telephone Numbers, sections 5.1.1 and 5.1.4 — Internet Engineering Task Force
  13. Contacting Childline — Childline (NSPCC)
  14. libphonenumber FAQ: What does it mean for a phone number to be valid? — Google
  15. Keeping leading zeros and large numbers — Microsoft Support

Frequently asked questions

How many digits is a UK phone number?

Eleven with the leading 0, ten without it. Ofcom's numbering plan says numbers 'shall comprise ten (10) digits (excluding the national prefix code ‘0’)' unless stated otherwise. In Ofcom's allocation files, 99.94% of the 1.15 billion allocated numbers have ten digits after the 0. The exceptions have nine: some landlines in 41 area codes, such as 01204 Bolton, and older 0800 numbers with six digits after the 0800. Two ranges have seven, including Childline's 0800 1111.

How do I write a UK phone number with the +44 country code?

Remove the leading 0 and put +44 in its place. 020 7946 0958 becomes +44 20 7946 0958, and the mobile 07700 900123 becomes +44 7700 900123. Do not keep the 0 in brackets. The international standard, ITU-T E.123, says brackets 'should not be used in an international number'. For software and WhatsApp, use the same digits with no spaces: +442079460958.

What is the format of a UK mobile number?

07 followed by nine more digits, usually written as 07700 900123. In international format it is +44 7700 900123. Ofcom's numbering plan designates 071 to 075 and 077 to 079 as Mobile Services. All of them have ten digits after the 0.

Do all UK mobile numbers start with 07?

Yes, but not every 07 number is a mobile. 070 is for personal numbers, which Ofcom says 'are different from mobile numbers, and calls to them can be more expensive'. 076 is for pagers, except 07624, which is the Isle of Man's mobile range. In Ofcom's files 552 million numbers are allocated in the mobile ranges and 43 million in 070.

Is 0207 a London area code?

No. London's area code is 020 and the local number has eight digits. A London number is written 020 7946 0958, not 0207 946 0958. Ofcom says that in 2000 'London was given a single area code once again – 020'. Its research later found only 13% of people named 020 correctly. Local numbers now start with 3, 4, 7 or 8, so 0203, 0204, 0207 and 0208 are all the same code.

What UK phone number can I use for testing?

Use one of the ranges Ofcom recommends for TV and radio drama. For a mobile, 07700 900000 to 07700 900999. For a landline with no location, 01632 960000 to 01632 960999. For London, 020 7946 0000 to 020 7946 0999. Ofcom says these numbers 'will not be allocated to communications providers in the foreseeable future', so they cannot ring a real customer. There are 20 such ranges, with 1,000 numbers in each.

Where is the 01632 area code?

Nowhere. 01632 is not assigned to any place. Ofcom lists it under 'No area' and suggests 'using numbers in the 01632 range (no area code) for any geographic area code not listed' when a programme needs a made-up number. In Ofcom's allocation file the whole 01632 code is marked Protected, with no provider.

How do I stop Excel removing the 0 from a UK phone number?

Format the column as Text before you type or paste the numbers. Microsoft's guidance is to select the range, press Ctrl+1 and choose Text on the Number tab, or to type an apostrophe before the number. It warns that this 'will not change numbers that have already been entered'. If the zeros are already gone, the custom format 00000000000 shows them again for ten-digit numbers.

Update history

  1. Published, with counts from Ofcom's numbering files, the 20 drama ranges checked against them, and a test of 10,000 Faker numbers. Our UK generator now draws every phone number from the drama ranges.

More on phone numbers, texting and numbering plans

Put this to work