Skip to main content

South Korean RRN Generator

Generate and format valid South Korean Resident Registration Numbers (RRN) for software QA testing.

Waiting for generation...

About the South Korean RRN

The RRN (Resident Registration Number / 주민등록번호) is the 13-digit national identity number used in South Korea.

Structured as YYMMDD-SNNNNNC: birth date (6 digits), century/gender code (1 digit), and a weighted modulo 11 check digit.

Anatomy & Structure of the RRN (주민등록번호 / Resident Registration Number)

The South Korean Resident Registration Number consists of 13 digits in 5 parts:

PositionFieldLengthMeaning & RuleExample
1 to 6Birth Date6 digitsDate in YYMMDD format900307
7Gender & Century1 digit1/2=20th century (M/F), 3/4=21st century (M/F), 5-8=Foreigners1
8 to 11Registration Office4 digitsLocal registration office code (randomized since Oct 2020)2345
12Sequential Number1 digitDifferentiates individuals with same birth/location6
13Check Digit1 digitCalculated via Modulo 11 with specific weights7

Official Algorithm (Modulo 11 — Resident Registration Act)

Official check digit calculation for South Korean RRN:

S = Σ d[i] × W[i] (i=1..12); DV = (11 - (S mod 11)) mod 10
  1. 1. Multiply the first 12 digits by weights: W = [2, 3, 4, 5, 6, 7, 8, 9, 2, 3, 4, 5].
  2. 2. Sum all products into total S.
  3. 3. Calculate remainder of S divided by 11.
  4. 4. Subtract remainder from 11 and apply modulo 10: DV = (11 - remainder) mod 10.
  5. 5. The RRN is valid if the 13th digit matches the calculated check digit.

Frequently Asked Questions