Ten digits, no embedded intelligence and Luhn computed over 80840.
The National Provider Identifier (NPI) is the unique identifier for US health care providers, set by the final rule published on January 23, 2004 (69 FR 3434). According to the CMS requirements document, the NPI has 9 numeric digits plus 1 check digit, carries no embedded information and was initially issued with a first digit of 1 or 2. The check digit is the Luhn modulus 10, but calculated as if the NPI were preceded by the prefix 80840, where 80 indicates health applications and 840 indicates the United States. Without the prefix, you get the same result by adding the constant 24. In the official example, 123456789 gives check digit 3: the NPI is 1234567893 and, as the card issuer identifier of a health ID card, 808401234567893. The tool validates against that standard, shows the Luhn arithmetic digit by digit and generates test NPIs in bulk. The first digit does not say whether it is Type 1 (individual) or Type 2 (organization): that classification exists only in the NPPES registry, which you query on the official site, and the tool makes no calls to it.
How to use
Type an NPI to validate it, or generate test NPIs.
In Validate, type the 10 digits (spaces and hyphens are ignored). With 9 digits the tool calculates the tenth, and the 15-digit form with 80840 is accepted too. The result shows the verdict, the three checks and the Luhn arithmetic.
In Generate, pick the first digit (1, 2 or either). Under Options set the count, use a seed to repeat the same list, show the 80840 prefix or switch on the negative test with a wrong Luhn.
To check whether a real NPI exists, use the Search NPPES button, which opens the official CMS registry. For many numbers, paste the list into Validate many NPIs and download the result as CSV.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/npi-number-generator"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="NPI Number Generator and Validator"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en">J-Kit</a></p>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
It is the unique 10-digit identifier of US health care providers, created by the final rule of January 23, 2004 (69 FR 3434). CMS issues and maintains it through the NPPES registry. The number has no embedded meaning: it does not indicate state, specialty or provider type.
The first 5 digits (80840) are the constant prefix. Digits in alternating positions are doubled starting next to the last one, and doubles above 9 lose 9. The total must be a multiple of 10.
Validate many NPIs
Test dataAn NPI that passes Luhn is only well formed and may belong to a real provider. Use it in software testing, never on a real claim, enrollment or document.
Everything runs in your browser. No NPI you type or generate is sent to a server, and analytics only receives the action and the overall result, never the number.