Datatypes › Bulgaria › Personally identifiable information

Bulgarian unified civil number (EGN)

Единен граждански номер (ЕГН)

ID bg_egn

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Единен граждански номер, the 10-digit personal number of Bulgarian citizens. The first six digits encode the date of birth (the month is shifted for births outside the 20th century), the next three are a birth order number that also gives the sex, and the last digit is a check digit.

Categories
Personally identifiable information, Person related
Countries
Bulgaria
Languages
Bulgarian
W3C DPV
pd:OfficialID
Microsoft Purview
Bulgaria uniform civil number, EU national identification number, EU Tax Identification Number (TIN), EU Tax identification number
python-stdnum
stdnum.bg.egn
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Cloudflare DLP, Datadog Sensitive Data Scanner, DataPrep, Microsoft Purview Data Loss Prevention, python-stdnum, Snowflake sensitive data classification, validator.js

Regular expression

^\d{10}$

Python re syntax.

Test a value

Examples

ValueDescription
2143258377 Synthetic number with a valid check digit
2631299974 Synthetic number with a valid check digit
21432583777 invalid One character too many

Translations

LanguageNameDescription
BulgarianЕдинен граждански номер (ЕГН)

Sources

Use this record