IBAN, ISBN & Barcode Validator

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.

Check digit methods

CodeLengthMethod
IBAN15–34mod 97 = 1
ISBN-1010weights 10…2, mod 11 (X = 10)
ISBN-13 / EAN-1313weights 1, 3 alternating, mod 10
UPC-A12weights 3, 1 alternating, mod 10
EAN-88weights 3, 1 alternating, mod 10

When to use it

  1. Check a supplier's IBAN before setting up a bank transfer.
  2. Validate a list of ISBNs from a library or bookshop export.
  3. Generate the check digit for a new product barcode.
  4. Convert old ISBN-10s to ISBN-13.

How to Use

  1. Paste codes, one per line.
  2. Leave the type on automatic, or pick one.
  3. Read the result and expected check digit for each.
  4. To create a code, enter its digits in Complete a code.

Features

  1. IBAN mod-97 with country lengths
  2. ISBN-10 and ISBN-13
  3. EAN-13, EAN-8 and UPC-A
  4. Bulk validation
  5. ISBN and UPC conversions
  6. Check-digit completion
  7. 100% client-side

FAQs

How is an IBAN validated?

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.

Why can an ISBN-10 end in X?

Its check digit can be 10, which is written as X.

Does a valid IBAN mean the account exists?

No. It means the number is well formed. Only the bank can confirm the account.

How do I convert ISBN-10 to ISBN-13?

Add 978 to the front of the first nine digits and recompute the check digit. The tool does it for every valid ISBN-10.

Is my data uploaded?

No. All checks run in your browser.

Technical Details

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.

Developer Tools

Developer Tools

  • SSL Certificate Decoder
  • HAR File Viewer
  • OpenAPI & Swagger Viewer
  • Log Analyzer
  • .env File Validator
  • HTTP Headers Parser
  • Cookie Parser
  • Dockerfile Generator