AddrKit
100% Browser-Side · 13 Countries & Regions

🇬🇧 United Kingdom

Royal Mail outward/inward postcode patterns paired with Ofcom reserved drama test numbers.

Count
Open City on Maps
Generated locally · never sent to a server GB · Unified 20% national VAT

Recent Local History

Stored only in this browser · auto-expires after 24h

Recently generated records appear here so you can recall them anytime.

🇬🇧 Developer Format Reference

UK Postcodes & Ofcom Reserved Test Numbers

Postal Code Regex
/^[A-Z]{1,2}\d[A-Z\d]?\s?\d[A-Z]{2}$/
Example Postal Code
EC1A 4JQ
Test Phone Pattern
+44 20 7946 0XXX

UK addresses rely on Royal Mail postcodes split into an outward code (e.g., EC1A, M1) and an inward code (e.g., 4JQ). The UK applies a unified national VAT rate and has no tax-free states or regions.

Generated phone numbers use Ofcom’s officially reserved drama/testing blocks (020 7946 0xxx, 0161 496 0xxx) so automated tests never dial real numbers.

  • Normalize uppercase and spacing on UK postcodes before regex validation.
  • Keep County optional—Royal Mail does not require postal counties.

Sample JSON Payload

{
  "region": "uk",
  "countryCode": "GB",
  "street": "1420 Bishopsgate",
  "city": "London",
  "state": "Greater London",
  "stateCode": "LDN",
  "postalCode": "EC1A 4JQ",
  "phone": "+44 20 7946 0XXX",
  "email": "alex.miller42@example.com"
}

Frequently Asked Questions

Are there tax-free regions in the UK?

No. UK VAT is administered nationally; there are no state-level tax-free zones like in the U.S.

Copied