South Africa ID Number

Prev Next

A South African ID number is a 13-digit number that defines the date of birth, gender, and South African citizenship status.

Validator

Luhn 10 (remainder 0) — Validates using the Luhn 10 checksum.

Matched expressions

Regex expressions

Description

Score

(\b([0-9]{2})(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])([0-9]{4})(0|1)([8])([0-9])\b)

Matches a 13-digit number of the format NNNNNNNNNNNNN, where:

  • Digit (1–2) is [00–99]

  • Digit (3–4) is [01–12]

  • Digit (5–6) is [01–31]

  • Digit (7–10) is [0000–9999]

  • Digit 11 is 0 or 1

  • Digit 12 is number 8

  • Digit 13: [0–9]

1



Ignored expressions

None