NIP Generator
Generate valid Polish NIP numbers for software testing and QA. NIP stands for Numer Identyfikacji Podatkowej, Poland's 10-digit tax identification number. Every business and VAT-registered entity in Poland has one. The same number doubles as a VAT ID across the EU with a "PL" prefix. Each generated number passes the official mod-11 checksum. Generate a single number or a full batch. All output is fictitious and not linked to any real taxpayer. Free, no sign-up required.
Generated 5 NIP numbers :
3435540946
7651330038
2816328013
9627403154
6352336831
What Is a NIP Number in Poland?
NIP stands for Numer Identyfikacji Podatkowej. In English, that translates to Tax Identification Number. Poland assigns a NIP to every business, legal entity, and VAT-registered taxpayer [3]. If you are looking for a VAT number in Poland, NIP is the number you need.
NIP is Poland's primary tax identification number and also functions as a VAT ID. For transactions within the European Union, Polish companies add the country prefix "PL" before their 10-digit NIP. The EU's VIES system uses this PL + 10-digit format to verify VAT registration across member states [12].
One important distinction: NIP and PESEL serve different people. Since September 1, 2011, individuals who do not run a business and are not registered for VAT use their PESEL number as a tax identifier [2]. If you start a sole proprietorship or register for VAT, you receive a NIP. Everyone else uses PESEL for tax purposes.
NIP Number Format and Structure
A Polish NIP number contains exactly 10 digits. No letters, no spaces in the raw format. On older documents you may see it formatted as XXX-XXX-XX-XX or XXX-XX-XX-XXX, but the underlying number is always 10 digits.
What Each Digit Means
The first three digits identify the tax office (urząd skarbowy) that originally issued the number. The next six digits form a sequential identifier assigned to the taxpayer. The tenth digit is a check digit calculated using a mod-11 algorithm.
The Mod-11 Check Digit
The check digit catches typos and blocks fabricated numbers. The algorithm multiplies each of the first nine digits by a fixed weight, sums the products, and takes the remainder after dividing by 11. That remainder must equal the tenth digit.
The weight sequence is: 6, 5, 7, 2, 3, 4, 5, 6, 7.
Take a NIP with first nine digits 123456789. The calculation is: (1×6) + (2×5) + (3×7) + (4×2) + (5×3) + (6×4) + (7×5) + (8×6) + (9×7) = 209. Then 209 mod 11 = 0. The check digit is 0, making the full NIP 1234567890.
If the remainder equals 10, the combination is invalid. No NIP uses that digit sequence.
No official Polish government source publishes this algorithm. The weight sequence and mod-11 procedure are common technical knowledge, documented across developer resources and technical references.
Tax Office Prefix Codes
The first three digits of every NIP encode the issuing tax office. Poland has over 400 tax offices, each with a unique 3-digit code. For example, tax offices in Warsaw carry prefixes in the 525–527 range. This prefix was set at registration time and does not change, even if the taxpayer later moves to a different jurisdiction.
No official government database publishes a complete mapping of all 3-digit prefix codes to their tax offices.
The PL Prefix for EU VAT
When a Polish company trades within the EU, its VAT NIP number appears as PL followed by 10 digits (e.g., PL1234567890). The European Commission's VIES system validates numbers in this format [12]. The "PL" prefix is not part of the NIP itself. Companies add it only for EU VAT identification purposes.
This is the same number referred to as a "VAT code" for Poland, a "VAT ID," or a "Poland VAT number" in English-language business contexts. All of these terms point to the same 10-digit NIP.
NIP Regex for Developers
For software validation, a basic regex pattern for a raw Polish NIP is:
^\d{10}$
This checks format only. To confirm the check digit, you need to implement the mod-11 algorithm described above. For the EU VAT format with the country prefix:
^PL\d{10}$
How This NIP Generator Works
This NIP generator creates random 10-digit numbers that pass the mod-11 checksum. Each generated number starts with a valid 3-digit tax office prefix, followed by a random 6-digit sequence. The tool then calculates the correct check digit using the weight sequence 6, 5, 7, 2, 3, 4, 5, 6, 7.
You can generate a single NIP or a batch of numbers with different prefixes. Every number is structurally valid but entirely fictitious. No generated NIP corresponds to a real taxpayer or business entity.
Common use cases include software testing for Polish invoicing and accounting systems, QA for platforms that process Polish tax IDs, developer testing for VIES integrations, and training environments that need realistic-looking NIP numbers.
Who Needs a NIP in Poland?
Businesses and Legal Entities
Every company registered in Poland receives a NIP [3]. This covers sole proprietorships (jednoosobowa działalność gospodarcza), limited liability companies (spółka z o.o.), joint-stock companies (spółka akcyjna), partnerships, foundations, and associations. For sole proprietors, the CEIDG registration system assigns the NIP automatically as part of business registration [2].
Individuals: NIP or PESEL?
Most individuals in Poland do not have a NIP. Since 2011, PESEL serves as the tax identifier for people who are not running a business and are not VAT-registered [2]. You need a NIP only if you register a business, become a VAT taxpayer, or act as a tax collector (for example, an employer withholding income tax from employees).
Foreigners and Foreign Companies
Foreign nationals in Poland follow the same rules. Run a business and you get a NIP through CEIDG or KRS registration. Need a NIP for VAT purposes without a business? File the NIP-7 form at your local tax office (urząd skarbowy) [4]. This is the standard path for the foreign tax identification number in Poland.
Foreign companies without a physical presence in Poland can also receive a Polish NIP if they have tax obligations here, such as VAT registration for selling goods or services to Polish customers.
How to Get a NIP
The registration path depends on your situation.
Sole proprietors register through CEIDG (Centralna Ewidencja i Informacja o Działalności Gospodarczej), Poland's central register for sole traders. CEIDG assigns the NIP during business registration [2].
Companies and other legal entities register through KRS (Krajowy Rejestr Sądowy), the National Court Register. The court forwards registration data to the tax office, which assigns the NIP [3].
Individuals who need a NIP outside of business registration submit the NIP-7 form to their local tax office [4]. The tax office head issues the number within 3 business days of receiving a correct application [5].
NIP registration is free. Obtaining a certificate confirming your NIP assignment is also free [5].
NIP vs. REGON vs. KRS
Poland uses three separate identification numbers for businesses. They are independent of each other. Knowing one does not let you derive the others.
NIP identifies the taxpayer for tax and VAT purposes. Every business has one. You put it on invoices, tax returns, and contracts.
REGON (Rejestr Gospodarki Narodowej) is a statistical number assigned by the Central Statistical Office (GUS). Every business entity and its local branches receive a REGON. GUS uses it for statistical reporting.
KRS (Krajowy Rejestr Sądowy) is a court registry number. Companies, foundations, and associations registered with the National Court Register receive a KRS number. Sole proprietors registered through CEIDG do not have one.
If you need to generate test REGON numbers, the REGON Generator tool works the same way as this NIP generator.
Verifying an Existing NIP
This page generates fictitious NIP numbers for testing. If you need to check whether a real NIP belongs to an active taxpayer, use the NIP Validator tool.
The Polish Ministry of Finance provides an online VAT status checker that confirms whether a NIP is registered as an active VAT taxpayer [7]. The VAT taxpayer registry, known as the "white list" (biała lista), lets you verify a company's NIP, registered name, address, and bank account numbers [8]. Businesses use the white list to confirm contractor details before making payments over 15,000 PLN.
For cross-border EU transactions, the European Commission's VIES system validates Polish VAT numbers in the PL + 10-digit format [12]. This is the standard tool for checking a Poland VAT number across EU member states.
Frequently Asked Questions
What does NIP stand for?
NIP stands for Numer Identyfikacji Podatkowej. In English, this means Tax Identification Number. It is Poland's tax identifier for businesses and VAT-registered entities. You may also see it called the Polish tax identification number in English-language documents.
Is NIP the same as a VAT number in Poland?
Yes. Polish companies use their NIP as their VAT number. For EU transactions, the NIP appears with a "PL" country prefix (e.g., PL1234567890). The terms "Polish VAT number," "VAT ID Poland," "VAT NIP number," and "NIP" all refer to the same 10-digit number.
How many digits is a Polish NIP number?
A NIP contains exactly 10 digits. The first three identify the issuing tax office, the next six form a sequential identifier, and the last digit is a mod-11 check digit.
What do the first three digits of a NIP mean?
They identify the tax office (urząd skarbowy) that originally assigned the number. Each of Poland's 400+ tax offices has a unique 3-digit code. The prefix does not change even if the taxpayer relocates.
Can I use generated NIP numbers for real transactions?
No. Generated numbers are fictitious. They exist only for software testing, QA, and educational purposes. Using a fabricated NIP on official documents or invoices is illegal.
Do I need a NIP as a foreigner in Poland?
Only if you run a business or register for VAT. Employed individuals without a business use their PESEL as a tax identifier [2]. If you do need a NIP, you file a NIP-7 form at your local tax office [4].
What is the difference between NIP and PESEL?
NIP identifies taxpayers for business and VAT purposes. PESEL is a personal identification number assigned to every registered resident of Poland. Since 2011, individuals without a business use PESEL instead of NIP as their tax identifier [2].
References
- Act on the Principles of Registration and Identification of Taxpayers and Tax Collectors (Consolidated Text, 2025) — isap.sejm.gov.pl
- What is NIP? — Government Business Portal — biznes.gov.pl
- NIP-7 Registration Form — Government Business Portal — biznes.gov.pl
- NIP Certificate — Government Business Portal — biznes.gov.pl
- VAT Status Check — Ministry of Finance Tax Portal — ppuslugi.mf.gov.pl
- VAT Taxpayer Registry (White List) — Ministry of Finance — podatki.gov.pl
- VIES — EU VAT Number Validation System — European Commission — ec.europa.eu
You might be interested in other tools
REGON Number Checker
Check any 9-digit or 14-digit Polish REGON number with automatic format detection and checksum verification.
Mikrorachunek Generator
Generate your individual Polish tax account number (mikrorachunek podatkowy) from a PESEL or NIP.
Mikrorachunek Checker
Check whether a mikrorachunek podatkowy number matches the official format and extract the embedded PESEL or NIP.