idnumbers
    Preparing search index...

    The Resident Registration Number of South Korea. This page is generated from the registry metadata of the library.

    Property Value
    Country code KOR, KR
    ID type Resident Registration Number
    Official name 주민등록번호 (RRN)
    Also known as Resident Registration Number; 주민등록번호; RRN; 住民登錄番號; Jumin Deungnok Beonho
    Display format YYMMDD-GSSSSSS
    Input masks ######-#######
    Length 13 to 14
    Example 800101-1234567
    Checksum no
    Checksum algorithm None (not validated; modern RRNs no longer carry a verifiable check digit)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('KOR', '800101-1234567').isValid; // true

    To bundle only this country, import its definition from idnumbers/countries/kor and pass it to register():

    import { register, validateNationalId } from 'idnumbers/core';
    import { country } from 'idnumbers/countries/kor';

    register(country);
    validateNationalId('KOR', '800101-1234567').isValid; // true