UK VAT generator

Valid test UK VAT registration numbers for United Kingdom, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any UK VAT against the rules. Everything runs in your browser.

  1. GB518972846
  2. GB777410457
  3. GB896947970
  4. GB409425304
  5. GB502886976
  6. GB486542849
  7. GB815532974
  8. GB694156842
  9. GB552463586
  10. GB184398367
Type or paste a number

Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.

Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.

How a UK VAT is built

Pattern: GB 123 4567 xx

Seven digits weighted 8 to 2, plus a two-digit check so the total (or the total + 55) is divisible by 97.

Valid and invalid example

ValueResult
GB518972846Valid
GB518972847Invalid last character changed

About the UK VAT

UK VAT registration numbers have nine digits (sometimes with a branch suffix). The first seven are weighted 8 to 2, and the last two make the weighted sum, or the sum plus 55, divisible by 97.

Typical test cases: Invoices, B2B checkout with VAT reverse charge, accounting packages and supplier databases.

More sample UK VAT numbers

GB777410457 · GB896947970 · GB409425304 · GB502886976 · GB486542849 · GB815532974 · GB694156842 · GB552463586 · GB184398367

Common questions

Are these real UK VAT numbers?
They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
Can I use a generated UK VAT on a real application?
No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.

Related tools

Other company ID formats

EIN (US) · CIF / NIF (ES) · CNPJ (BR) · SIREN / SIRET (FR) · TVA (FR) · Partita IVA (IT) · USt-IdNr. (DE) · ABN (AU) · all formats