Search for a tool
Barcode 128

Tool to decrypt/encrypt with barcodes 128. Code 128 is a normalized barcode system which is described in EAN-128 (or GS1-128).

Results

Barcode 128 -

Tag(s) : Character Encoding, Image processing

dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Barcode 128 tool. Thank you.

Barcode 128

Barcode 128 Encoder

 Display 128B (Image) 128B (Text) 128A (Text) 128C (Text) (For numbers only)

Tool to decrypt/encrypt with barcodes 128. Code 128 is a normalized barcode system which is described in EAN-128 (or GS1-128).

How to encrypt using Barcode 128 cipher?

Encryption uses the EAN-128 barcode coding standard which includes 3 encoding tables: the 128A, 128B and 128C codes.

The barcode therefore includes alternate black and white lines of variable width (between 1 and 4).

The code starts with Start and ends with End, between are the characters to encrypt each represented by 6 bars (3 blacks and 3 whites).

Example: DCODE is written with 128B barcode Start, D, C, O, D, E, End thus 211214,112313,131321,133121,112313,132113,2331112

Normally the code 128 includes a checksum (modulo 103).

How to decrypt Barcode 128 cipher?

Decryption requires performing a reading of the bar according to EAN-128 standard. Many app for smartphones facilitate this work.

Example: a barcode has for raw message 2112141123131313211331211123131321132331112

Check the first 6 digits (corresponding to the first 3 black bars and 3 white bars)

Example: 211214 that stands for the Start code for 128B.

Split the message each 6 characters and translate them.

Example: 112313 for character d, then 131321, etc. The message contained in the bar code is dCode.

How to recognize 128 Barcode?

The barcode may have a conventional graphical form (black and white lines similar to zebra's stripes) or a binary equivalent (of 0 to vacuum and 1 white bars) or a base 4 code (1,2,3 and 4 for the size of the bar, alternating black and white).

The bar code may have a variable length. It begins (usually) by Start and ends with the character End (see table).

What is the difference between codes 128A, 128B and 128C?

Coding table 128A has ASCII characters from 00 to 95.

Coding table 128B has ASCII characters from 32 to 127.

Coding table 128C has all numeric values from 00 to 99.

idbands128A128B128C
0212222spacespace00
1222122!!01
2222221""02
3121223##03
412132204
5131222%%05
6122213&&06
712231207
8132212((08
9221213))09
10221312**10
11231212++11
12112232,,12
13122132--13
14122231..14
15113222//15
161231220016
171232211117
182232112218
192211323319
202212314420
212132125521
222231126622
233121317723
243112228824
253211229925
26321221::26
27312212;;27
28322112<<28
29322211==29
30212123>>30
31212321??31
32232121@@32
33111323AA33
34131123BB34
35131321CC35
36112313DD36
37132113EE37
38132311FF38
39211313GG39
40231113HH40
41231311II41
42112133JJ42
43112331KK43
44132131LL44
45113123MM45
46113321NN46
47133121OO47
48313121PP48
49211331QQ49
50231131RR50
51213113SS51
52213311TT52
53213131UU53
54311123VV54
55311321WW55
56331121XX56
57312113YY57
58312311ZZ58
59332111[[59
60314111\\60
61221411]]61
62431111^^62
63111224__63
64111422NUL`64
65121124SOHa65
66121421STXb66
67141122ETXc67
68141221EOTd68
69112214ENQe69
70112412ACKf70
71122114BELg71
72122411BSh72
73142112HTi73
74142211LFj74
75241211VTk75
76221114FFl76
77413111CRm77
78241112SOn78
79134111SIo79
80111242DLEp80
81121142DC1q81
82121241DC2r82
83114212DC3s83
84124112DC4t84
85124211NAKu85
86411212SYNv86
87421112ETBw87
88421211CANx88
89212141EMy89
90214121SUBz90
91412121ESC{91
92111143FS|92
93111341GS}93
94131141RS~94
95114113USDEL95
96114311FNC3FNC396
97411113FNC2FNC297
98411311ShiftBShiftA98
99113141CodeCCodeC99
100114131CodeBFNC4CodeB
101311141FNC4CodeACodeA
102411131FNC1FNC1FNC1
103211412Start AStart AStart A
104211214Start BStart BStart B
105211232Start CStart CStart C
1062331112StopStopStop

What are the variants of the code 128?

Other than 128a, 128b and 128c variants, some other norms of barcodes exists such as EAN 8, EAN 13, Code 39, Code 93 or postal barcodes.

The vast majority of barcode standards are accepted by optical (laser) scanners or their software.

What does the number/code read means?

A barcode-128 encodes any string, this string can be anything and can mean anything... If the string is a number, this number can be an id in some database (usually the case for barcode of products), but without the database, it is only a number...

dCode shares a character font file (ttf font) (link) (unknown source, unknown licence)

Source code

dCode retains ownership of the source code of the script Barcode 128 online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Barcode 128 script for offline use on PC, iPhone or Android, ask for price quote on contact page !