Sweden Organisationsnummer Generator
Generate 10-digit Swedish organisation numbers with the Luhn check digit — 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 an organisation number
Organisationsnummer · Generate556036-0793The third digit 6 marks an organisation and the final 3 completes the Luhn check.
Validate a pasted value
556036-0793Valid — Luhn check digit 3The validator strips the hyphen and recomputes Luhn over the ten digits.
Reject a wrong check digit
556036-0794Invalid — check digit is 4 but the first 9 digits require 3The failure is reported as a checksum error rather than a format error.
About this tool
The Sweden Organisationsnummer Generator produces one 10-digit organisation number in the NNNNNN-NNNN layout. The third digit is always at least 2, the rule that keeps an organisation number from being read as a personnummer, and the tenth digit is a Luhn check digit.
Swedish VAT numbers are built from the same digits: SE, the ten-digit organisation number and the suffix 01. Generation randomizes the allowed digits and derives the Luhn digit, while validation checks the third digit before the checksum.
These are synthetic values for QA and development, never for real applications, KYC checks, tax filings, identity documents or impersonation. A random value can coincide with a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- Generates organisation numbers only; personnummer has its own tool.
- Validation confirms structure and Luhn, not registration status.
- A random value can match a real company's organisation number.
- The VAT form is described but only the organisation number is validated.
How to use this tool
Choose the organisation option
The tool is pinned to the Swedish organisationsnummer, which uses 10 digits with a Luhn check digit.
Generate a value
Click Generate to create one NNNNNN-NNNN value whose third digit is 2 or higher.
Validate or copy
Switch to Validate to check a pasted number, or copy the result and download it as a .txt file.
Use cases
Company registration fixtures
Seed Swedish company records with an organisation number that passes the third-digit and Luhn checks.
Invoice and VAT tests
Build the matching SE…01 VAT form from a generated organisation number for invoice fixtures.
Third-digit rule tests
Pair a valid orgnr with a value whose third digit is below 2 to cover the personnummer rejection branch.
Organisationsnummer rules
| Part | Rule |
|---|---|
| Layout | NNNNNN-NNNN |
| Third digit | At least 2; lower values belong to personnummer |
| Check digit | Luhn over all ten digits |
| VAT number | SE + organisation number + 01 |
| Validation | Checks the third digit, then the Luhn digit |
556036-0793 is the layout example used by the tool and its tests.
Common mistakes
Mistake:Confusing it with a personnummer
Fix:The third digit of an organisation number is at least 2; personnummer serials can start lower.
Mistake:Appending 01 without SE
Fix:The VAT form is SE plus the ten digits plus 01.
Mistake:Treating the VAT suffix as part of the number
Fix:The number itself is ten digits; SE and 01 belong to the VAT presentation.
Frequently asked questions
Are these real Swedish organisation numbers?
No. They are synthetic values for QA and development and cannot be used for real company registrations, invoices, tax filings, or KYC checks; DevTools accepts no liability for how they are used.
How is an organisation number different from a personnummer?
Both are ten digits with a Luhn check, but the third digit of an organisation number is at least 2, which keeps it from being read as a personal identity number.
How do I build the Swedish VAT number?
Prefix the ten-digit organisation number with SE and append 01. The tool validates the organisation number itself; the SE and 01 parts are presentation for VAT exchanges.
Can a generated number match a real company?
It can. The Luhn check only proves the number is well formed, so a random value may coincide with a registered company. Use generated values in test data only.
Why does the third digit have to be at least 2?
Values below 2 are reserved for personal identity numbers, so the rule keeps organisation and person numbers distinguishable. The validator checks it before the Luhn digit.
References & standards
Related tools
Sweden Personnummer Generator
Generate synthetic Swedish personnummer in YYMMDD-NNNC format with a valid birth date and Luhn check digit.
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.