Decoded in your browser · Nothing is sent

SA ID Number Decoder

Your South African ID number contains your date of birth, gender, and citizenship status. Enter it below to decode it instantly — all processing happens in your browser.

Enter ID number

Your ID number is never sent to any server — all calculations happen in your browser.

Written by Rand Tools Editorial Team
Updated 1 January 2026

Data: Births and Deaths Registration Act 51 of 1992 · Luhn algorithm · See methodology

Frequently asked questions

What information is stored in a South African ID number?

Your 13-digit SA ID number contains: your date of birth (digits 1–6), a gender indicator (digits 7–10, where 0000–4999 = female and 5000–9999 = male), your citizenship status (digit 11: 0 = South African citizen, 1 = permanent resident), and a check digit (digit 13) to confirm the number hasn't been mistyped.

Is it safe to enter my ID number here?

Yes. All calculations happen entirely in your browser using JavaScript. Your ID number is never sent to any server, stored, or shared. You can verify this by disconnecting from the internet — the calculator still works.

How do I read the date of birth from a South African ID number?

The first six digits of your SA ID number are your date of birth in YYMMDD format. For example, an ID starting with 901215 means the person was born on 15 December 1990. For birth years in the 1900s, prefix the two-digit year with 19. For 2000s births, prefix with 20 — so 050304 = 4 March 2005. If you have a very old ID number, be aware that births before 1900 are not encoded — everyone in the system was born in either the 1900s or 2000s, so the cutoff is typically: two-digit years 00–25 are read as 2000–2025, and 26–99 as 1926–1999 (though the exact cutoff depends on when the Home Affairs system was last updated).

What does the gender sequence (digits 7–10) in an SA ID number mean?

Digits 7 to 10 form a four-digit sequence between 0000 and 9999. Any value from 0000 to 4999 indicates female; 5000 to 9999 indicates male. The specific number within that range was assigned sequentially by Home Affairs at time of registration — it carries no additional meaning beyond the gender indicator. This system was established under the Identification Act and has remained unchanged. Note that SA ID numbers encode the binary gender recorded at birth registration and cannot currently reflect non-binary identities.

How does the Luhn check digit work in an SA ID number?

Digit 13 of your SA ID number is a check digit calculated using the Luhn algorithm. To verify it: (1) Starting from the rightmost digit (digit 13) and moving left, double every second digit. If doubling produces a number above 9, subtract 9. (2) Sum all 13 digits (original and doubled). (3) A valid ID number's total is divisible by 10. This check catches single-digit typos and most digit transpositions — for example, if someone writes 8901155800086 instead of 8901155800089, the Luhn check will fail. The decoder above runs this check automatically and flags invalid numbers.

Can someone commit identity fraud with just my SA ID number?

Your SA ID number alone is not enough to commit most forms of identity fraud — fraudsters need additional information (full name, address, copies of ID documents) to open accounts or take out credit in your name. However, your ID number is a key identifier used by banks, SARS, employers, and insurers, so sharing it carelessly does create risk. Avoid sharing it in public forums, on unsecured websites, or in response to unsolicited calls claiming to be from SARS or your bank. If you suspect your ID number has been used fraudulently, report it to the South African Fraud Prevention Service (SAFPS) at safps.org.za and Home Affairs.

Was this page helpful?