Hewto.ai
Free tool · Random NPI Number Generator

Random NPI Number Generator

Hewto.ai is a free NPI generator online — a test NPI number generator that creates random NPI numbers, checksum-valid, in one click for development, QA, training, and demos. A valid NPI number generator with bulk batches up to 100 and CSV export. No signup, nothing stored.

For testing only. These NPIs are randomly generated and not issued by CMS. Never use them on a real claim or any HIPAA-covered transaction.

Generated in your browser — nothing is sent to or stored on our servers.

Under the hood

How this NPI number generator works

Every NPI is a 10-digit number whose final digit is a Luhn (ISO/IEC 7812) check digit computed over the first 9 digits, prefixed with 80840 — the CMS issuer identifier for the US health-industry range. This generator follows the exact same construction CMS uses, so every number passes the checksum your billing software runs.

  • First digit 1 (individual / NPI-1) or 2 (organization / NPI-2) — the CMS-assigned ranges
  • 8 random digits fill positions 2–9
  • 10th digit computed via Luhn over '80840' + first 9 digits
  • Uniqueness guaranteed within every batch
# Generating one fake NPI
1. Pick first digit: 1 or 2
2. Add 8 random digits
   → e.g. 123456789
3. Prefix with '80840'
   → 80840 123456789
4. Double alternating digits (Luhn)
5. check = (10 - (sum mod 10)) mod 10
   → 3
6. Result: 1234567893
   → passes CMS checksum ✓
   → not in NPPES (synthetic)

A valid checksum only means the number is well-formed. To check whether an NPI is real, run it through our NPI Validator — it confirms checksum and live NPPES registry status in one call.

Why synthetic NPIs

Realistic test data, zero compliance risk

Development & QA

Populate dev and staging databases, test 837 / EDI generation, and run clearinghouse onboarding without touching real provider identities.

Pipeline testing

Feed checksum-valid NPIs through extraction, validation, and adjudication pipelines so format checks behave exactly like production.

Training & demos

Teach billing staff and demo products with realistic-looking NPIs — keeping PHI and real provider identifiers out of classrooms and screenshots.

Pair this with Hewto.ai's NPI Validator and NPI Lookup by Name to round out your test-data toolkit — generate synthetic NPIs here, verify real ones there.

Fake NPI generator FAQ

Common questions about test NPI numbers

A fake NPI number generator creates synthetic, checksum-valid National Provider Identifier numbers for development and testing. Hewto.ai's NPI generator produces 10-digit NPIs that pass the official CMS Luhn checksum (with the '80840' health-industry prefix) but are randomly generated — so they are safe to use in test environments, demos, and QA pipelines.

Yes — that is exactly what this tool does. Every click generates random NPI numbers that are checksum-valid (10 digits passing the CMS Luhn check with the 80840 prefix) but not issued by CMS, making them safe, realistic random NPI numbers for testing, QA, training, and demos.

No. The numbers are randomly generated and are not issued by CMS. They pass the NPI format and Luhn checksum checks — which makes them realistic for testing — but they are not tied to any real provider in the NPPES registry. Coincidental collisions with real NPIs are possible but meaningless, since no real data is attached.

Each NPI starts with 1 or 2 (the CMS-assigned ranges for individuals and organizations), followed by 8 random digits. The 10th digit is a Luhn (ISO/IEC 7812) check digit computed over the first 9 digits prefixed with '80840' — exactly how CMS constructs real NPIs. Every number this tool generates passes the same checksum your billing software runs.

Yes — every number this valid NPI number generator produces is well-formed: exactly 10 digits, starting with 1 or 2, and passing the CMS Luhn checksum with the '80840' prefix. 'Valid' here means mathematically valid in format; the NPIs are synthetic, not issued by CMS, so they won't appear in the NPPES registry.

No. This is a fully online NPI generator — it runs entirely in your browser with no downloads, no signup, and no API key. Open the page, choose how many test NPI numbers you need, click generate, then copy or export to CSV.

Use them anywhere you need realistic NPI data without touching real provider identities: software development, QA and regression testing, 837 / EDI file generation tests, clearinghouse onboarding, staff training, product demos, and populating sandbox databases. Synthetic NPIs keep PHI and real provider identifiers out of non-production systems.

Never. Submitting a claim with a fabricated NPI is fraud and will be rejected by payers and clearinghouses at the NPPES validation step. Fake NPIs are strictly for test, development, training, and demo environments — never for production claims or any HIPAA-covered transaction.

They will pass format and checksum validation (10 digits + Luhn with the 80840 prefix). They will not pass an NPPES registry lookup, because CMS never issued them. Use our NPI Validator tool to see the difference — it shows 'checksum valid, but no NPPES record found' for synthetic numbers.

Yes — 100% free, no signup, no API key. Generate up to 100 checksum-valid NPIs per batch and export them to CSV in one click.

Use Hewto.ai's free NPI Validator. It runs the CMS Luhn checksum and then looks the number up live in the CMS NPPES registry, returning the provider's name, taxonomy, address, and status — so you can confirm an NPI is real and active before it goes on a claim.

Ready to see Hewto.ai on your documents?

Book a personalized demo and watch us process your HCFA, UB-04, and dental claims live.