Data

ISBN-10 validator

Verify if a 10-digit ISBN (books published before 2007) is valid. Compatible with the special X digit.

Instant🔒In your browserNo signup
Live
Try with:

What is ISBN-10?

The ISBN-10 (International Standard Book Number) is the book identification system used from 1970 to 2006. It consists of 10 characters: 9 digits plus a check digit that can be a number (0-9) or the letter X (representing the value 10).

The standard format is G-EEEE-TTTT-C, where:

  • G: Language group or country (e.g., 0/1 English, 84 Spain, 950 Argentina)
  • EEEE: Publisher
  • TTTT: Specific title
  • C: Check digit (checksum)

Since 2007 it was replaced by ISBN-13 (compatible with EAN codes), but millions of old books still use ISBN-10. This validator verifies the checksum but does not confirm if the book exists.

How the validation algorithm works

The check digit calculation uses modulo 11 with decreasing weights:

  • 1. Take the first 9 digits.
  • 2. Multiply each one by its position in reverse: first ×10, second ×9, ..., ninth ×2.
  • 3. Sum all results.
  • 4. Calculate sum % 11.
  • 5. The check digit must make (sum + check) % 11 = 0. If calculated check is 10, it's represented as X.

Example with 0-306-40615-2:

  • Digits: 0 3 0 6 4 0 6 1 5
  • Multiply: 0×10 + 3×9 + 0×8 + 6×7 + 4×6 + 0×5 + 6×4 + 1×3 + 5×2 = 0+27+0+42+24+0+24+3+10 = 130
  • Expected check: 11 - (130 % 11) = 11 - 9 = 2

Example with 0-19-852663-X:

  • Calculation produces 10 → Represented as X

When and why to validate ISBN-10

ISBN-10 validation is useful in several contexts:

  • Library systems: Cataloging old books. Many libraries still manage ISBN-10 in their legacy databases.
  • Used book commerce: Platforms like Amazon, eBay, or AbeBooks allow searching by ISBN-10.
  • Publisher databases: Publishers with historical catalogs need to validate old ISBNs when migrating systems.
  • Book search APIs: Google Books API, Open Library, and WorldCat accept ISBN-10.

Doing validation before querying external APIs prevents useless requests. Many services reject invalid ISBNs with 400 error. Client-side validation improves UX in search engines and inventory entry forms.

Note: If you have an ISBN-13 starting with 978, you can convert it to ISBN-10 by removing the prefix and recalculating the check digit.

Limitations and common mistakes

This validator does not verify:

  • If the book exists in any catalog (WorldCat, Google Books, etc.).
  • If it's available, out of print, or out of stock.
  • If metadata (title, author, publisher) are correct.
  • If the ISBN was officially assigned by an ISBN agency.

Common implementation mistakes:

  • Not supporting uppercase/lowercase X: Always normalize to uppercase before validating.
  • Rejecting hyphens or spaces: Users type 0-306-40615-2, 0 306 40615 2, or 0306406152. You should accept all.
  • Confusing ISBN-10 with ISBN-13: If input has 13 digits, use the ISBN-13 validator.
  • Not validating X can only be at the end: X is only valid as the last character.

To search book information, use APIs like:

  • Google Books API: https://www.googleapis.com/books/v1/volumes?q=isbn:0306406152
  • Open Library: https://openlibrary.org/api/books?bibkeys=ISBN:0306406152

FAQ

What does the X in ISBN-10 mean?

X represents the value 10 in the modulo 11 algorithm. It's only valid as the last character (check digit).

Does this validator search the book on Google or Amazon?

No. It only verifies the checksum is correct. To search the book, use Google Books API, Open Library, or the publisher's website.

Can I convert an ISBN-13 to ISBN-10?

Yes, if the ISBN-13 starts with 978. Remove the 978 prefix and last digit, then recalculate the check digit with the ISBN-10 algorithm.

Do new books use ISBN-10?

No. Since 2007 all new books use ISBN-13. ISBN-10 is only used for books published before that date or conversions of old ISBNs.

Was this generator useful?