Hungary TAJ Social Security Number Validator
Paste Hungarian TAJ numbers to check the nine digits and the check digit before using them for payroll, health insurance or medical forms.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste TAJ numbers
Spaces are ignored.
- 2Validate
The check digit is tested.
- 3Review failures
Typos show at once.
- 4Use in payroll
Correct numbers avoid rejected reports.
- 5Protect the data
Store securely.
About this tool
Everyone insured in the Hungarian health and social security system has a TAJ number (társadalombiztosítási azonosító jel), printed on the TAJ card. It has nine digits, usually written in three groups of three. The ninth digit is a check digit: the first eight digits are multiplied alternately by 3 and 7, the products are added, and the last digit of the sum must equal the ninth digit. Employers report the TAJ number of every employee, doctors and hospitals use it to identify patients, and pharmacies need it for subsidised medicines. This validator checks TAJ numbers so that payroll reports and medical forms do not contain typing errors.
Who this is for
HR and payroll teams in Hungary, doctors' surgeries and clinics, foreign workers who received a TAJ card, and developers.
Structure
- 9 digits, written as 123 456 789. - The ninth digit is the check digit.
The check digit
Multiply digits 1, 3, 5 and 7 by 3 and digits 2, 4, 6 and 8 by 7. Add the eight products. The last digit of the sum must equal the ninth digit.
Where the TAJ number is used
- **Employment:** employers report employees' TAJ numbers to the tax authority in monthly payroll declarations. - **Health care:** GPs, hospitals and specialists identify patients by TAJ number; the EESZT electronic health system uses it. - **Pharmacies:** subsidised prescriptions require it.
TAJ, tax ID and personal ID
- **TAJ number:** social security, 9 digits. - **Tax identification number (adóazonosító jel):** 10 digits starting with 8. Use our Hungarian tax number validator. - **Personal ID card number:** a document number, which changes with each card.
Foreign workers
Foreign employees receive a TAJ number when they are registered for social security by their employer. EU citizens on short assignments may instead use an A1 certificate and an EHIC.
Privacy
TAJ numbers are personal and health-related data. Collect and store them only as needed.
Batch checking
Paste a list of TAJ numbers to check payroll data before submitting declarations.
Worked example
111 111 110 is valid: 3 + 7 + 3 + 7 + 3 + 7 + 3 + 7 = 40, so the check digit is 0. 111 111 111 fails.
Common mistakes
- Typing the tax identification number instead of the TAJ number. - Missing a digit. - Copying numbers with extra spaces or dashes; the tool ignores them.
Getting a TAJ card
Hungarian citizens receive a TAJ number at birth. Foreign employees get one after the employer registers them, and can request the card from the government office. Students and others may apply separately.
For developers
Remove spaces and dashes, check nine digits and apply the alternating weights. Store the number as text to keep leading zeros.
Quick answers
**Does the TAJ number change?** No, it is permanent.
Limits
A valid format does not prove the number is active or belongs to a person. This is not legal advice.
Worked example
111 111 110 passes the TAJ check because the weighted sum 40 ends in 0.
Quick facts
- Category: Legal & Government
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: National Health Insurance Fund of Hungary (NEAK): TAJ number, 9 digits, the ninth a check digit equal to the sum of the first eight digits multiplied alternately by 3 and 7, modulo 10
Frequently asked questions
What is a TAJ number?
The Hungarian social security identification number, nine digits.
How is the check digit calculated?
Alternating weights 3 and 7 on the first eight digits, then the last digit of the sum.
Is the TAJ number the tax number?
No. The tax ID has ten digits starting with 8.
Do foreign workers get a TAJ number?
Yes, when registered for Hungarian social security.
Can I check many numbers?
Yes, one per line.
Is my data stored?
Only in your browser.
