Product Identifiers

Validate and format SKUs, GTINs/UPCs/EANs, and ISBNs.

Product identifiers like SKUs, barcodes, and book numbers have specific formatting requirements. These rules ensure your identifiers are valid, consistently formatted, and ready for product feeds and merchant platforms.

SKU (Uppercase)

Converts product codes and SKUs to uppercase with trimmed whitespace. Simple but essential for consistency across inventory systems.

Before
abc-1234
sku 123
WH-1000xm5
After
ABC-1234
SKU 123
WH-1000XM5

GTIN / UPC / EAN (Validate)

Validates barcodes by checking the GS1 check digit. Supports GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), and GTIN-14. Valid codes are cleaned (dashes and spaces removed). Invalid codes are flagged.

Before
012345678905
4006381333931
012345678900
After
012345678905
4006381333931
(invalid - bad check digit)

The last digit of every GTIN is a check digit calculated from the preceding digits. This validation catches data entry errors.

ISBN (Format)

Validates and formats ISBN-10 and ISBN-13 book identifiers with standard hyphens. Checks the mathematical check digit to ensure the number is valid.

Before
9780306406157
0306406152
1234567890
After
978-0-306-40615-7
0-306-40615-2
(invalid - bad check digit)

ISBN-13 must start with 978 or 979. The check digit uses modulo-11 (ISBN-10) or modulo-10 (ISBN-13).

When to Use This

  • Product catalogs and inventory management
  • Google Merchant Center feeds
  • E-commerce data cleanup
  • Book databases and library systems