esc
ID checkers

SA ID number validator:
Check and decode a South African ID

Type a 13-digit South African ID number to check its control digit and see the birth date, sex and citizenship in it.

More tools for South Africa Other countries

How to use SA ID number validator

  1. 01Type the ID number13 digits, spaces are fine.
  2. 02See what it encodesBirth date, sex, citizenship.
  3. 03Check the control digitThe SARS steps, shown.
Front and back of an ID card on one sheet of paper

800101 5009 087: male, 1 January 1980.

A South African ID number is YYMMDD SSSS C A Z: date of birth, a sequence that shows sex, a citizenship digit and a control digit. The tool follows the SARS steps for the control digit and decodes the rest, the same checks payroll systems run before an IRP5.

A South African ID number is 13 digits, YYMMDD SSSS C A Z. The checker above follows the control-digit method SARS publishes for payroll submissions and reads the date of birth, sex and citizenship status the number encodes.

What each part means

The number doesn’t say the century, so an ID starting with 05 could belong to someone born in 1905 or 2005. The tool shows both when both are possible.

  • YYMMDD: date of birth.
  • SSSS: sequence number, 0000–4999 for women and 5000–9999 for men.
  • C: 0 for a South African citizen, 1 for a permanent resident, 2 for a refugee.
  • A: formerly a race marker, now usually 8 or 9 and without meaning.
  • Z: the control digit.

The SARS control-digit method

SARS’s example 800101 5009 087: 8 + 0 + 0 + 5 + 0 + 0 = 13; 011098 × 2 = 22196, whose digits add up to 20; 13 + 20 = 33; 10 − 3 = 7, the last digit. The number belongs to a man born on 1 January 1980 who is a South African citizen.

  1. Add the digits in the odd positions, leaving out the last digit.
  2. Write the digits in the even positions as one number and multiply it by 2.
  3. Add the digits of that result.
  4. Add the two totals together.
  5. Subtract the last digit of that sum from 10. The result (or its last digit, if it is 10) must equal the 13th digit.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

How do I check if an SA ID number is valid?

Add the digits in the odd positions (1st, 3rd … 11th). Write the even-position digits as one number, double it and add its digits. Add the two results; 10 minus the last digit of that sum must equal the 13th digit (10 counts as 0). This is SARS’s published method.

How do I read the gender and citizenship?

Digits 7 to 10 are a sequence number: 0000 to 4999 for women, 5000 to 9999 for men. Digit 11 is 0 for a South African citizen, 1 for a permanent resident and 2 for a refugee.

Does a valid result prove the ID is real?

No. A valid control digit only means the number is well formed. The tool doesn’t contact Home Affairs, so it can’t say whether the number was issued or whose it is.

Is the number sent anywhere?

No. The check runs in your browser and nothing you type leaves your device.

Is there an ID number generator?

No. The tool only checks numbers you already have, or works out the last digit of the first 12 you type.

Where is this method published?

In SARS’s Business Requirement Specification for the PAYE Employer Reconciliation, Appendix B 8.3, which payroll software must follow for IRP5 certificates.