Skip to content

VAT number format checker

Check EU, UK (GB) and Northern Ireland (XI) VAT numbers against official country prefix and character patterns without exposing vendor lists online.

Checks official format and character rules locally in your browser. Does not query live government or banking registries, so active registration and account ownership are not confirmed. Enter one number or paste up to 1,000 numbers (one per line).

How to use VAT number format checker

  1. Paste one or more VAT numbers with country prefixes. Enter a single code (such as DE123456789, EL123456789, or GB123456789) or paste up to 1,000 lines into VAT number or list, or click Load example.
  2. Run the offline pattern check. Click Check numbers to strip separators, verify the 2-letter jurisdiction prefix, and validate the domestic character pattern.
  3. Inspect and filter batch results. Review the Jurisdiction, Country prefix, and Domestic VAT body breakdown, or filter batches by All, Passed, or Failed.
  4. Export your cleaned vendor list. Click Copy formatted or Copy compact for single entries, or Download results (CSV) and Download Excel (.xlsx) for batch audits.

Everything you type stays in this browser on your device. Nothing is uploaded, and your saved details are never sent anywhere.

Validating 29 EU, UK (GB), and Northern Ireland (XI) VAT patterns

Cross-border European invoicing fails quickly when a customer VAT ID has a missing digit, a swapped letter, or the wrong country prefix. Under EU Council Directive 2006/112/EC (EUR-Lex), every EU Member State assigns a standardized 2-letter prefix followed by a country-specific alphanumeric body.

This validator checks 29 prefixes offline: all 27 EU Member States plus Great Britain (GB) and Northern Ireland (XI). Before running pattern matching, the normalizer converts text to uppercase and strips spaces, dots, and hyphens with 0 bytes transmitted to any external server. For Italian suppliers, you can follow up a syntax pass with our browser-based partita iva checker to verify the 11-digit Luhn check digit.

Jurisdiction Prefix Official pattern rule Valid example
Austria AT U followed by 8 digits ATU12345678
Belgium BE 0 or 1 followed by 9 digits BE0123456789
Germany DE 9 digits DE123456789
Greece EL 9 digits (uses EL, not GR) EL123456789
Netherlands NL 9 digits + B + 2 digits NL123456789B01
UK & Northern Ireland GB / XI 9 or 12 digits, or GD/HA + 3 digits GB123456789

Why Greece uses EL and Northern Ireland uses XI on VAT numbers

Two European VAT prefixes routinely trip up ERP imports because they do not match standard ISO 3166-1 country codes. According to GOV.UK Check a UK VAT Number Service, mainland UK registrations (GB) are verified via HMRC, whereas Northern Ireland goods traders use XI for EU cross-border reporting.

Greek EL vs ISO country code GR in EU VAT systems

Although Greece uses GR for postal codes, domain names, and customs EORI numbers, EU VAT law assigns EL from the Greek language code for Ellada. Any input starting with GR fails validation here with a reminder to replace the prefix with EL followed by 9 numeric digits.

Northern Ireland XI goods traders vs mainland UK GB numbers

Following Brexit and the Windsor Framework, Northern Ireland businesses trading goods with EU customers receive an XI prefix alongside their UK GB number. Both prefixes accept 9 digits, 12 digits, or GD/HA plus 3 digits. When auditing Spanish e-invoices from EU partners, you can also open Spanish Facturae 3.2.x (.xml and .xsig) e-invoices with IRPF and FACe DIR3 codes locally.

Offline pattern validation vs live VIES and national modulus checks

A passing regex check proves that a VAT ID matches official character rules, not that the company is actively registered today. Under the European Commission VIES VAT Number Validation Portal, suppliers claiming a zero-rated intra-EU B2B reverse charge must still verify active registration and trader name/address online.

Why syntax checks do not confirm active intra-EU reverse charge

