Luxembourg RCS number and national ID validator
Checks the format of a Luxembourg RCS number (section letter and digits) and validates a natural person's national identification number: a real birth date and two check digits. Nothing leaves your browser.
RCS number
Enter an RCS number, for example B123456, to check its format and see the entity type.
This tool only checks the format. It doesn't confirm that a company or association exists under this number.
To find out who holds this number, search the register's official website: Search on lbr.lu (Luxembourg Business Registers)
RCS sections, A to O
- A
- Sole traders
- B
- Commercial companies and mutual insurance associations
- C
- Economic interest groupings (GIE)
- D
- European economic interest groupings (EEIG)
- E
- Civil companies (sociétés civiles)
- F
- Non-profit associations (ASBL)
- G
- Foundations
- H
- Agricultural associations
- I
- Pension savings associations
- J
- Public institutions
- K
- Common investment funds (FCP)
- L
- Reserved alternative investment funds (RAIF)
- M
- Mutual societies (mutuelles)
- N
- Branches
- O
- Securitisation funds
National ID (natural person)
Enter a 13-digit national ID number to check the date of birth and both check digits.
The number stays in your browser: it's neither sent nor saved.
How it works
An RCS number starts with a letter followed by digits. The letter is the section of the Trade and Companies Register where the file is kept, as set by article 11 of the Grand-Ducal Regulation of 23 January 2003, so it tells you the type of entity (commercial company, non-profit association, foundation, branch and so on). The tool strips what usually surrounds the number on a letterhead or invoice ("R.C.S. Luxembourg", spaces, dots), then checks the letter and the digits.
An RCS number has no check digit: a correct format says nothing about whether the company exists. Only a search on the Luxembourg Business Registers website (lbr.lu), which runs the register, can confirm that.
Since 1 July 2014, a natural person's national identification number ("matricule") has 13 digits: the date of birth (YYYYMMDD), 3 digits that tell apart people born on the same day, then two check digits. The first is computed over the first 11 digits with the Luhn algorithm, the second with the Verhoeff algorithm, following the structure published by the Joint Social Security Centre (CCSS).
The tool checks that the date exists on the calendar (29 February only in leap years) and isn't in the future, then recomputes both check digits. A consistent number is not necessarily assigned to anyone: only the authorities can confirm that.
Example
A national ID number reads YYYY MM DD XXX C1 C2: the first 8 digits are the date of birth (19830217 for 17 February 1983, for example), XXX is the sequence number, and C1 and C2 are the check digits. This example deliberately gives no complete number: any consistent number could belong to a real person.
C1 (Luhn) is computed over the first 11 digits. Starting from the right, every other digit is doubled, beginning with the last one; a result above 9 is replaced by the sum of its digits (16 gives 1 + 6 = 7). All the resulting digits are added up: C1 is what's missing to reach the next multiple of ten (a sum of 42 gives C1 = 8, a sum of 50 gives C1 = 0).
C2 (Verhoeff) is computed over the same 11 digits using permutation tables. This algorithm catches any error in a single digit and any swap of two neighbouring digits. The tool recomputes C1 and C2 and tells you which one doesn't match.
For an RCS number such as B 123456, the letter B is the section for commercial companies; the format is correct, but only a search on lbr.lu tells you whether a company holds that number.
Frequently asked questions
Does the number I type leave my browser?
No. The check runs entirely in your browser: neither the national ID nor the RCS number is sent to a server, saved or kept. They're gone when you close the page. Only your language choice is remembered, locally on your device.
Does a valid RCS number prove the company exists?
No. The tool only checks the shape of the number: an existing section letter followed by digits. It doesn't look anything up in the register. To find out whether a company is registered under that number, and whether it's still active, search on lbr.lu, the Luxembourg Business Registers website.
What does the letter at the start of an RCS number mean?
It's the register section where the file is kept, defined by article 11 of the Grand-Ducal Regulation of 23 January 2003. For example, B covers commercial companies and F non-profit associations. The full list of sections, from A to O, is shown under the RCS field.
How is the Luxembourg national identification number built?
Since 1 July 2014 it has 13 digits: year, month and day of birth, 3 sequence digits, one check digit computed with the Luhn algorithm and a second one with the Verhoeff algorithm, both over the first 11 digits. The old number had 11 digits and is no longer used.
Why does my number have a "month" above 12?
It's probably a legal person's number (a company, for example). It also has 13 digits, but after the year come a legal form code (20 to 99), an order number and a single check digit. This tool only checks natural persons' numbers.
