Convertidor de CCC i IBAN ES (Espanya)
Posa els números de comptes espanyols com a CCC o IBAN per verificar les xifres de control i obtenir el IBAN.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Nombres de pegat
CCC o IBAN, un per línia.
- 2Compte
Veure si és vàlida o no.
- 3Llegeix les parts
Banc, sucursal, dígits de control, compte i IBAN.
- 4Exportació
Descarrega els resultats.
Sobre aquesta eina
Spanish bank accounts used to be identified by the 20-digit CCC: 4 digits for the bank, 4 for the branch, 2 control digits and 10 for the account. Since SEPA, the IBAN is used: ES, two check digits and the 20 digits of the CCC, 24 characters in total. Both include checks that catch typing errors. This tool verifies the CCC control digits and the IBAN, and converts one into the other.
Who this is for
Employers entering payroll accounts, landlords and tenants, accountants and developers.
The CCC control digits
The first control digit checks the bank and branch: the 8 digits, preceded by 00, are multiplied by the weights 1, 2, 4, 8, 5, 10, 9, 7, 3, 6 and added; 11 minus the remainder of dividing by 11 gives the digit (10 becomes 1, 11 becomes 0). The second control digit applies the same weights to the 10-digit account number.
The IBAN
The Spanish IBAN is ES, two check digits and the CCC. The check digits are calculated by moving ES00 to the end, converting letters to numbers (E = 14, S = 28) and computing 98 minus the remainder modulo 97.
When you need it
SEPA transfers and direct debits use the IBAN. Forms such as payroll, rent and tax refunds ask for it. The BIC is usually not needed for transfers within the SEPA area.
Security
Bank details are not secret, but they can be misused. Check statements for unauthorised direct debits, which you can return within eight weeks, or 13 months if unauthorised. Confirm any change of supplier bank details by phone.
Batch use
Paste one number per line, with or without spaces. The tool accepts CCC or IBAN and shows each part and the IBAN.
Account ownership
A valid IBAN does not confirm who owns the account. From October 2025, EU banks verify the payee's name before transfers, which helps prevent fraud.
Bank codes
The first four digits identify the bank: for example 2100 for CaixaBank, 0049 for Banco Santander, 0182 for BBVA and 0081 for Banco Sabadell. Bank mergers mean that old codes may still appear on accounts opened at banks that no longer exist; they continue to work because the account number does not change. Your bank can confirm the current BIC and branch if needed.
Developers
When validating forms, strip spaces, check the length, verify the IBAN check digits and then the CCC control digits. Store accounts as text to keep leading zeros. Never log full account numbers in plain text in shared systems, and mask them in screenshots and emails when possible.
Worked example
The CCC 2100 0418 45 0200051332 has correct control digits 45, and its IBAN is ES91 2100 0418 4502 0005 1332. Changing the control digits to 46 makes it invalid.
Limits
A format check, not a confirmation that the account exists.
Exemple resolt
CCC 2100 0418 45 0200051332 converteix a IBAN ES91 2100 0417 4502 0005 1332.
En resum
- Categoria: Diners i impostos
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: Spanish CCC (Código Cuenta Cliente: entity 4, branch 4, two control digits, account 10; control digits with weights 1, 2, 4, 8, 5, 10, 9, 7, 3, 6 modulo 11) and ISO 13616 IBAN for Spain (ES + 2 check digits + 20 digits)
Preguntes freqüents
Què és un CCC?
El codi de compte espanyol de 20 xifres: banc, sucursal, dígits de control i compte.
Com es calculen els dígits de control?
Amb pesos 1, 2, 4, 8, 5, 10, 9, 7, 3, 6 modulo 11.
Com puc obtenir el IBAN?
ES, dos dígits de verificació i el CCC; l'eina ho calcula.
Un IBAN vàlid demostra que el compte existeix?
No, els bancs verifiquen el nom del beneficiari abans de fer transferències.
Puc comprovar molts comptes?
Sí, pegar un per línia.
S'emmagatzemen les meves dades?
No, es queda en el teu navegador.
