← Loona Salary & Tax Calculators

VAT Number Checker

Check whether a VAT number follows the official format for its country — all 27 EU states plus the United Kingdom, Switzerland and Norway. Important: this validates format only, not registration. Registration can only be confirmed on the official services linked below.

In short: pick the country, type the number, and this checker normalizes it (spaces, dots and dashes removed, uppercase) and tests it against that country's published VAT pattern. “Format looks valid” means the shape is right — it does not mean the number is registered. Check registration free on the official VIES service.

Format result
—
Country—
Normalized number—
Expected format—

This checks FORMAT only — it cannot confirm the number is registered. Check registration free on the official VIES service: ec.europa.eu/taxation_customs/vies. For UK numbers, use the official UK checker: gov.uk/check-uk-vat-number.

How it is calculated

There is no arithmetic here — VAT numbers are checked against a published pattern for each country:

Worked examples — each result below is filled in by this page's own checker when the page loads, so it can never disagree with the checker above:

Frequently asked questions

Does this checker confirm that a VAT number is registered?

No. This checker validates format only — whether the number follows the official pattern for its country. It cannot confirm that the number is registered, active, or belongs to a particular business. For registration, use the official EU VIES service, or the UK government checker for UK numbers.

What is VIES and when should I use it?

VIES (VAT Information Exchange System) is the European Commission's free official service for checking whether an EU VAT number is registered for cross-border trade. Use it before zero-rating an EU business customer. This page links directly to VIES below the checker.

Why did a real VAT number fail this format check?

Most often because of typing: extra letters, a missing country prefix where one is required, or the wrong number of digits. Check the pattern shown for the country, remove spaces and punctuation, and try again. If the format is correct but you need certainty about registration, check VIES.

Do I enter the country letters at the start of the number?

Either way works here. This checker strips the two-letter country prefix automatically when it matches the country you selected, so DE123456789 and 123456789 are both accepted for Germany. Switzerland is the exception: Swiss numbers keep their CHE prefix.

How do I check a UK VAT number's registration?

Format and registration are separate in the UK too. After this format check, use the official UK government service — Check a UK VAT number — linked below the checker, which confirms whether a UK number is registered and shows the business name.

Privacy: this checker runs 100% on your device — the VAT number you type never leaves your browser. Disclaimer: format validation only, using the published national VAT number patterns; it cannot confirm registration. Patterns verified November 2026 against the European Commission's published VAT number formats; for registration use the official VIES service (ec.europa.eu/taxation_customs/vies) or, for UK numbers, gov.uk/check-uk-vat-number.

More calculators

How it works — the formula

Every European tax authority publishes the exact shape its VAT numbers must take: how many characters, which positions are digits and which are letters, and in a few cases fixed letters such as the B in Dutch numbers or the U at the start of Austrian numbers. A format check is therefore a pattern match, not a calculation: normalize the input, strip the country prefix, and test what remains against that country's pattern. Passing proves only that the number could exist in that shape — a mistyped digit inside a correctly shaped number, or a correctly shaped number that was never issued, can only be caught by an official registration database such as VIES.

Worked example

Take the German example DE123456789. Normalizing removes nothing except the DE prefix, leaving … — nine digits, which is exactly the German pattern, so the verdict is that the format looks valid for Germany. The same number shortened to DE123 leaves only three digits and fails, as the second worked example above shows. Neither result says anything about registration: that final step always belongs to VIES (or the UK checker for a GB number).

Frequently asked questions

What format does a German VAT number have?

A German VAT number (USt-IdNr.) is exactly nine digits, for example DE123456789 after its DE prefix. It is different from the domestic German tax number (Steuernummer), which has a different format and must not be used for EU cross-border trade.

Why do some countries allow more than one VAT format?

A few countries issue more than one pattern — Ireland and Spain each have older and newer patterns, and Lithuania issues 9-digit numbers to legal persons and 12-digit numbers to temporary registrations. This checker accepts every published pattern for the selected country.

Can I rely on a format check for invoicing?

A format check is a useful first screen against typos, but for zero-rated EU supplies you should keep evidence of a VIES registration check with its consultation number, alongside the invoice. Format alone is not evidence that your customer is VAT-registered.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.