DevTools Logo

CLABE Generator

CLABE Generator

Generate 18-digit Mexican SPEI CLABE numbers with official 3-7-1 Mod-10 check digits — synthetic mock data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates one value with a valid checksum. Use Bulk for up to 500 records, or 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.

    About this tool

    The CLABE Generator creates 18-digit Mexican SPEI CLABE (Clave Bancaria Estandarizada) numbers that pass the official Banxico 3-7-1 weighted Mod-10 check-digit algorithm. Each number encodes a 3-digit bank code (such as 002 Banamex, 012 BBVA, 014 Santander, 072 Banorte, or 646 STP), a 3-digit plaza code, an 11-digit account number, and the calculated 18th control digit.

    Use it to test Mexican fintech, Conekta/Openpay/Stripe MX payout forms, and SPEI webhook parsers locally without real account data.

    How to use this tool

    1. Pick a Mexican SPEI bank

      Choose any SPEI bank or filter by Banamex, BBVA, Santander, Banorte, or STP.

    2. Generate or validate

      Create valid 18-digit CLABE numbers or verify the 18th check digit in Validate.

    3. Export for QA

      Download up to 500 synthetic CLABE records in JSON, CSV, or SQL.

    Mexican CLABE structure

    DigitsMeaning
    1–33-digit ABM bank code (e.g. 012 BBVA, 646 STP)
    4–63-digit city/plaza code
    7–1711-digit account number
    18Banxico 3-7-1 weighted Mod-10 check digit

    Synthetic SPEI test numbers only; not connected to Banxico or real bank accounts.

    Frequently asked questions

    How is the 18th check digit of a Mexican CLABE calculated?

    Each of the first 17 digits is multiplied by [3, 7, 1] repeating, each product is taken mod 10, summed, and the check digit is (10 - (sum mod 10)) mod 10.

    Which Mexican banks are included?

    You can filter by Banamex (002), BBVA (012), Santander (014), HSBC (021), Scotiabank (044), Banorte (072), Azteca (127), or STP (646).

    Are generated CLABE numbers linked to real SPEI accounts?

    No. They are synthetic test values for LATAM payment and ERP QA only.