Check that an IBAN, ISBN, EAN or UPC code was typed correctly. Paste one or many — the type is detected automatically — and each is marked valid or invalid with the reason and the check digit it should have. Valid ISBNs are converted between 10 and 13 digits, UPCs to EAN-13, and you can complete a code from its first digits. It's free, runs in your browser, and nothing you enter is sent anywhere.
| Code | Length | Method |
|---|---|---|
| IBAN | 15–34 | mod 97 = 1 |
| ISBN-10 | 10 | weights 10…2, mod 11 (X = 10) |
| ISBN-13 / EAN-13 | 13 | weights 1, 3 alternating, mod 10 |
| UPC-A | 12 | weights 3, 1 alternating, mod 10 |
| EAN-8 | 8 | weights 3, 1 alternating, mod 10 |
Move the first four characters to the end, convert letters to numbers, and check that the result mod 97 equals 1. The length must also match the country.
Its check digit can be 10, which is written as X.
No. It means the number is well formed. Only the bank can confirm the account.
Add 978 to the front of the first nine digits and recompute the check digit. The tool does it for every valid ISBN-10.
No. All checks run in your browser.
Each identifier has its own check: an IBAN is valid when, after moving the country code and check digits to the end and replacing letters with numbers (A = 10 … Z = 35), the resulting long number leaves a remainder of 1 when divided by 97. That number can exceed 30 digits, too large for ordinary floating-point arithmetic, so the remainder is computed a few digits at a time. The IBAN's length is also checked against its country's entry in the ISO 13616 registry, and the correct check digits are shown when they're wrong. ISBN-10 uses a weighted sum modulo 11, where a check value of 10 is written X. ISBN-13, EAN-13, EAN-8 and UPC-A share the GS1 scheme: digits alternately weighted 3 and 1 from the right, with the check digit making the sum a multiple of 10. The type is detected from the length and prefix, or can be chosen. Valid ISBN-10s are converted to ISBN-13 (and back where the 978 prefix allows), and UPC-A to EAN-13 by prepending a zero.