EU VAT number validator
Checks the format and, where the algorithm is certain, the check digit of an intra-community VAT number for Luxembourg and every other EU country, entirely in your browser.
Enter a VAT number to check its format and check digit.
This only checks the format and, where possible, the check digit - it never confirms that a number is registered or active. Use the VIES link below for that.
To confirm this number is actually registered, paste it into the official VIES lookup: Check on VIES (ec.europa.eu)
How it works
An intra-community VAT number is made of a 2-letter country prefix (the VIES prefix - Greece uses "EL", not the ISO code "GR") followed by a country-specific sequence of digits and, for some countries, letters. This tool cleans up whatever you paste - spaces, dots, hyphens and slashes are stripped - then reads the prefix, or falls back to the country you selected if none is found.
It compares the remaining characters against the length and pattern published for that country, and for the countries where the check-digit rule is certain, it recomputes it to confirm the number is internally consistent. For every other country, only the format is checked and the result says so plainly: a valid format is not the same as a verified check digit.
A Luxembourg VAT number is always "LU" followed by 8 digits: the last 2 digits are a check pair, recomputed from the first 6 using a fixed formula. If the number you type matches every rule, that only means it is well-formed - it does not prove a business is actually registered for VAT, or still active.
Only the official VIES lookup, run by the European Commission, can confirm that a number is currently registered. This tool never contacts VIES or any other service: everything above happens on your device, and the VIES link below simply opens VIES in a new tab so you can paste the number yourself.
Example
Take LU15027442: "LU" is the country prefix, and "15027442" is the 8-digit body.
The first 6 digits, 150274, are divided by 89: 150274 ÷ 89 = 1688 remainder 42.
That remainder, 42, matches the last 2 digits of the number - so LU15027442 has a valid format and a verified check digit.
This still doesn't confirm the number belongs to an active business: that check has to be done on VIES, using the link below the result.
Frequently asked questions
Does a valid format mean the VAT number is registered and active?
No. This tool only checks that a number is well-formed - the right length and pattern for its country, and, where the algorithm is certain, a correct check digit. Only VIES, the European Commission's official lookup service, can confirm a number is currently registered.
What's the structure of a Luxembourg VAT number?
A Luxembourg VAT number is "LU" followed by 8 digits. The last 2 digits are a check pair: dividing the first 6 digits by 89 must give the same remainder as those last 2 digits.
Why does this tool say "check digit not verified" for some countries?
Several EU countries use check-digit algorithms this tool can't confirm with certainty, or have more than one valid number format sharing the same prefix. Rather than risk rejecting a genuine number with a guessed formula, those countries (or number shapes) are checked for format only, and the result says so.
Why does typing "GR" turn into "EL"?
Greece's ISO country code is "GR", but VIES and every EU VAT number use the prefix "EL" for Greece instead. This tool accepts either and always normalises the result to "EL".
Is the number I type sent or stored anywhere?
No. Every check happens in your browser and nothing is ever sent to a server - not even to VIES. Opening the VIES link is a separate step you take yourself, in a new tab. Only your chosen language is remembered, locally on your device.
Related tools
- IBAN validatorCheck an IBAN and find the BIC of a Luxembourg bank.
- SEPA payment QR code generator (EPC)Create a QR code that pre-fills a SEPA transfer in banking apps.
- Luxembourg RCS number and national ID validatorCheck an RCS number and a Luxembourg national ID number.
- RF creditor reference generator and checker (ISO 11649)Create or check an RF payment reference (ISO 11649).
