Serbian JMBG decoder
The JMBG (Jedinstveni matični broj građana) is a 13-digit identifier used across Serbia and the former Yugoslavia. Paste a number and this tool reads the date of birth, region of registration and gender, and verifies the check digit — useful for developers validating ID input or anyone curious what a JMBG encodes.
How it works
The 13 digits follow the pattern DDMMGGG RR BBB K:
| Segment | Meaning |
|---|---|
| DDMMGGG | Date of birth — day, month, and last 3 digits of the year |
| RR | Region / registration code |
| BBB | Serial 000–999; under 500 = male, 500 and over = female |
| K | Modulo-11 check digit |
The implied century is reconstructed from the three year digits (800–999 →
1800s/1900s, 000–799 → 2000s). The check digit validates the first twelve digits
with weights 7 6 5 4 3 2 7 6 5 4 3 2: multiply, sum, take m = 11 − (sum mod 11); if m is 1–9 the check digit is m, and if m is 10 or 11 the check digit is 0.
Example
For a JMBG beginning 0101990…, the first seven digits decode to 1 January
1990, the serial determines gender (e.g. 123 → male), the RR pair maps to a
region such as central Serbia, and the final digit is checked against the
modulo-11 formula.
All decoding runs in your browser, with nothing uploaded. A valid check digit confirms only that the number is internally consistent, not that it is registered to a real person.