How the Uruguayan Cédula Check Digit Works, with a Batch Validator
Check a Uruguayan cédula de identidad: calculate the digit with weights 2 9 8 7 6 3 4, format it as 1.234.567-2 and clean whole lists in batch.

How the Uruguayan Cédula Check Digit Works, with a Batch Validator
The Uruguayan cédula de identidad ends with a check digit that catches most typing mistakes. The Uruguay Cédula Check Digit Validator calculates that digit, explains each step and cleans whole lists before you import them.
What the cédula is
The cédula is issued by the Dirección Nacional de Identificación Civil and identifies every person in the country. It is used for contracts, payroll, health insurance and online services. It is written as a number of up to seven digits followed by a check digit, usually in the format 1.234.567-2.
The algorithm
The check digit is calculated from the other digits, so a single mistyped number can usually be detected.
| Step | What to do |
|---|---|
| 1 | Pad the number to 7 digits with zeros on the left |
| 2 | Multiply by 2, 9, 8, 7, 6, 3, 4 |
| 3 | Add the products |
| 4 | Digit = (10 − last digit of the sum) mod 10 |
In words, the digit is the amount needed to reach the next multiple of ten.
A worked example
Take 1.234.567. Multiplying each digit by its weight gives 2, 18, 24, 28, 30, 18 and 28, which add up to 148. The last digit of the sum is 8, and 10 − 8 = 2, so the full cédula is 1.234.567-2. If a list contains 1.234.567-3, the tool marks that line as wrong and shows the correct digit, 2.
Accepted formats
You can type numbers with or without dots, with a dash or a space before the digit. The output is always in the 1.234.567-2 format.
Batch mode
Paste a column from a spreadsheet. If your numbers already include the check digit, the tool validates each one. If they do not, untick the option and it calculates the digits instead. Duplicates are flagged, and a clean formatted list with each cédula once is ready to copy back or export as CSV.
Common errors
Typing errors often swap two digits or repeat one, and the check digit catches most of them. Lists exported from old systems sometimes lose leading zeros or the dash; the tool handles both and outputs a consistent format.
Who it helps
Companies loading employee or customer lists, schools, health providers and anyone filling in forms can catch errors before they cause problems.
Using the validator
- Type a cédula in any format.
- Read the correct digit and the step-by-step table.
- Paste a list for batch mode.
- Choose whether lines include the digit.
- Clean the list and download the CSV.
A correct digit only shows that the number is well formed, not that it belongs to a person. This is not legal advice.
Work in small, saved steps
Every tool in this series keeps your work as a project in your own browser. Make a change, check the preview, and use undo (Ctrl+Z) or redo (Ctrl+Y) freely; nothing is lost while you experiment. Before a big change, save a named copy from the Projects menu, so you can return to it later or compare two versions side by side. Export the project file when you want to move it to another computer or keep a backup, and import it again whenever you need it.
Privacy by design
The processing happens in the page itself. Files you open are read by code running on your device, results are calculated locally, and nothing is sent to a server or stored in a cloud account. That makes the tool suitable for customer lists, financial data and other material you would not upload to an unknown website. If a component such as a file reader or a map outline is downloaded from a public CDN, only that open-source code or public data is fetched, never your own content.
Share the result clearly
When you pass the output to colleagues, say where the data came from, when it was exported, and which settings you used, so that someone else can repeat the work and get the same answer. Keep the original file unchanged and store the cleaned or calculated version separately. A short note with the assumptions, filters and date saves a lot of questions later and makes the result easier to trust.
Privacy
The tool runs entirely in your browser. Your details stay on your device and are never uploaded.
Save your work
Projects are saved automatically in this browser. Export them as a file to keep a copy, or print a report.


%20Generator&c=%23991b1b&k=documents)
