Generators
CODE128 barcode generator
Barcode generator renders the text you type as a CODE128 barcode, in the browser. Developers use it for sample SKUs, inventory and asset labels, and test fixtures that feed warehouse scanners, where the bars must match a value a machine reads. The image uses CODE128, one of the most widely supported linear symbologies, drawn with 2-pixel modules, 80-pixel height, and the human-readable value printed beneath the bars, so a scanner and a person read the same thing.
How to use Barcode Gen
- Open Barcode Gen in the Toolbox101 app.
- Type an ASCII value such as
SKU-1001into theInputbox; letters, digits and punctuation all encode. - Read the CODE128 barcode drawn in the
Outputbox, with the value printed under the bars. - Point a scanner app at the bars, not at the printed text, and compare the read with what you typed.
- Edit the input to redraw: each keystroke replaces the previous bars.
Worked example
Barcode Gen returns the output below for this input.
Input
SKU-1001What you see
A CODE128 barcode with SKU-1001 printed beneath the bars.Check it yourself: open Barcode Gen and enter the same input.
Frequently asked questions
Which barcode formats does the tool support?
Only CODE128, and there is no format selector. CODE128 covers the full ASCII range, so letters, digits, punctuation, and control codes fit one symbology. Retail EAN or UPC product codes and 2D QR codes are different formats and are not produced by this tool.
What characters can I put in a CODE128 barcode?
CODE128 encodes ASCII values 0 through 127 plus a few extended capital letters. Input outside that set, such as most accented lowercase characters or emoji, has no CODE128 representation, so the Output box shows an error instead of bars: the tool never silently renders a barcode that scans to something else.
How long can the barcode value be?
There is no fixed limit, but the bars grow by roughly 22 pixels per character at full size. Very long strings are scaled down to fit the output width, and modules that thin can fail on budget scanners. For printed labels, keep values under about thirty characters.
CODE128 or QR code: which should I use?
CODE128 is a linear barcode read by laser and CCD scanners, ideal for narrow labels with short ASCII values such as SKU-1001. A QR code is a 2D matrix holding far more data, readable by any phone camera at any orientation. Both are generated here, so test each against your actual scanner.