Spanish ID and code validators
Ten tools for numbers that carry a check digit or letter: the Spanish DNI and NIE, a company’s CIF, the Social Security number, a bank account’s IBAN. Each one tells you whether a number is valid and, if it is not, why. Most of them also generate fictitious documents that pass validation, which is exactly what you need to fill in a test form without using a real person’s data.
Most are Spanish formats (old and new license plates, mobile and landline numbers, postal codes with their province), but several tools work anywhere: IBANs are validated for every country, a SWIFT/BIC code is broken down into bank, country and branch, EAN-13 barcodes and ISBNs are checked and converted, and the card generator creates Visa, Mastercard and American Express numbers for payment gateways in test mode.
All 10 tools
- DNI and NIE validatorCheck the letter of a Spanish DNI or NIE, work out a missing one and generate fictitious IDs for testing. Validates hundreds at once, one per line.
- CIF validatorValidate the CIF of a Spanish company, see its entity type and the right check character, and generate fictitious CIF numbers for testing.
- IBAN validatorValidate an IBAN from any country, break down a Spanish account (bank, branch and check digits), turn a CCC into an IBAN and generate test IBANs.
- Spanish license plate validatorCheck current (1234 BCD) and old provincial (M-1234-AB) Spanish license plates, see their province or place in the series and generate test plates.
- Spanish Social Security number validatorCheck the control digits of a Spanish Social Security number (NSS), see its province and generate fictitious numbers for testing.
- Test credit card numbersGenerate Visa, Mastercard and American Express numbers that pass Luhn for test environments, and validate any card number: brand and check digit.
- Spanish phone number validatorCheck Spanish phone numbers, see whether they are mobile, landline or premium rate, and convert them to E.164 (+34612345678) and national format.
- SWIFT / BIC code validatorCheck an 8 or 11 character SWIFT or BIC code and break it down: bank, country, location and branch, with its short and long forms.
- EAN 13 check digit and ISBN validatorCheck the check digit of EAN-13 barcodes and ISBNs, work out a missing one and convert ISBN-10 to ISBN-13 and back, all in your browser.
- Postal code to province lookupType one or many Spanish postal codes to see their province, region and capital. Restores the leading 0 spreadsheets drop and shows each province’s range.