EPC SGTIN-96 Encoder / Decoder

24 hex characters in, GTIN-14 + serial out — or the reverse. Header byte, partition table, and GS1 check digit are validated.

Header (SGTIN-96)
0x30
Filter
3
Partition
5
GS1 Company Prefix
0614141
Item Reference (with indicator)
812345
Serial
6789
Reconstructed GTIN-14
80614141123458
Bit layout
Header (8 b)00110000
Filter (3 b)011
Partition (3 b)101
Company prefix (24 b)000010010101111011111101
Item reference (20 b)11000110010100111001
Serial (38 b)00000000000000000000000001101010000101

How SGTIN-96 works

SGTIN-96 encodes a GTIN and numeric serial in 96 bits. The 0x30 header, 3-bit filter and 3-bit partition precede the company prefix, item reference and 38-bit serial. Choose the partition from your assigned GS1 company-prefix length; it cannot be inferred from the GTIN alone. The GTIN indicator becomes the first item-reference digit, and the check digit is omitted from the binary EPC. This tool validates the input and reconstructs that digit on decoding. Other EPC schemes have different layouts and lengths.

Method checked 17 October 2026 against the GS1 EPC Tag Data Standard. Check a GTIN digit.

Partition table

PartitionCompany prefix bitsCompany prefix digitsItem ref bitsItem ref digits
0401241
1371172
23410103
3309144
4278175
5247206
6206247

FAQ

Which headers identify common EPC schemes?

SGTIN-96: 0x30; SSCC-96: 0x31; GID-96: 0x35; SGTIN-198: 0x36. This tool supports SGTIN-96 only.

Can my serial contain letters or leading zeros?

SGTIN-96 accepts numeric serials from 0 to 274,877,906,943 without leading zeros. Use an appropriate alternative scheme when these restrictions do not fit.

Does a valid result prove that I own the GTIN?

No. Validation checks encoding and the check digit; it does not verify a GS1 allocation or product identity.