1. Clean the input
Remove spaces, parentheses and hyphens while preserving the digits and country context.
+44 test data
Generate United Kingdom phone number examples for development, QA, input masks and documentation. Results are not live subscriber lines.
| Calling code | +44 |
|---|---|
| National pattern | 07xxx xxxxxx |
| E.164 example | +447700900123 |
| Typical length | 10 national digits after +44 |
Remove spaces, parentheses and hyphens while preserving the digits and country context.
Remove the leading domestic 0 before adding +44.
Use +447700900123 for machine storage and format it for display at the edge of your application.
| Case | Fixture | Expected test behavior |
|---|---|---|
| National display | 07xxx xxxxxx | Accept punctuation, then normalize. |
| Valid E.164 structure | +447700900123 | Accept for format testing; do not infer reachability. |
| Invalid length | +44770090012 | Reject before storing or sending to an API. |
Manually reviewed country notes
United Kingdom mobile display begins with a domestic 0, but the international form removes that trunk digit and places +44 before the remaining ten digits. This page uses Ofcom's 07700 900xxx drama range rather than an ordinary subscriber-shaped mobile value.
Ofcom documents 07700 900000 to 07700 900999 for television and radio drama. The range is appropriate for examples, but the generator still provides test data only and does not receive calls, SMS or verification codes.
Remove one domestic trunk zero before adding +44.
Do not store +44 and 07700 together.
Keep the reserved 07700 900xxx block for screenshots and automated fixtures.
These cases document the fixture contract used by GetPhoneNum. They test parsing and normalization only; they never prove that a subscriber exists.
| Input | Expected result | Reason |
|---|---|---|
07700 900123 | +447700900123 | Remove the domestic trunk zero |
+44 7700 900123 | +447700900123 | Normalize an international input |
0044 7700 900123 | +447700900123 | Convert an access prefix |
+44 07700 900123 | Reject or repair | Country code and trunk zero are duplicated |
07700 90012 | Reject | One national digit short |
Reviewed by GetPhoneNum Editorial Team · Last reviewed August 11, 2026
Test empty input, pasted punctuation, a missing country code, one digit too few and one digit too many. Avoid using a single global regex for every country.
Test a JavaScript regexStore a normalized E.164 value and keep display formatting separate. Try the E.164 formatter or structural validator.
Numbering plans change. Use a maintained numbering library and treat carrier, line type and reachability as separate checks.
Browse calling-code referencesRelated generators and tools
They are generated test fixtures, not verified subscriber lines. Even a structurally valid value may coincide with an assigned number unless it comes from an officially reserved fictional range.
+44 is the international country calling code for United Kingdom. In E.164 format it appears after the leading plus sign and before the national number.
No capability is provided or verified. Do not call, text or use generated values for account verification.
Numbering rules can change. Check the Ofcom numbering guidance before enforcing production rules.
Create up to 100 local fixtures in the browser, download the open dataset, or use the API design reference to define a deterministic contract for automated test suites.