Denmark CVR Number Generator
Generate 8-digit Danish CVR company numbers with the mod-11 check — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates 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).
Examples
Generate a CVR number
DK CVR · Generate13585628Eight digits whose weighted total is divisible by 11.
Validate a DK VAT form
DK13585628Valid — 13585628The DK prefix is stripped, then the same mod-11 check runs on the eight digits.
Reject a failing check
13585627Invalid — check digit is 7 but the first 7 digits require 8The validator recomputes the final digit and reports both values.
About this tool
The Denmark CVR Number Generator produces one 8-digit CVR number, the company identifier in Det Centrale Virksomhedsregister. Numbers do not start with 0, and the weighted total must be divisible by 11 using the weights 2, 7, 6, 5, 4, 3, 2 and 1.
The Danish VAT number is the same eight digits with a DK prefix, which validation strips before running the mod-11 test. A check value of 10 means the first seven digits cannot form a valid number, so the generator skips it and the validator reports it rather than a digit.
These are synthetic values for QA and development: never use them on real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used. A random value can coincidentally match a registered company. Everything runs locally in your browser.
What this tool does not do
- Validation cannot confirm registration, ownership or industry.
- A check value of 10 makes some seven-digit bodies unusable, which slightly narrows the generated set.
- The tool covers the CVR number and its DK VAT form, not the separate production-unit numbers.
- A generated value can coincide with a real company.
How to use this tool
Open the CVR generator
The tool is pinned to the 8-digit CVR layout, so there is no option to choose.
Generate a value
Click Generate to create one number with a non-zero first digit that passes the weighted mod-11 test.
Copy or validate
Copy the number to a vendor fixture or download it as a .txt file, or switch to Validate for CVR and DK VAT forms.
Use cases
Vendor onboarding fixtures
Fill Danish supplier records with a CVR number that passes the mod-11 check.
VAT field normalization
Confirm that your form strips the DK prefix before storing or comparing the number.
Negative-path tests
Use a failing check digit to cover the rejection branch and its message.
CVR rules
| Part | Rule |
|---|---|
| Length | Exactly 8 digits |
| First digit | Never 0 |
| Check | Weighted total divisible by 11 |
| Weights | 2, 7, 6, 5, 4, 3, 2, 1 |
| VAT form | DK prefix, stripped before the check |
A check value of 10 means the first seven digits can never be valid.
Common mistakes
Mistake:Storing the DK prefix with the number
Fix:The CVR number is the eight digits; DK is VAT presentation only.
Mistake:Allowing a leading zero
Fix:CVR numbers never start with 0, and the validator enforces it.
Mistake:Assuming a passing CVR proves the company is active
Fix:The check proves the digits are consistent, not the registration status.
Frequently asked questions
Are these real Danish CVR numbers?
No. They are synthetic fixtures for QA and development, never for real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how they are used.
How is the CVR check calculated?
The eight digits are weighted by 2, 7, 6, 5, 4, 3, 2 and 1, and the total must be divisible by 11.
Is the DK prefix part of the CVR number?
No. The CVR number is the eight digits; DK is the VAT presentation and is stripped before the check.
Can a CVR number start with 0?
No. The first digit is never 0, and the validator rejects a value that begins with one.
Does a valid CVR prove the company is active?
No. The check proves the digits are consistent, not the registration status or ownership.
References & standards
Related tools
Denmark CPR Number Generator
Generate synthetic 10-digit Danish CPR numbers with a real birth date, a century digit and a gender marker, and validate pasted values.
SEPA IBAN Generator
Generate SEPA-eligible IBAN and BIC pairs with ISO 7064 Mod 97-10 checks.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.