United Kingdom VAT Number Format (GB123456789)
Value Added Tax (VAT) number structure, regex & verified examples
Everything you need to know about Value Added Tax (VAT) numbers in the United Kingdom โ they follow the pattern GB + 9 digits, 12 digits, or GD/HA + 3 digits (e.g. GB123456789), and can be verified against VIES. For the rates themselves, see United Kingdom VAT rates.
VAT Number Format
Structure
GB + 9 digits, 12 digits, or GD/HA + 3 digitsExample format
GB123456789Regex
^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$VAT numbers are not case-sensitive โ lowercase input is automatically normalised.
More on the United Kingdom
United Kingdom VAT rates via API
Get United Kingdom VAT rates via API โ free, no key
No API key requiredcurl "https://api.vatnode.dev/v1/rates/GB"
{
"countryCode": "GB",
"countryName": "United Kingdom",
"vatName": "Value Added Tax",
"vatAbbr": "VAT",
"standardRate": 20,
"reducedRates": [
5
],
"superReducedRate": null,
"parkingRate": null,
"vatNumberFormat": "GB + 9 digits, 12 digits, or GD/HA + 3 digits",
"vatNumberPattern": "^GB(\\d{9}|\\d{12}|GD\\d{3}|HA\\d{3})$",
"updatedAt": "2026-08-13"
}Get United Kingdom VAT rates via package โ offline, no HTTP
eu-vat-rates-data# npm install eu-vat-rates-data
import { getRate } from 'eu-vat-rates-data'
const rate = getRate('GB')
console.log(rate.standard) // GB standard VAT rate{
"country": "United Kingdom",
"currency": "GBP",
"eu_member": false,
"vat_name": "Value Added Tax",
"vat_abbr": "VAT",
"standard": 20,
"reduced": [
5
],
"super_reduced": null,
"parking": null,
"format": "GB + 9 digits, 12 digits, or GD/HA + 3 digits",
"pattern": "^GB(\\d{9}|\\d{12}|GD\\d{3}|HA\\d{3})$"
}Frequently Asked Questions
What is the VAT number format in the United Kingdom?โพ
VAT numbers in the United Kingdom follow the format: GB + 9 digits, 12 digits, or GD/HA + 3 digits. Example: GB123456789. VAT numbers are not case-sensitive โ lowercase input is automatically normalised.
What is the VAT number regex pattern in the United Kingdom?โพ
Use this regular expression to validate VAT numbers in the United Kingdom VAT number format locally:
^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$Test against the uppercase number. Format validation catches typos locally.
What does VAT stand for in the United Kingdom?โพ
VAT stands for Value Added Tax โ the British name for Value Added Tax (VAT). It appears on British invoices and tax documents.