JMBG (Serbia/Yugoslavia) Validator
Validates JMBG (Jedinstveni Maticni Broj Gradjana) 13-digit personal identifier from former Yugoslavia countries.
Formato: DDMMYYY RR BBB K — data de nascimento, código de região, série e dígito verificador.
JMBG: the 13-digit unique citizen number of the former Yugoslavia
The JMBG (Jedinstveni matični broj građana — Unique Master Citizen Number) is the 13-digit identifier still used across the former Yugoslav republics, including Serbia. It packs birth date, region of registration, a serial that encodes sex, and a mod-11 check digit into one number. This tool validates the structure and the checksum; 0101975001003 is a sample.
It's unusually information-rich: from a JMBG you can read someone's birth date, the region they registered in, and their sex — which is exactly why it's considered sensitive personal data.
The seven fields of DDMMYYY RR BBB K
- DDMMYYY (7 digits): birth date, where YYY is the last three digits of the year (e.g.
975→ 1975,012→ 2012). - RR (2 digits): the registration region (e.g.
70–72Serbia/Belgrade,78Novi Sad,20Montenegro). - BBB (3 digits): a serial; 000–499 male, 500–999 female.
- K (1 digit): the mod-11 check digit over the first 12.
Where it matters
- Across the region: still used in Serbia, Bosnia, Montenegro, North Macedonia, Slovenia and Croatia (legacy).
- Government & health: the master key for civil registries and healthcare.
- Demographic decoding: birth date, region and sex are all readable from the digits.
- Mock data / testing: the mod-11 rule lets you generate valid test numbers.
Common pitfalls
- YYY is three digits, not two: the year field is the last three digits of the year — a frequent parsing mistake.
- Region codes vary: the RR map reflects former-Yugoslav regions; don't assume a single country.
- Highly sensitive: a JMBG leaks birth date and sex — treat it as protected PII.
- Checksum ≠ issued: a valid mod-11 doesn't prove the JMBG is assigned to a real person.
FAQ
Can I read sex from a JMBG? Yes — the 3-digit serial 000–499 is male, 500–999 is female.
Why only three year digits? The year field stores the last three digits (e.g. 975 or 012), so a rule is needed to resolve 1900s vs 2000s.
Is the JMBG used outside Serbia? Yes — it originated in Yugoslavia and persists across several successor states.
Related Tools
Google Tag Manager ID Validator
Validate GTM ID format: GTM-XXXXXXX (7 alphanumeric chars after GTM-). For implementation audits.
PESEL Poland Validator
Validate a Polish PESEL number (11 digits) by its checksum and extract the birth date and sex embedded in it. Useful for Polish records and data validation.
France Postal Validator
Validate the format of a French postal code (5 digits). Useful for forms, e-commerce and international shipping to customers in France.
Brazilian Passport Validator
Validate Brazilian passport format: 2 letters + 6 digits (AB123456). Format only — no authenticity check.
Legacy RENAVAM Validator (9 digits)
Validate the old RENAVAM format (9 digits) used before 2013. For validating legacy vehicle database data.
Spain DNI/NIE Validator
Validate Spanish DNI (National ID) and NIE (Foreigner ID) — checks control letter using official algorithm.