FLXCode Code 128 Barcode Generator

FLXCode apps

Appearance

Code 128 Barcode Generator

Type any text or number. Download the barcode as SVG or PNG at the size you will print.

Letters, digits and keyboard symbols, up to 80 characters. Long runs of digits are packed to save width.

Size and print

100% is the 0.33 mm module. Retail symbols allow 80 to 200%.

PNG is drawn at this resolution with whole pixels per module, so edges stay sharp, and carries its real size in mm. SVG has the real size in mm too.

Example preview

Example
FLXCode 128

Printed size
58.1 mm × 18.6 mm, quiet zones included
Module width (X)
0.330 mm
Bar height
15.00 mm
Quiet zone
3.30 mm left, 3.30 mm right (10 and 10 modules)
At 300 dpi
3.9 printer dots per module

    The preview is scaled to fit. The files keep the real size.

    No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

    Problem or idea? Email us

    How to make a Code 128 barcode

    1. Type the text or number. Keep it under 80 characters.
    2. Open Size and print. Set the module width and the bar height, and your printer resolution.
    3. Download SVG for print or PNG for a document.
    4. Print a test and scan it with the scanner that will be used.

    How it saves width

    Code 128 has three character sets. A is capital letters and control characters, B is upper and lower case, and C is pairs of digits. The generator works out the cheapest way to cover your text, so 12345678 uses 4 symbols for the digits where Code 39 needs 8 characters.

    Limits

    • ASCII only. Accented letters and other alphabets are not supported.
    • Plain Code 128. GS1-128 and function codes are not supported.
    • Black bars on white only. Scanners expect dark on light.
    • The self-check uses the scanner built into your browser where there is one. It is not a test of your printer.

    Need a retail number? The barcode generator makes EAN-13, UPC-A, EAN-8, Code 39 and ITF-14 as well, and the UPC barcode generator is made for UPC-A.

    Nothing you type is stored or uploaded. We count events without cookies and never send the text (details).

    FAQ

    What can a Code 128 barcode hold?

    Any of the 128 ASCII characters: upper and lower case letters, digits, punctuation and control characters. It cannot hold accented letters or other alphabets. Here the limit is 80 characters.

    Why is it shorter than Code 39?

    Code 128 has three character sets. Set C stores two digits in one symbol, so a run of digits takes half the width. The generator picks the sets that give the fewest symbols and switches between them as the text changes.

    Is there a check digit I need to type?

    No. A check symbol is added at the end for you. It is worked out from every symbol before it, and the scanner uses it to reject a misread. It is not printed as text.

    How big should it be?

    Code 128 has no fixed size. Pick the module width, which is the narrowest bar, and the bar height. 0.33 mm and 15 mm is a good start for labels. Under about 0.19 mm you need a good printer and scanner. The quiet zone is 10 modules on each side and is included in the file.

    Is this the same as GS1-128?

    No. GS1-128 is Code 128 with a function code and application identifiers for supply chain data. This page makes plain Code 128 only.

    SVG or PNG?

    SVG for print, because it is exact and has the real size in millimetres. PNG for a document, drawn at your printer resolution with whole pixels per module.

    More from FLXCode

    Share Code 128 Barcode Generator