UK Driving Licence Number Decoder and Format Validator
Paste one or many driving licence numbers to check the format and decode the date of birth and sex.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Paste the numbers
Type one per line.
- 2Run the check
The tool tests the structure.
- 3Read the parts
See surname, birth date and sex.
- 4Fix errors
Correct any wrong characters.
- 5Verify with the DVLA
Use the share code service.
Sobre aquesta eina
The driver number on a licence from Great Britain is not random. Its 16 characters are built from the holder's surname, date of birth and initials, which is why it can be checked and decoded. The first five characters are the surname, padded with 9s. The next six digits hold the decade of birth, the month, the day and the last digit of the year of birth, where 50 is added to the month for women. Then come two initials, an arbitrary digit and two computer check characters. This tool checks the structure and reads the surname, birth date and sex, without sending anything anywhere.
Who this is for
Developers who build forms that collect licence numbers, landlords and employers who need to check that a number is well formed, car rental staff, and anyone curious about how the number works.
The 16 characters
Characters 1 to 5 are the first five letters of the surname, with 9 used as filler if the surname is shorter. Character 6 is the decade digit of the year of birth, for example 6 for the 1960s. Characters 7 and 8 give the month of birth, 01 to 12 for men and 51 to 62 for women. Characters 9 and 10 are the day of birth. Character 11 is the last digit of the year of birth. Characters 12 and 13 are the first two initials, with 9 if there is no middle name. Character 14 is an arbitrary digit. Characters 15 and 16 are computer check letters.
An example
Take MORGA657054SM9IJ. The surname part is MORGA. The decade is 6, the month is 57 (which is 7 for July plus 50, so a woman), the day is 05 and the year digit is 4, so she was born on 5 July 1964. The initials are SM, the arbitrary digit is 9 and the check letters are IJ. The tool shows these parts in a table.
What the check does and does not do
The tool checks the length, the allowed characters, the month and day ranges, and the positions of the digits. The two last characters are check letters that the DVLA computes, and their formula is not public, so the tool does not check them. A number that passes the structure check may still not belong to a real licence. To verify a licence, ask the holder to share a check code, which the DVLA provides for a short time through its online service.
Privacy
A driving licence number reveals the holder's date of birth and sex, so it is sensitive. Only collect it when you have a clear need, store it securely and do not share it. Under data protection law, you must have a lawful basis and be transparent. This tool runs in your browser, and what you type is not stored or sent.
Northern Ireland and other countries
Licences in Northern Ireland have a different format of eight digits. Licences from other countries have their own formats. Our India driving licence decoder is on this site for Indian numbers.
For developers
Normalise input by removing spaces and converting to capitals, validate the structure with a regular expression, and display only what you need. Do not use the number as a public identifier. If you must validate that the licence is real, use the official check service with the holder's consent.
Worked example
MORGA657054SM9IJ passes and decodes as a woman born on 5 July 1964. SMITH902155J99AB passes and decodes as a man born on 15 February 1995. MORGA657054SM9 fails because it has only 14 characters, and a number with a month of 77 fails because there is no month 77 or 27.
Limits
A valid structure does not prove that a licence exists or is valid.
Exemple resolt
The number MORGA657054SM9IJ decodes as a woman born on 5 July 1964, while a number with 14 characters fails.
En resum
- Categoria: Jurídic i administració
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: DVLA (structure of the driver number on a GB driving licence)
Preguntes freqüents
How long is a GB driver number?
16 characters.
What do the first five characters show?
The surname, padded with 9s.
How is sex shown?
By adding 50 to the month for women.
Can I check the last two letters?
No. They are computer check characters that are not public.
Is the licence number sensitive?
Yes, because it reveals date of birth and sex.
Is my data stored?
No. It stays in your browser.
