Free online reader
Code 128 reader
Read the barcode on a shipping label, tracking sticker or warehouse tag. GS1-128 labels are broken down into SSCC, GTIN, batch and dates.
- Free, no signup
- Decoded on your device
- Phone, tablet and PC
No barcode handy? Tap a sample to scan it
Results
Nothing scanned yet. Decoded barcodes print out here like a receipt.
- Start the camera, drop in an image or PDF, or type the number.
- Read the value, the barcode type and, for products and books, what it is.
- Copy it, search it on Google, or export the whole list to Excel.
How to read a Code 128 barcode
Point the camera at the label and fit the full width of the barcode in the frame. Long Code 128 barcodes are wider than a phone held upright can take in, so turn the phone sideways. The decoded text appears as soon as the code reads.
Shipping labels usually arrive as PDFs. You do not need to print one to scan it: drop the PDF into the Image / PDF tab and every page is read. For a stack of parcels, switch on Batch mode and export the list when you are done.
Where you meet Code 128
Parcel labels are the common case: the tracking number is a Code 128, and there is often a second one carrying the postal code and service. Pallet and carton labels use the GS1-128
form, with an SSCC number and details of the contents. Warehouses print it on racking as location codes such as A-12-03. It is also on asset tags, library cards and
membership cards, and in hospitals on patient wristbands and blood bags (ISBT 128 is a Code 128 variant).
Reading a GS1-128 label
A carton label might encode this:
(01)00012345600012(15)270630(10)B7741
| AI | Field | Value |
|---|---|---|
| (01) | GTIN of the carton | 00012345600012 |
| (15) | Best before date | June 30, 2027 |
| (10) | Batch / lot | B7741 |
The brackets are printed for people and are not in the bars. In the barcode itself the fields run together, separated by an invisible function character. This reader puts the brackets back and labels each field. Tap the “GS1-128 carton” sample above to see it.
The 18-digit number after (00) on a pallet label is the SSCC, the Serial Shipping Container Code. It identifies that one pallet or carton, which lets a warehouse
receive a whole pallet with a single scan.
Code sets A, B and C
Code 128 has three character sets and can switch between them inside one barcode. Set A covers capitals and control characters, set B covers upper and lower case, and set C packs two digits into each symbol, which halves the width of long numbers. You never choose these yourself. The software that makes the barcode picks them, and the reader follows the switches.
Related tools
The same GS1 fields appear in small square codes on medicine and medical devices, read by the Data Matrix scanner. To see raw bytes and the symbology identifier, use the barcode decoder. To print your own labels, the barcode generator makes Code 128 and GS1-128. The types of barcodes guide shows how Code 128 compares with Code 39 and ITF.
FAQ
Code 128 reader: questions and answers
What is a Code 128 barcode?
A compact barcode that can encode all 128 ASCII characters: digits, upper and lower case letters and punctuation. It is the standard barcode for shipping labels, tracking numbers, warehouse locations and asset tags. Unlike a UPC, it can be any length.
How do I know a barcode is Code 128?
Scan it here and the result names the type. By eye, Code 128 is a single row of bars with no long guard bars at the ends. If the text printed under it mixes letters and numbers, or is longer than 13 digits, it is very likely Code 128.
What is GS1-128?
Code 128 used with GS1 rules. The data is a series of fields, each introduced by an application identifier in brackets, such as (00) for a pallet’s SSCC number or (01) for a GTIN. It was called UCC/EAN-128 until 2005. This reader recognizes GS1-128 and lists each field.
Can I scan a tracking number barcode?
Yes. UPS, FedEx, DHL, USPS and most national posts print the tracking number as Code 128. Scan the label, copy the number and paste it into the carrier’s tracking page. The Google button also works, since Google recognizes most tracking numbers.
Same engine, different job
More barcode tools
- Scanner
Online barcode scanner
Camera, image, PDF and batch scanning for every common barcode.
- Scanner
QR code scanner
Scan QR codes from your camera, a photo or a screenshot.
- Scanner
UPC scanner
Read UPC-A and UPC-E codes and see the product behind them.
- Scanner
ISBN scanner
Scan a book barcode and get the title, author and cover.
- Scanner
PDF417 scanner
Decode driver’s license and boarding pass barcodes into fields.
- Scanner
Data Matrix scanner
Decode Data Matrix codes and parse GS1 and UDI data.
- Scanner
Barcode decoder
See raw data, symbology, check digits and GS1 fields.
- Scanner
Barcode scanner for PC
Scan with a laptop or desktop webcam. Nothing to install.
- Lookup
Barcode lookup
Type or scan a barcode number and find the product.
- Lookup
UPC lookup
Look up a 12-digit UPC and validate its check digit.
- Lookup
EAN lookup
Look up an EAN-13 and see its GS1 country prefix.
- Create
Barcode generator
Make UPC, EAN, Code 128, QR and more as PNG or SVG.