Free tool · GB + XI

UK VAT checker

Check whether a UK VAT registration number is valid and currently registered. GB numbers are checked live through a commercial VAT data service for Great Britain and come back with the registered business name and address. Northern Ireland numbers with the XI prefix are checked in the EU's VIES.

Include the country prefix. EU numbers are checked against VIES in real time, UK numbers with a separate live check.

What the UK VAT checker checks

  1. Prefix: GB for a UK VAT number, XI for a Northern Ireland number used for trade in goods with the EU.
  2. Format: 9 digits, 12 digits for a branch, or GD/HA plus 3 digits for government and health bodies. The tool checks the format before it asks the register.
  3. Registration: a live check through a commercial VAT data service for GB numbers, in VIES for XI numbers. A registered number comes back with the business name and address on record.

The tool checks the format of GB numbers, not their check digits; the register is the final word on whether a number exists.

When to check a UK VAT number

  • Before you invoice without UK VAT: when you treat a UK customer as a business, for example for services outside the scope of your VAT, confirm the number first and keep the result with its date and time.
  • Supplier onboarding: compare the registered name and address with the invoice before you pay, a common check against invoice fraud.
  • Stored numbers: registrations are cancelled when businesses close or deregister. Check stored numbers again before large orders.

EU VAT numbers? Use the VAT number checker, which takes all EU, XI and GB numbers, or the bulk VAT validator for up to 50 at once. The UK VAT number format page has the regex.

Check UK VAT numbers by API

curl -G https://api.vatcheckapi.com/v2/check \
    -d vat_number=GB980780684 \
    -H "apikey: YOUR-API-KEY"

The response has format_valid, checksum_valid and registration_info with is_registered, name, address and checked_at. consultation_number is always null for GB numbers. See the documentation for errors and costs.

Frequently asked questions

How do I check a UK VAT number?

Enter it with the GB prefix and the 9 digits, for example GB980780684, and click Check VAT number. Spaces are fine. The tool checks the format, then checks live whether the number is registered and returns the name and address on record.

What does a UK VAT number look like?

GB followed by 9 digits for most businesses. Some businesses registered with branch codes have 12 digits: the 9-digit number plus a 3-digit branch code. Government departments use GD and health authorities HA, each followed by 3 digits.

Why is a UK VAT number not found in VIES?

Since Brexit, UK VAT numbers are no longer part of the EU's VIES system, so a VIES search for a GB number fails. This tool checks GB numbers through a commercial VAT data service instead. Only Northern Ireland businesses trading goods with the EU use VIES, with the XI prefix.

What is the difference between GB and XI?

Both use the same 9-digit VAT registration number. GB is the UK VAT number, checked through a commercial VAT data service. XI is the prefix Northern Ireland businesses use for trade in goods with the EU, and XI numbers are checked in VIES.

Do I get a consultation number for a UK VAT number?

No. HMRC's own Check a UK VAT number service on GOV.UK gives a consultation number when you enter your own UK VAT number. vatcheckapi does not: neither this tool nor the API returns a consultation number for GB numbers.

The check did not go through. What now?

The UK register can be slow or briefly unavailable. Try again in a minute. The API answers such cases with a 503, which is not counted against your quota.

Can I check UK VAT numbers automatically?

Yes. The vatcheckapi API checks GB, XI and all EU VAT numbers with the same request and returns JSON. The free plan includes 150 checks a month.

VAT validation API

Validate VAT numbers in your app

vatcheckapi checks the format and checksum of EU and UK VAT numbers and confirms the registration live (VIES for EU numbers), with company name and address where the country provides them.

/v2/check documentation VAT number API All documentation

150 free validations every month. No credit card required.

GET https://api.vatcheckapi.com/v2/check?vat_number=LU26375245

{
  "country_code": "LU",
  "vat_number": "26375245",
  "format_valid": true,
  "checksum_valid": true,
  "registration_info": {
    "is_registered": true,
    "name": "AMAZON EUROPE CORE S.A R.L.",
    "address": "38, AVENUE JOHN F. KENNEDY\nL-1855  LUXEMBOURG",
    "address_parts": null,
    "checked_at": "2026-10-16T09:12:44.000000Z"
  },
  "registration_info_history": []
}

Free VAT, EORI and IBAN tools

Start using our VAT validation API for free today

Get 150 validations / month for free