DevTools Logo

New Zealand IRD Number Generator

New Zealand IRD Number Generator

Generate synthetic New Zealand 8/9-digit IRD numbers with the weighted Mod-11 check — synthetic mock data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.

Generated value

No value yet

Set options, then press Generate.

Generated values are valid in shape but randomized (Test Data).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal. DevTools accepts no liability for how generated data is used.

    About this tool

    The New Zealand IRD Number Generator creates synthetic New Zealand IRD number (8 or 9 digits) identifiers for software QA, onboarding, e-invoicing, and ERP integration testing. The IRD number is the tax number Inland Revenue (Te Tari Taake) gives individuals and businesses; GST-registered businesses use it as their GST number.

    8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried. Switch to the Validate tab to check existing values, or use Bulk to generate up to 500 test records and export them as JSON, CSV, SQL, TypeScript, Python, or Go arrays. All generation and validation run locally in your browser.

    Need 13-digit business numbers? Use the New Zealand NZBN Generator (/nzbn-generator); the two numbers are issued independently.

    How to use this tool

    1. Choose format or standard

      Select the New Zealand format variant if multiple options are available.

    2. Generate or validate

      Generate one test value, validate an existing string, or switch to Bulk for 1–500 records.

    3. Export locally

      Copy or download JSON, CSV, or SQL test fixtures. Never use synthetic IDs for real filings.

    New Zealand IRD number (8 or 9 digits) specification

    AttributeRule
    CountryNew Zealand
    StandardIRD number (8 or 9 digits)
    Format & Checksum8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried.

    Synthetic test data only; does not query government registries or verify real entities.

    Frequently asked questions

    Are generated New Zealand IRD numbers real?

    No. Every generated value is synthetic mock data that satisfies the IRD number (8 or 9 digits) format and checksum rules for QA and development testing only.

    How does the New Zealand IRD Number Generator validate numbers?

    8 or 9 digits (padded to 9) in the issued range. Weights 3,2,7,6,5,4,3,2 give a mod-11 check digit; when it is 10, a second weight set 7,4,3,2,5,2,7,6 is tried. All checks run 100% client-side in your browser.

    Who issues the IRD?

    The IRD number is the tax number Inland Revenue (Te Tari Taake) gives individuals and businesses; GST-registered businesses use it as their GST number.

    Can I export bulk test data?

    Yes. Switch to the Bulk tab to generate 1–500 values and export JSON, CSV, SQL INSERT, TypeScript, Python, or Go arrays.