South Korea RRN Validator

Verify a Korean Resident Registration Number with the real mod-11 check-digit algorithm.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The South Korean Resident Registration Number (주민등록번호, often abbreviated RRN or JuminDeungnokBeonho) is a 13-digit national identifier issued by the Korean Ministry of the Interior and Safety to every Korean citizen at birth, and to registered foreign residents under a parallel scheme. If you are building a Korean-market application, integrating with Korean payment gateways, processing KYC data, or working with government APIs, you will encounter RRNs regularly — and you need a way to catch typos and malformed numbers before they reach your database.

This tool runs the official weighted mod-11 check-digit algorithm entirely in your browser, extracts the embedded birth date (with an unambiguous four-digit year), decodes the gender and nationality indicator, and shows you every intermediate step so you understand why a number passes or fails.

Structure of an RRN

An RRN follows the pattern YYMMDD-GXXXXC:

PositionLengthMeaning
1–22 digitsBirth year, last two digits (YY)
3–42 digitsBirth month (01–12)
5–62 digitsBirth day (01–31)
71 digitGender / century / nationality code (G)
8–114 digitsSerial: encodes original registration region + sequence (XXXX)
121 digitHistorically encoded sub-region; now mostly redundant
131 digitCheck digit (C)

The hyphen after position 6 is conventional; it is not part of the number itself and this validator accepts input with or without it.

Gender and century codes

The single digit at position 7 is the most information-dense field in the RRN:

CodeGenderBirth centuryNationality
9Male1800sKorean national
0Female1800sKorean national
1Male1900sKorean national
2Female1900sKorean national
3Male2000sKorean national
4Female2000sKorean national
5Male1900sForeign national
6Female1900sForeign national
7Male2000sForeign national
8Female2000sForeign national

Codes 9 and 0 exist for historical records only. The overwhelming majority of RRNs in active use carry codes 1–4.

The mod-11 check-digit algorithm

The check digit at position 13 is computed from the preceding 12 digits using a fixed weight sequence and modular arithmetic:

  1. Weights (fixed, repeating): [2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5]
  2. Weighted sum: multiply each digit by its corresponding weight and add them all up.
  3. Remainder: compute weightedSum mod 11.
  4. Subtract: 11 − remainder.
  5. Final mod: take the result mod 10 to produce a single digit.

Concisely: check = (11 − (weightedSum mod 11)) mod 10

The final mod 10 step handles the case where step 4 yields 10 or 11 — both reduce to a single digit (0 or 1) so the check digit is always in the range 0–9.

Example (obviously fake, for illustration)

Consider the fake number 850312-1234567. Breaking it down:

  • Birth date digits: 8 5 0 3 1 2
  • Gender/century code: 1 (male, born 1900s → birth year 1985-03-12)
  • Serial digits: 2 3 4 5
  • Sub-region digit: 6
  • Check digit: 7

Weighted sum = (8×2)+(5×3)+(0×4)+(3×5)+(1×6)+(2×7)+(1×8)+(2×9)+(3×2)+(4×3)+(5×4)+(6×5) = 16+15+0+15+6+14+8+18+6+12+20+30 = 160

160 mod 11 = 6 → 11 − 6 = 5 → 5 mod 10 = 5

The expected check digit is 5, but the number ends in 7 — so this specific fake number fails the checksum. Paste it into the tool to see the breakdown live.

Every calculation runs locally. No data is uploaded or stored anywhere.

Ad placeholder (rectangle)