Blog
CLABE Validator: Check a Mexican CLABE Before You Pay by SPEI

CLABE Validator: Check a Mexican CLABE Before You Pay by SPEI

Written by
Share this  
CLABE Validator: Check a Mexican CLABE Before You Pay by SPEI

Paying a contractor or supplier in Mexico starts with their CLABE, the 18-digit account number every SPEI transfer uses. One wrong digit and the payment bounces or, worse, lands in the wrong account. Paste a CLABE below to check its check digit and see the bank, plaza and account it encodes. It runs in your browser, so nothing you type is sent anywhere.

CLABE validator

Checker loading. If it doesn't appear, use the manual steps below.

How a CLABE is built

DigitsMeaningExample (032180000118359719)
1 to 3Bank code032
4 to 6Plaza (city) code180
7 to 17Account number00011835971
18Check digit9

How to check a CLABE by hand

  1. Multiply the first 17 digits by the weights 3, 7, 1, repeating.
  2. Keep only the last digit of each product and add them.
  3. Take the last digit of the sum, subtract it from 10 and keep the last digit. That's the check digit.

A passing check digit proves the CLABE is well formed. It doesn't confirm the account holder, so check the beneficiary name with your contractor before the first payment.

Common bank codes

CodeBank
002Banamex
012BBVA México
124Citi México
014Santander
021HSBC
030BanBajío
036Inbursa
044Scotiabank
058Banregio
072Banorte
127Banco Azteca
137BanCoppel
638Nu México
646STP
722Mercado Pago W

Codes come from Banco de México's list of SPEI participants (Banxico SPEI). The validator knows 34 common codes and flags any others for you to look up.

SPEI vs SWIFT for payments to Mexico

SPEISWIFT
CurrencyMexican pesos (MXN)Usually USD
Details neededCLABE and beneficiary nameBank SWIFT code, CLABE or account number, beneficiary name and address
SpeedUsually seconds, 24/7Usually 1 to 5 business days
FeesLowSender, intermediary and receiving fees can apply

For contractor payments in pesos, SPEI is usually the better rail. More on paying people abroad in how to pay international contractors, contractor payments and paying overseas suppliers as a non-US company.

Paying and getting paid in MXN with OneSafe

OneSafe is a neobank for companies that operate globally. A OneSafe account lets eligible businesses pay MXN by SPEI from a USD balance, receive MXN by SPEI (converted to USD), and send USD by ACH, wire or SWIFT across 115+ countries (supported rails). SPEI transfers to other virtual accounts aren't supported. Fees are on the pricing page and timing on the processing times page.

Sign-up is free. Sending money needs a paid plan (plans). Need to give a US client your own payment details? Use the wire instructions template.

Open a OneSafe account

FAQ

What is a CLABE?

A CLABE (Clave Bancaria Estandarizada) is the 18-digit standardized account number used for bank transfers in Mexico, including SPEI payments. Every Mexican bank account that can receive transfers has one.

How is a CLABE structured?

The first 3 digits are the bank code, the next 3 are the plaza (city) code, the next 11 are the account number and the last digit is a check digit calculated from the other 17.

How do I check a CLABE's check digit?

Multiply each of the first 17 digits by 3, 7, 1, 3, 7, 1 and so on, keep only the last digit of each product and add them up. Take the last digit of the total, subtract it from 10, and take the last digit of the result. That is the check digit.

Is a CLABE the same as a SWIFT code?

No. A CLABE identifies a specific account in Mexico. A SWIFT/BIC code identifies a bank. A payment from outside Mexico by international wire usually needs both: the bank's SWIFT code and the beneficiary's CLABE.

What is SPEI?

SPEI is Mexico's interbank electronic payment system, run by Banco de México. It moves pesos between accounts identified by CLABE, around the clock, and most payments arrive within seconds.

Should I pay a Mexican contractor by SPEI or SWIFT?

If the contractor wants pesos, a local SPEI payment to their CLABE is usually faster and cheaper than an international SWIFT wire, which can take several days and lose money to intermediary fees. SWIFT makes sense when they need USD in a dollar account.

Can a US or global company pay suppliers in Mexico by SPEI?

Yes, through financial platforms that offer SPEI. OneSafe lets eligible businesses pay MXN by SPEI from a USD balance and receive MXN by SPEI, which converts to USD.

These tools are for information only. They check formats and check digits, not account ownership. Always confirm payment details with the account holder before you send money. OneSafe is a financial technology company, not a bank. Banking services are provided by licensed partners. OneSafe product details come from faq.onesafe.io as of 5 December 2026.

category
Last updated
December 5, 2026

Get started with Business in minutes!

Get started with Business effortlessly. OneSafe brings together your crypto and banking needs in one simple, powerful platform.

Start today
Subscribe to our newsletter
Get the best and latest news and feature releases delivered directly in your inbox
You can unsubscribe at any time. Privacy Policy
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Apply for your account
in minutes

Start with OneSafe today. Apply online in minutes, and we'll review your application and get you set up.

Transparent pricing
Simple and easy onboarding