How to make your Code 128 barcode
- 1
Type your SKU, order number, or serial into the Barcode value field. Code 128 accepts up to 80 characters here.
- 2
Keep the format set to Code 128. The preview redraws as you type and adds the required check character for you.
- 3
Click Download PNG, drop the image into your label template, and scan a test print before running the full batch.
Where to use your barcode
Inventory and SKU labels
Print internal SKUs on product stickers and shelf tags so stock counts and pick lists are scanned instead of typed by hand.
Warehouse bin and rack locations
Label each shelf or bin with a location code such as A-03-02 so pickers can confirm they are at the right spot with one scan.
Packing slips and work orders
Add the order, invoice, or job number to printed paperwork so packers and technicians can open the right record in your software.
Serial numbers and marketplace IDs
Encode serials on device labels, or an ID a marketplace gives you (Amazon FNSKU labels use Code 128). For marketplace labels, their own label download is the safest source.
What a Code 128 barcode can encode
Code 128 covers the full 128-character ASCII set: uppercase and lowercase letters, digits, punctuation, and spaces. It switches between internal character sets automatically and stores pairs of digits in a single symbol, which keeps long order numbers and numeric serials compact.
Every Code 128 barcode ends with a mandatory check character that scanners use to catch misreads. The Code 128 barcode generator calculates it for you, and it is not shown in the human-readable text under the bars, so the printed line matches exactly what you typed.
Code 128 vs. Code 39, GS1-128, and retail barcodes
Code 39 is older and limited to capital letters, digits, and a few symbols, and it needs noticeably more width for the same text. Choose Code 128 unless an existing system specifically asks for Code 39.
GS1-128 is a variant of Code 128 that adds a special FNC1 character and GS1 application identifiers, such as (00) for SSCC pallet numbers. QRBerry creates standard Code 128, not GS1-128, so use your shipping or labeling software when a retailer’s routing guide requires GS1-128. Products sold at a store checkout need an EAN-13 or UPC-A barcode instead.
Print size and file tips
Scale in whole steps
The PNG draws each narrow bar 3 pixels wide. Printed at 300 dpi without resizing, that is about 0.25 mm (10 mil). Enlarge to 2× or 3× rather than odd percentages so bars stay even.
Keep values short on small labels
About 12 characters of mixed text fit on a 2 × 1 in (50 × 25 mm) label at a 0.25 mm bar width. All-digit values take roughly half the width, because Code 128 packs digits in pairs.
Protect the quiet zone
Leave blank space of at least 10 narrow-bar widths at both ends, about 2.5 mm at the default size. Label edges, borders, or text touching the bars cause failed reads.
Turn off “fit to page” on label printers
Thermal label printers (often 203 or 300 dpi) print cleanest when the driver does not rescale the image. Set the exact label size and print at 100%.
Frequently asked questions
Can a Code 128 barcode include lowercase letters and spaces?
Yes. Code 128 supports uppercase and lowercase letters, digits, spaces, and standard punctuation such as - / . and #, so values like “Box 12-b” work as typed.
Do I need to calculate the Code 128 check digit?
No. The required modulo-103 check character is calculated and added automatically. Scanners verify it and do not include it in the scanned text.
Is this the same as a GS1-128 barcode?
No. This tool makes plain Code 128 without FNC1 or application identifiers. If a retailer or carrier asks specifically for GS1-128 or an SSCC label, generate it in your logistics or label software.
Can I use Code 128 on products sold in stores?
Not for checkout. Store point-of-sale systems look up products by GTIN in an EAN-13 or UPC-A barcode. Code 128 is best for internal tracking, shipping, and inventory.
What file do I get, and how do I test it?
You get a PNG with the readable text printed under the bars. Test a printed copy with your handheld scanner or the QRBerry scanner (camera or image upload) and confirm the result matches your value exactly.
