Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Assigned IDs

idt supports validation and inspection of assigned identifiers. Unlike generated IDs (UUID, ULID, etc.), these are not generated by idt — they are issued by external registries, publishers, and standards bodies.

EAN-13

International Article Number — the standard barcode for retail products worldwide.

PropertyValue
Length13 digits
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

4006381333931
|-----------|X
 12 digits   check digit

Validation

idt validate -t ean13 4006381333931
# Output: 4006381333931: valid (ean13)

idt inspect 4006381333931

Specification

GS1 - EAN/UPC


ISBN-13

International Standard Book Number (current 13-digit format, since 2007).

PropertyValue
Length13 digits
Prefix978 or 979
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

978-0-306-40615-7
|---|            |
prefix     check digit

ISBN-13 is a subset of EAN-13 with the 978 or 979 prefix.

Conversion

ISBN-13 with prefix 978 can be converted to ISBN-10:

idt inspect 9780306406157
# Components include: isbn10: "0306406152"

Validation

idt validate -t isbn13 978-0-306-40615-7
idt validate -t isbn13 9780306406157

Specification

ISBN International


ISBN-10

International Standard Book Number (legacy 10-character format, pre-2007).

PropertyValue
Length10 characters (9 digits + check)
Check DigitMod 11 (weighted), can be 0-9 or X
SortableNo
TimestampNo

Format

0-306-40615-2
|---------|X
9 digits   check digit (0-9 or X)

The check digit X represents the value 10 in the Mod 11 algorithm.

Conversion

Every ISBN-10 can be converted to ISBN-13 by prepending 978 and recalculating the check digit:

idt inspect 0306406152
# Components include: isbn13: "9780306406157"

Validation

idt validate -t isbn10 0306406152
idt validate -t isbn10 080442957X     # X as check digit
idt validate -t isbn10 0-306-40615-2  # hyphens are stripped

Specification

ISBN International


ISIN

International Securities Identification Number — uniquely identifies securities (stocks, bonds, derivatives).

PropertyValue
Length12 characters
Structure2-letter country code + 9 alphanumeric + 1 check digit
Check DigitLuhn algorithm (letters converted: A=10, B=11, …, Z=35)
SortableNo
TimestampNo

Format

US0378331005
|--|-------|X
CC  NSIN    check digit
  • CC: ISO 3166-1 alpha-2 country code
  • NSIN: National Securities Identifying Number (9 alphanumeric characters)
  • Check digit: Luhn algorithm applied after converting letters to numbers

Validation

idt validate -t isin US0378331005     # Apple Inc.
idt validate -t isin GB0002634946     # BAE Systems
idt validate -t isin AU0000XVGZA3     # Australian security

Inspection

idt inspect US0378331005
# Components: country_code: "US", nsin: "037833100", check_digit: "5"

Specification

ISO 6166



EAN-8

8-digit barcode for small items where EAN-13 is too large.

PropertyValue
Length8 digits
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

96385074
|------|X
 7 digits check digit

Validation

idt validate -t ean8 96385074
# Output: 96385074: valid (ean8)

Specification

GS1 - EAN/UPC


UPC-A

Universal Product Code — the standard 12-digit barcode used in North America.

PropertyValue
Length12 digits
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

036000291452
|----------|X
 11 digits  check digit

Conversion

UPC-A can be converted to EAN-13 by prepending a leading zero:

idt inspect 036000291452
# Components include: ean13: "0036000291452"

Validation

idt validate -t upca 036000291452

Specification

GS1 - EAN/UPC


ISSN

International Standard Serial Number — identifies serial publications (journals, magazines, newspapers).

PropertyValue
Length8 characters
FormatXXXX-XXXX
Check DigitMod 11 (weighted), can be 0-9 or X
SortableNo
TimestampNo

Format

0378-5955
|------|X
7 digits check digit (0-9 or X)

Validation

idt validate -t issn 0378-5955
idt validate -t issn 03785955     # without hyphen

Specification

ISSN International Centre


ISMN

International Standard Music Number — identifies printed music publications.

PropertyValue
Length13 digits
Prefix979-0
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

979-0-060-11561-5
|---|             |
prefix      check digit

ISMN is a subset of EAN-13 with the 979-0 prefix.

Validation

idt validate -t ismn 979-0-060-11561-5
idt validate -t ismn 9790060115615

Specification

ISMN International Agency


ISNI

International Standard Name Identifier — uniquely identifies contributors to creative works.

PropertyValue
Length16 characters
FormatXXXX XXXX XXXX XXXX
Check DigitISO 7064 MOD 11-2 (last char can be 0-9 or X)
SortableNo
TimestampNo

Format

0000 0001 2103 2683
|--- ---- ---- ---|X
 15 digits         check digit

Validation

idt validate -t isni "0000 0001 2103 2683"
idt validate -t isni 0000000121032683

Specification

ISNI International Authority


GTIN-14

Global Trade Item Number — identifies trade items at various packaging levels.

PropertyValue
Length14 digits
Check DigitMod 10 (alternating weights 1, 3)
SortableNo
TimestampNo

Format

10614141000415
X|-----------|X
PI            check digit
  • PI: Packaging indicator (first digit)

Validation

idt validate -t gtin14 10614141000415

Specification

GS1 - GTIN


ASIN

Amazon Standard Identification Number — Amazon’s proprietary product identifier.

PropertyValue
Length10 characters
CharactersAlphanumeric (uppercase)
Check DigitNone (format validation only)
SortableNo
TimestampNo

Format

B08N5WRWNW

ASINs starting with B are Amazon-assigned. ASINs starting with a digit are typically ISBN-10 based.

Validation

idt validate -t asin B08N5WRWNW

Comparison

TypeLengthCharactersCheck AlgorithmUse Case
EAN-1313DigitsMod 10 (1,3)Retail barcodes
EAN-88DigitsMod 10 (1,3)Small item barcodes
UPC-A12DigitsMod 10 (1,3)North American products
ISBN-1313DigitsMod 10 (1,3)Books
ISBN-1010Digits + XMod 11Books (legacy)
ISSN8Digits + XMod 11Serial publications
ISMN13DigitsMod 10 (1,3)Printed music
ISNI16Digits + XISO 7064 MOD 11-2Name identifiers
ISIN12AlphanumericLuhnSecurities
GTIN-1414DigitsMod 10 (1,3)Trade items
ASIN10AlphanumericNoneAmazon products

Support Status

TypeGenerateInspectConvertValidate
EAN-13NoYesYesYes
EAN-8NoYesYesYes
UPC-ANoYesYesYes
ISBN-13NoYesYesYes
ISBN-10NoYesYesYes
ISSNNoYesYesYes
ISMNNoYesYesYes
ISNINoYesYesYes
ISINNoYesYesYes
GTIN-14NoYesYesYes
ASINNoYesYesYes