WuseBox ← Back to tools

For developers, QA testers, and analysts

PESEL, NIP, REGON and IBAN Generator

Generate sample Polish identifiers with valid check digits. All data is created locally in your browser and is never sent anywhere.

PESEL

PESEL settings

Choose one date or age filter. Gender can be combined with any filter.

11 digits with a valid date of birth and check digit. Respects the selected gender and age range. PESEL decoder and more options →

NIP

10 digits with a tax office code and a valid check digit.

REGON

9 digits, including a random territorial code and a valid check digit.

NRB / IBAN

Account settings

A Polish account with a random bank identifier and a valid Modulo 97 check number.

ID card

Standard format: 3 letters and 6 digits. The first digit (4th character) is the ID number check digit.

Bulk generator

Batch settings

Select the identifiers to include in each record.

PESEL batch settings

These settings apply only to PESEL numbers in the generated batch.

Generate a batch of records containing all identifier types.

Check digit validator

Paste a PESEL or NIP to check its format and check digit.

Important: This tool is intended solely for software development, QA testing, and educational purposes. Identifiers are generated randomly using publicly available algorithmic rules. The tool does not use government databases and must not be used unlawfully. A valid format and check digit do not guarantee that a number will not coincidentally match an existing identifier. Do not use generated data for real transactions or to identify people.

Generating synthetic test data for QA and software development

During development, deployment, and test automation for IT systems (e-commerce, CRM, banking, and ERP applications), using real customer data from production databases poses a serious risk of violating GDPR and information security policies. Development, staging, and test environments need realistic but synthetic data.

The WuseBox Test Data Generator creates sample business and financial identifiers entirely in your browser. The numbers have valid formats and check digits, making them useful for testing validators and forms. They are not retrieved from government registries; because they are generated randomly, an accidental match with an existing number cannot be ruled out. Use them for testing only.

Mathematical precision: How do Polish check digits work?

Integration and unit tests often need identifiers that pass format and check-digit validation:

  • PESEL (Polish national identification number): An 11-digit identifier encoding date of birth and gender, with algorithm weights 1, 3, 7, 9, 1, 3, 7, 9, 1, 3 and modulo 10. The number structure, a step-by-step check digit example, and a decoder are in the PESEL generator.
  • NIP (Polish tax identification number): A 10-digit code with check weights 6, 5, 7, 2, 3, 4, 5, 6, 7 and modulo 11. The generator rejects invalid remainders of 10.
  • REGON: A 9-digit business identification number with weights 8, 9, 2, 3, 4, 5, 6, 7 and modulo 11.
  • NRB / IBAN (Polish bank account number): A Polish NRB has 26 digits; an IBAN also includes the PL prefix. The check digits are calculated using ISO 7064 / modulo 97.
  • Polish ID card: A format of 3 letters and 6 digits where the 4th character is the check digit (weights 7, 3, 1, 9, 7, 3, 1, 7, 3; the sum must be divisible by 10).

Bulk generator: Database mocking and performance testing

Individual records are useful for manual tests, while database seeding, load testing, and fixtures for Cypress, Playwright, Selenium, or pytest require larger, structured data batches:

  • JSON export: objects ready to use in API mocks or document databases.
  • CSV export: data for import into spreadsheets, ERP systems, and ETL tools.
  • List format: sequences of values for SQL queries, test loops, and automation scripts.

GDPR compliance and test data security

Copying production databases to development environments increases the risk of data exposure. The WuseBox generator helps reduce that risk:

  • Synthetic data: numbers are generated randomly, not retrieved or checked against person or company registries. They could still accidentally match an existing number, so use them only in test environments.
  • No data transmission (100% client-side): generation and validation algorithms run in the browser. Data is not sent to external services.
  • API testing: synthetic test data can be used in CI/CD logs and reports in accordance with your project's security policies.

Frequently asked questions (FAQ)

Do generated PESEL, NIP, and Polish ID numbers belong to real people?

They are not retrieved from registries or assigned to specific people. They are generated synthetically using formatting rules and check digits. Since the numbers are random, an accidental match with an existing identifier cannot be ruled out. Use them only for development and QA testing.

Can I generate PESEL numbers for minors or people born after 2000?

Yes. The generator supports the month encoding used in Poland for people born after 1999 (20 is added to the month number). Filters let you choose an age, birth year, or exact date of birth.

Does the check-digit validator verify whether a company is on the VAT whitelist?

No. The validator checks only the technical format and check digit. It does not query external government registries such as CEIDG, KRS, or the VAT taxpayer register.

Which format is best for downloading data for automated tests?

JSON works well for API mocking in JavaScript/TypeScript environments and Postman. CSV is convenient for data imports and SQL database migration tests.

Use the tool ↑