DevTools Logo

Ecuador Cédula Generator

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

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
    1714307103

    Province 17, a natural-person third digit, and the mod-10 check digit 3.

    Impossible province

    Input
    2714307103
    Output
    Invalid — province code 27 is not 01–24 or 30

    The province check runs before the check digit, so the message points at the real problem.

    Wrong check digit

    Input
    1714307104
    Output
    Invalid — check digit is 4 but the first 9 digits require 3

    The 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

    1. Generate one cédula

      Click Generate to create a 10-digit value with a real province code and a natural-person third digit.

    2. Copy the value

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

    3. 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

    PartRule
    Length10 digits
    Province01–24, or 30 for Ecuadorians registered abroad
    Third digit0–5 for natural persons
    Check coefficients2, 1 alternating over the first nine digits
    Product ruleAny 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