Coverage · Serbia
JMBG detection and redaction
OpenAnonymizer finds the Serbian JMBG in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.
At a glance
- Country
- Serbia RS
- Format
- JMBGJedinstveni matični broj građana
- Placeholder
- Each distinct value gets its own number: YU_JMBG_1, YU_JMBG_2, and so on.
- How it is confirmed
- Official label and checksum
- Used for
- Identifying people in Serbia and in other former Yugoslav republics that kept the number, such as Bosnia and Herzegovina, Montenegro and North Macedonia.
About the JMBG
The JMBG was introduced in Yugoslavia in 1976. It is 13 digits: the date of birth as DDMMYYY, a two-digit region of birth, a three-digit number that also gives the sex, and a check digit.
Slovenia's version is the EMŠO, which has its own page.
- In
- JMBG: 0101980710123
- Out
- JMBG:
How OpenAnonymizer handles it
Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.
- It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
- Every package ships every detector, so this format is covered in each of them.
- It covers 34 languages.
Related formats
The same country, or the same kind of number elsewhere.