DevTools Logo

Uruguay Cédula (CI) Generator

Uruguay Cédula (CI) Generator

Generate Uruguayan cédula de identidad numbers with the DNIC check digit — synthetic test data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.

Generated value

No value yet

Set options, then press Generate.

Generated values are valid in shape but randomized (Test Data).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal. DevTools accepts no liability for how generated data is used.

    Examples

    Generated cédula

    Input
    Cédula · Generate
    Output
    1.234.567-2

    Seven digits with the DNIC check digit 2 and optional dot separators.

    Plain-digit input

    Input
    12345672
    Output
    Valid — check digit 2 matches 1234567

    Separators are presentation only, so the parser accepts the same value without dots.

    Wrong check digit

    Input
    1.234.567-3
    Output
    Invalid — check digit is 3 but 1234567 requires 2

    The validator prints the padded body and the digit it requires.

    About this tool

    The Uruguay Cédula (CI) Generator produces Cédulas de identidad in the layout the Dirección Nacional de Identificación Civil uses: 1 to 7 digits plus a check digit, written with dots and a hyphen as in 1.234.567-2. Generated values start with a leading digit from 1 to 5.

    The check digit is computed by left-padding the body to seven digits and multiplying by weights 2, 9, 8, 7, 6, 3 and 4. The check is (10 minus the sum mod 10) mod 10. Because the padding is part of the algorithm, shorter cédulas are handled the same way as seven-digit ones, and the validator strips dots and the hyphen before checking.

    These are synthetic values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.

    What this tool does not do

    • Validation confirms the check digit only; it does not prove the cédula was issued.
    • Generated values start with 1 to 5, so other leading digits appear only in pasted samples.
    • The tool holds no name, birth date or civil-registry data.
    • No DNIC lookup is performed; all arithmetic stays in the browser.

    How to use this tool

    1. Generate one cédula

      Click Generate to create a body starting with 1 to 5, formatted with dots and the DNIC check digit.

    2. Copy the value

      Copy it to a fixture or download it as a .txt file.

    3. Validate a pasted CI

      Switch to Validate to recompute the check digit; dots and the hyphen are optional on input.

    Use cases

    Uruguayan account forms

    Fill identity-number fields with values that pass the DNIC check digit.

    Separator normalization

    Confirm that dotted and plain-digit CIs resolve to the same value in your backend.

    Short body handling

    Test that your implementation left-pads a six-digit body before computing the check.

    Cédula structure

    PartRule
    Body1 to 7 digits
    PaddingLeft-padded to 7 digits before the check
    Weights2, 9, 8, 7, 6, 3, 4
    Check formula(10 − sum mod 10) mod 10
    Typical form1.234.567-2
    Generated leading digit1 to 5

    Validation accepts plain digits such as 12345672 as well as the dotted form.

    Common mistakes

    Mistake:Computing the check over an unpadded body

    Fix:The body is left-padded to seven digits before the weights are applied.

    Mistake:Rejecting a value without dots

    Fix:Dots and the hyphen are separators; the digits are what matter.

    Mistake:Assuming a fixed length

    Fix:CIs range from 2 to 8 digits including the check digit, so validate after padding.

    Frequently asked questions

    Are these real cédulas, and can I use them in production?

    No. They are synthetic test values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used.

    How is the DNIC check digit calculated?

    The body is left-padded to seven digits and multiplied by the weights 2, 9, 8, 7, 6, 3 and 4. The check is (10 minus the sum mod 10) mod 10.

    Do I need to include dots and the hyphen?

    No. The usual display is 1.234.567-2, but dots and the hyphen are stripped before validation, so plain digits work too.

    Why do generated cédulas always start with 1 to 5?

    The generator starts the body with a digit from 1 to 5. That is a generation choice, not a rule of the identifier.

    Does a passing value mean the person exists?

    No. Validation confirms the check digit only and says nothing about civil registration or identity.