Uruguay Cédula (CI) Generator
Generate Uruguayan cédula de identidad numbers with the DNIC check digit — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates 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).
Examples
Generated cédula
Cédula · Generate1.234.567-2Seven digits with the DNIC check digit 2 and optional dot separators.
Plain-digit input
12345672Valid — check digit 2 matches 1234567Separators are presentation only, so the parser accepts the same value without dots.
Wrong check digit
1.234.567-3Invalid — check digit is 3 but 1234567 requires 2The 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
Generate one cédula
Click Generate to create a body starting with 1 to 5, formatted with dots and the DNIC check digit.
Copy the value
Copy it to a fixture or download it as a .txt file.
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
| Part | Rule |
|---|---|
| Body | 1 to 7 digits |
| Padding | Left-padded to 7 digits before the check |
| Weights | 2, 9, 8, 7, 6, 3, 4 |
| Check formula | (10 − sum mod 10) mod 10 |
| Typical form | 1.234.567-2 |
| Generated leading digit | 1 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.
Related tools
Uruguay RUT Generator
Generate synthetic 12-digit DGI RUT numbers in 21-100342-001-7 form with the mod-11 check digit, and validate pasted values.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.