VAT NUMBER VALIDATOR

Check a VAT number's format against its country's rules and see the country it decodes to.

This checks the number's shape for its country against the published VAT format — it does not query VIES or confirm the number is actually registered.
Format looks valid
CountryGermany (DE)
Number body123456789
Expected shapeDE123456789

How to validate a VAT number

  1. 1

    Type or paste a VAT number including its 2-letter country prefix, like DE123456789.

  2. 2

    The validator looks up the expected length and pattern for that country and checks the remaining digits against it.

  3. 3

    Read the result: a format match, a mismatch, or an unrecognized country prefix, plus the expected shape for that country.

Questions

Does this confirm a VAT number is registered and active?
No — it only checks that the number's shape (length and character pattern) matches what that country issues. To confirm a VAT number is genuinely registered, use the EU's free VIES lookup (for EU numbers) or the relevant national tax authority's register, since only those systems check against the live database.
Why do VAT number formats differ so much between countries?
Each country's tax authority designed its own numbering scheme before VAT was harmonized across the EU, so lengths range from 8 digits (Denmark, Finland) to 12 (Sweden), and some countries mix in letters (Spain, France, the Netherlands, Ireland). The 2-letter ISO country prefix is the only part that's consistent everywhere.
Is a UK VAT number the same as an EU one?
The UK uses the same GB-prefixed, 9-digit format it used before Brexit, but it's no longer part of the EU's VIES system — UK VAT numbers must be verified through HMRC's own checker instead.
What should I do if a supplier's VAT number fails this check?
First double-check for typos or missing digits, since that's the most common cause. If it still fails, ask the supplier to confirm the number directly — a format mismatch can mean the wrong country prefix was used, or that it isn't actually a VAT number (some invoices list a company registration number instead).