UK Phone Number Validator

Instantly check if a UK phone number is valid, identify its service type and get the correct formatted versions.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

UK phone numbers follow a strict national numbering plan maintained by Ofcom, the UK’s communications regulator. Each number range has a designated service class, a fixed digit length and specific rules about how it may be used and charged. This validator checks any UK phone number against that plan entirely in your browser — no number you enter is ever sent to a server.

How the validation works

The tool implements the Ofcom National Telephone Numbering Plan (last updated 2024). When you enter a number, it goes through four stages.

Stage 1 — Normalisation. Spaces, dashes, dots and parentheses are removed. International prefixes (+44 or 0044) are converted to a national leading zero so that +44 7700 900123 and 07700 900123 are treated as the same input.

Stage 2 — Character and length checks. The normalised string must contain only digits and start with 0. The total digit count must be between 10 and 11 (a small legacy range, 0500 freephone, uses 10; almost all current numbers use 11).

Stage 3 — Prefix matching. The number’s leading digits are matched against the Ofcom allocation table, searching from the longest prefix to the shortest to find the most specific rule. Each entry in the table carries a service class (Mobile, Geographic, Non-geographic, Freephone, Revenue-sharing, Premium), the expected total digit count and a flag for whether the range is dialable from UK mobiles without extra charges.

Stage 4 — Result. If the prefix is allocated and the length matches, the number is valid. The tool then formats it in the standard national style (e.g. 07xxx xxxxxx for mobiles, 01xxx xxxxxx for geographic) and in E.164 format (+44…) for copying.

Number range quick reference

PrefixServiceMobile dialable
07MobileYes
020, 023, 024, 028, 029Geographic (city codes)Yes
01Geographic (area codes)Yes
03Non-geographic, local rateYes
0800, 0808FreephoneYes (free since 2015)
0843–0845Revenue-sharingYes (extra charge may apply)
0870–0873Revenue-sharingYes (extra charge may apply)
09Premium rateOften restricted

Worked example

Suppose you receive the number +44 (0)20 7946 0958 on a form submission.

  1. After normalisation: 02079460958 — 11 digits, starts with 020.
  2. The prefix 020 matches the London geographic range; expected length is 11 digits.
  3. Length check: 11 = 11. Pass.
  4. Formatted national output: 020 7946 0958. E.164 output: +442079460958.

The number range 020 7946 is actually Ofcom’s reserved drama/roleplay range, so it is structurally valid but never belongs to a real subscriber — useful for testing.

A second example: 0845 123 4567. This normalises to 08451234567, matches the 0845 lo-call revenue-sharing range, has the correct length of 11 digits, and is therefore structurally valid. However it carries a note that extra charges may apply from mobiles, which the validator surfaces in the result.

All processing happens locally. Your number never leaves the page.

Ad placeholder (rectangle)