Skip to content
andcode Tools

Test Data Generator (CNP, IBAN, CUI)

🔒 Runs in your browser

Fake test values — valid format, but randomly generated. They belong to no real person, company or account. Do not use as real data.

What this generator does

Pick a data type — CNP (Romanian personal numeric code), IBAN, CUI/CIF (company tax ID), a name or an email — choose how many you need and press Generate. Every identifier is built so its check digit is correct: the CNP uses the 279146358279 weight mask, the CUI uses the 7-5-3-2-1-7-5-3-2 key, and the IBAN passes the ISO 13616 mod-97 test. They will therefore be accepted by any correct format validator — including the CNP, IBAN and CUI validators on this site — which is exactly what you want when filling in a test form or a staging database.

These are not real people or accounts

The values are random. A CNP that has a valid structure does not mean a person with that code exists; a valid-format IBAN is not a real bank account; a valid CUI is not a registered company. Nothing here is looked up against any official registry, and nothing you generate is stored or transmitted — everything runs in your browser. Use these strictly as synthetic test data, never to impersonate a real individual or organisation.

What a control (check) digit is

A control digit is a small number computed from the other digits by a fixed formula. It lets software reject typos instantly, before contacting any database: change one digit of a valid CNP or IBAN and the recomputed control digit no longer matches. A generator like this simply runs that formula forwards — it fills in the body at random and then appends the digit that makes the whole string check out.

Frequently asked questions

Is this real personal data?

No. Every value is random and belongs to no real person, company or account. Only the format and check digit are valid — nothing is looked up in any registry.

Will the generated CNP, IBAN and CUI pass validators?

Yes. Each is built with the correct check digit (CNP weight mask, CUI key, IBAN mod-97), so any correct format validator accepts it, including the ones on this site.

What is a control (check) digit?

A digit computed from the rest of the number by a fixed formula, used to catch typos. The generator appends the digit that makes the whole string valid.

Is it legal to use this test data?

Yes, for testing. These are synthetic, format-only values. Do not use them to impersonate a real person or organisation, or to submit false information as if it were real.

Is anything stored or sent to a server?

No. Generation runs entirely in your browser with JavaScript; no value is uploaded, logged or saved.

Related tools

Clear local data?

This permanently erases everything this site has saved in this browser:

  • Saved audio projects (Audio Mixer autosave)
  • Project boards, cards and attachments (Kanban)
  • Your favorite tools
  • Preferences, such as your language choice

This can't be undone, and it only affects this browser on this device.