1. Home
  2. Knowledge
  3. 6-bit encoder

6-bit encoder and decoder to ISO/IEC 17360

Converts a unique item identifier (UII) into the 6-bit encoding for UHF tags and back, as ISO/IEC 17360 and the application standards ISO 17363 to 17367 specify for the UII memory. Everything runs in your browser; no data is transmitted.

Encode text

Application family identifier from the ISO/IEC 15961-2 register; for ISO/IEC 17360 with 6-bit encoding: A1 product tagging, A2 transport unit, A3 returnable transport item, A5 product packaging. With an AFI, the PC word is calculated.

Decode hex

The 6-bit character table

Each character takes 6 bits. There are no lower-case letters. <EOT> ends the data, after which the bit pattern of <EOT> fills up to the next 16-bit word boundary. RES marks reserved values, which must not be used. The basis is Table A.1 in the normative Annex A of ISO/IEC 17360.

@0000000
A0000011
B0000102
C0000113
D0001004
E0001015
F0001106
G0001117
H0010008
I0010019
J00101010
K00101111
L00110012
M00110113
N00111014
O00111115
P01000016
Q01000117
R01001018
S01001119
T01010020
U01010121
V01011022
W01011123
X01100024
Y01100125
Z01101026
[01101127
\01110028
]01110129
<GS>01111030
<RS>01111131
␠10000032
<EOT>10000133
<RES>10001034
<FS>10001135
<US>10010036
<RES>10010137
<RES>10011038
<RES>10011139
(10100040
)10100141
*10101042
+10101143
,10110044
-10110145
.10111046
/10111147
011000048
111000149
211001050
311001151
411010052
511010153
611011054
711011155
811100056
911100157
:11101058
;11101159
<11110060
=11110161
>11111062
?11111163

How the encoding works

  1. Each character of the identifier is converted to 6 bits using the table. Digits and upper-case letters thus need three quarters of the space 8-bit ASCII would take.

  2. The bit string is terminated with <EOT> and padded to the next 16-bit word boundary, because the tag reads and writes in 16-bit words.

  3. The PC word holds the length in words (L), the toggle bit T = 1 for an ISO identifier and the AFI that marks the application. This is how a reader tells an ISO identifier from a GS1 EPC.

Results without warranty. The binding encoding is defined by ISO/IEC 17360, ISO/IEC 15962 and the relevant application standard or customer specification.

Let's talk about your project

An initial call with a consultant who knows your industry. Phone +49 621 4108 0 · info@data-elektronik.de