Offline syntax validation catches missing digits, stray punctuation, and wrong prefixes instantly without sending confidential customer lists across the internet. However, closed businesses, deregistered traders, and transposed digits inside fixed-length numeric bodies still require a live VIES or HMRC check before shipping tax-free goods.

Running domestic Modulo-11 and Luhn checks on national IDs

While this multi-country checker validates structure across 29 prefixes, several European tax IDs embed domestic check digits such as Modulo-11 weights in Poland or Luhn digits in Italy. Catching a single-digit typo early prevents rejected e-invoices and delayed VAT refunds. If you bill Swiss partners outside the EU VAT area, pair your tax ID checks with our Swiss QR-bill generator to build SIX-compliant payment slips.

Auditing up to 1,000 vendor VAT numbers offline for AP clean-up

Accounts payable teams regularly inherit vendor spreadsheets filled with inconsistent spacing, missing country codes, and invalid characters. Pasting up to 1,000 lines into VAT number or list isolates malformed IDs in a single pass with 0 KB transmitted externally.

Reviewing the Jurisdiction, Country prefix, and Domestic VAT body fields helps finance teams standardize supplier master records before quarterly VAT return filings. This pre-flight clean-up saves hours of manual spreadsheet filtering and prevents formatting rejections before running live portal checks.

Filtering Passed and Failed rows and exporting CSV or Excel

Use the Passed and Failed filter buttons to focus exclusively on broken supplier records, then click Download results (CSV) or Download Excel (.xlsx) for your remediation log. The textarea accepts up to 1,000 lines and 50,000 characters in a single UTF-8 batch. When preparing German B2B invoices from a cleaned EU customer list, you can prepare germany invoice generator records locally without uploading client data in the same browser.

Tip: Click Copy compact (DE123456789) when uploading vendor IDs into XML e-invoicing schemas such as XRechnung or Peppol BIS 3.0, which disallow spaces inside EndpointID and CompanyID tags.

Operational scope and keeping vendor tax lists private

This validator performs offline character-pattern matching across 29 VAT prefixes for operational convenience and data hygiene, sending 0 KB over the network. It does not query EU VIES, HMRC, or national tax registries, and does not constitute certified tax, VAT compliance, or legal advice. Always verify active VAT registration and cross-border tax obligations with a qualified accountant or the relevant national tax authority.

Questions

Why do Greek VAT numbers start with EL instead of GR?

Under EU VAT Directive rules, Greece uses the prefix EL (from Ellada) rather than its ISO 3166-1 alpha-2 code GR. Entering GR before a 9-digit Greek tax number fails EU VIES and pattern validation, so this checker expects EL followed by 9 digits.

Does an offline VAT format check replace an EU VIES or HMRC lookup?

No. This tool checks official country prefixes, character types, and lengths offline without contacting VIES or HMRC. To zero-rate intra-EU B2B supplies or verify active UK registration, you must still confirm live registration and trader details on VIES or GOV.UK.

What is the XI prefix used for on UK and Northern Ireland VAT numbers?

Under the Windsor Framework, Northern Ireland businesses trading goods with EU Member States use the XI prefix instead of GB. Both GB and XI share the same UK pattern rules (9 digits, 12 digits, GD plus 3 digits, or HA plus 3 digits), but only XI numbers appear in EU VIES.

How many VAT numbers can be checked in a single batch?

You can paste up to 1,000 VAT numbers per batch (up to 50,000 characters in the textarea). Processing runs locally in your browser so large supplier master lists never touch a third-party server.

Are spaces, dots, or hyphens stripped automatically?

Yes. The normalizer converts lowercase letters to uppercase and removes spaces, periods, and hyphens before matching each jurisdiction pattern. You can copy either the spaced display format or the compact uppercase string.

Can I run national check-digit validation for Poland, Italy, or Spain?

Yes. This checker validates syntax across all 29 prefixes, while our dedicated national checkers run domestic Modulo-11, Luhn, and NIF/CIF check-digit math for Poland, Italy, Spain, and France.

Updated