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.
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
| Partition | Company prefix bits | Company prefix digits | Item ref bits | Item ref digits |
|---|---|---|---|---|
| 0 | 40 | 12 | 4 | 1 |
| 1 | 37 | 11 | 7 | 2 |
| 2 | 34 | 10 | 10 | 3 |
| 3 | 30 | 9 | 14 | 4 |
| 4 | 27 | 8 | 17 | 5 |
| 5 | 24 | 7 | 20 | 6 |
| 6 | 20 | 6 | 24 | 7 |
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.