Ecuador Cédula Generator
Generate 10-digit Ecuadorian cédula numbers with a valid province code and mod-10 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 · Generate1714307103Province 17, a natural-person third digit, and the mod-10 check digit 3.
Impossible province
2714307103Invalid — province code 27 is not 01–24 or 30The province check runs before the check digit, so the message points at the real problem.
Wrong check digit
1714307104Invalid — check digit is 4 but the first 9 digits require 3The validator prints the digit the first nine digits require.
About this tool
The Ecuador Cédula Generator produces 10-digit Cédulas de identidad in the form the Registro Civil issues. The first two digits are a province code from 01 to 24, or 30 for Ecuadorians registered abroad; the third digit is 0 to 5 for natural persons, followed by six more digits and a check digit.
The check digit uses coefficients 2 and 1 alternately over the first nine digits. Any product above 9 loses 9, the products are summed, and the check is (10 minus the sum mod 10) mod 10. Validation tests the province, the third digit and the check digit in that order, so the message names the exact rule that failed rather than a generic format error.
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
- The tool checks structure and the check digit; it does not confirm the cédula was issued.
- Province 30 is accepted in validation but the generator draws provinces 01–24 only.
- A passing value carries no name, birth date or other identity data.
- Validation is local arithmetic with no Registro Civil lookup.
How to use this tool
Generate one cédula
Click Generate to create a 10-digit value with a real province code and a natural-person third digit.
Copy the value
Copy it to a test fixture or download it as a .txt file.
Validate a pasted number
Switch to Validate to check the province, the third digit and the mod-10 check digit.
Use cases
Ecuadorian signup forms
Fill cédula fields with values that pass the province and mod-10 checks.
Province validation
Confirm that your own validator rejects codes outside 01–24 and the 30 abroad code.
Natural-person guard
Test the rejection path for a third digit above 5, which is not a natural-person cédula.
Cédula structure
| Part | Rule |
|---|---|
| Length | 10 digits |
| Province | 01–24, or 30 for Ecuadorians registered abroad |
| Third digit | 0–5 for natural persons |
| Check coefficients | 2, 1 alternating over the first nine digits |
| Product rule | Any product above 9 loses 9 |
| Check formula | (10 − sum mod 10) mod 10 |
A third digit of 6 or higher marks a different document type and is rejected here.
Common mistakes
Mistake:Checking only the length
Fix:The province and the third digit are real constraints, not just the ten-digit shape.
Mistake:Forgetting the subtract-9 step
Fix:Every coefficient product above 9 must lose 9 before the sum is taken.
Mistake:Treating 30 as an invalid province
Fix:30 is the code for Ecuadorians registered abroad and is accepted.
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.
What do the first digits of a cédula mean?
The first two digits are the province, from 01 to 24, or 30 for Ecuadorians registered abroad. The third digit is 0 to 5 for natural persons.
How is the mod-10 check digit calculated?
Coefficients 2 and 1 alternate over the first nine digits, any product above 9 loses 9, and the check is (10 minus the sum mod 10) mod 10.
Why is a third digit above 5 rejected?
Digits 6 and higher mark document types other than a natural-person cédula, so this validator treats the value as the wrong kind of document.
Does the generator produce province 30?
No. Province 30 is accepted when you validate a pasted number, but generated values draw from provinces 01 to 24.
References & standards
Related tools
Ecuador RUC Generator
Generate synthetic 13-digit SRI RUC numbers for individuals (cédula + 001) and companies, with the mod-11 check digit.
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.