Five numbers from supplier paperwork
These made-up numbers are written the way they turn up on invoices and websites: with and without GB, with spaces, and one with a three-digit branch suffix. The fourth differs from the third by one digit at the end.
That single changed digit is enough to fail the check, which is exactly the kind of slip you want to catch before you add a supplier or quote a customer's number on an invoice. The XI number is read as a Northern Ireland registration and tested on the digits after the prefix.
GB 123 4567 27 gb 765 4321 68 765432169 GB 314 1592 28 004 XI 314 1592 28
GB 123 4567 27 Passes the check Standard GB 765 4321 68 Passes the check Standard GB 765 4321 69 Check digits do not match Standard GB 314 1592 28 004 Passes the check Standard with branch code XI 314 1592 28 Passes the check Northern Ireland (XI prefix)
Checking numbers
Paste the numbers
Put one VAT number on each line. Upper or lower case, spaces, dots and hyphens are all accepted, and a leading GB is optional.
Read the result column
Each row shows Passes the check or the reason it failed: the wrong number of digits, check digits that do not match, or a government or health authority code outside its range.
Use the normalised form
The normalised column gives the number in the standard GB 123 4567 89 layout, with a branch code on the end where there is one. Copy that into your accounts or CRM so every record looks the same.
Confirm the ones that matter
For a new supplier or a customer you will zero-rate or invoice in bulk, look the passing number up on GOV.UK to confirm the registration and the business name it is held under.
UK VAT number types the checker recognises
| Type | Shape | What is tested |
|---|---|---|
| Standard | 9 digits, e.g. GB 123 4567 27 | Weighted check digit sum, both the older and newer series |
| Branch | 12 digits, e.g. GB 314 1592 28 004 | The first nine digits, as for a standard number |
| Government department | GD plus 3 digits | Number between GD000 and GD499 |
| Health authority | HA plus 3 digits | Number between HA500 and HA999 |
| Northern Ireland | XI plus a standard number | The digits after XI, as for a standard number |
Why a VAT number is useful on a lead record
Many UK businesses print their VAT number in the website footer, on the terms page or on invoices. Captured alongside a company number, it helps confirm that the website, the map listing and the registered company are the same organisation, and it tells you the business is registered for VAT, which is a rough sign it trades above the registration threshold.
A number scraped from a page can be wrong: copied from a template, belonging to a parent company, or simply mistyped by the site owner. Running the format check first removes the obvious errors cheaply; looking up the survivors with HMRC settles the rest.
Questions people ask
Does this check whether a VAT number is registered?
No. It only tests the format and the check digits on your device. A number can pass and still be deregistered, or belong to another business. To confirm a registration and see the name it is held under, use HMRC's check a UK VAT number service on GOV.UK, which queries the live register.
How does the UK VAT check digit work?
The first seven digits are multiplied by weights from 8 down to 2 and added together with the last two digits. For a valid number the total, or the total plus 55 for numbers issued in the newer series, divides exactly by 97. A single wrong digit almost always breaks that, which is why typing errors are easy to spot.
What does an XI VAT number mean?
XI is the prefix used for Northern Ireland businesses trading goods under the Windsor Framework arrangements. The digits after XI are a normal UK VAT number, so the checker strips the prefix, tests the remaining digits in the usual way and shows the result with the XI kept in front.
Can I check a list of VAT numbers in one go?
Yes. Paste as many as you like, one per line, and the table shows a result for each. This is useful when cleaning a supplier list or a set of numbers collected from business websites, before you spend time on the slower one-by-one lookup with HMRC for the numbers that pass.
Where your data goes
The check digit test is arithmetic carried out by this page. VAT numbers you paste are not sent to HMRC, Map Extract or anyone else.
Checked against the tool on