DUNS Number Validator
us-financeValidate a Dun & Bradstreet DUNS number format instantly. Checks 9-digit structure and formats as XX-XXX-XXXX. Free, client-side, no data stored.
What is a DUNS?
The DUNS Number Validator checks whether a D-U-N-S Number follows the correct format: exactly 9 digits, entered in either plain form (123456789) or the standard hyphenated display format (12-345-6789). It also shows the formatted output for copy-and-paste into forms and procurement systems.
A DUNS number (Data Universal Numbering System) is a 9-digit business identifier assigned by Dun & Bradstreet to uniquely identify business entities in their global commercial database. Established in 1963, DUNS numbers are used in US federal government procurement (SAM.gov, USASpending.gov), global supply chain management, international trade finance, and business credit reporting.
Unlike identifiers such as the Routing Number or EIN, the DUNS has no public checksum algorithm โ D&B assigns numbers from an internal sequential database. Format validation (9 digits, no letters) is therefore the only client-side check possible without a D&B API call.
What this validator checks: exactly 9 digits, no alphabetic or special characters (hyphens are accepted as separators and stripped before checking).
What it does not check: Whether the specific 9-digit number is assigned to a real business in D&B's database. That requires a D&B lookup.
All validation is client-side. No data is transmitted.
How to use this DUNS calculator
- Enter the DUNS number in the input field โ plain digits (123456789) or hyphenated (12-345-6789).
- Check the Valid/Invalid badge โ updates instantly.
- Read the formatted output โ the details panel shows the standard XX-XXX-XXXX display format.
- Copy the formatted DUNS for use in SAM.gov or supplier onboarding forms.
- Confirm assignment: for active business verification, search dnb.com or SAM.gov.
- Related tools: use the EIN Validator for US employer identification numbers.
Formula & Methodology
Format rule: - Strip hyphens and spaces - Remaining characters must be exactly 9 digits (0โ9) - No publicly documented checksum โ D&B assigns numbers sequentially Display format:XXXXXXXXX โ XX-XXX-XXXX 123456789 โ 12-345-6789Valid and invalid examples: | Input | Valid? | Note | |---|---|---| |123456789| โ | 9 digits, correct format | |12-345-6789| โ | Hyphenated format, strips to 9 digits | |12345678| โ | Only 8 digits | |1234567890| โ | 10 digits โ extra digit | |12-345-678A| โ | Non-digit character |
Frequently Asked Questions