Code 128 Barcode Generator

Code 128, drawn in your browser.

Code 128 encodes letters, digits and symbols at high density, which is why it runs the world's shipping and logistics labels. Type any value, generate the barcode, and download it as PNG or SVG. It all happens in your browser.

The spec

FormatCode 128
DataAny ASCII text or digits, variable length. High density.
Best forShipping labels, logistics, warehouse and internal asset tracking.

Other barcode types

This draws the barcode graphic. A barcode that scans at a real retail checkout needs a product number assigned to you by GS1. Generating the image here does not register a number.

Questions people ask

What is Code 128 used for?

Logistics and supply chains: shipping labels, carton and pallet IDs, and internal asset or inventory codes. It handles the full ASCII set at high density, so it packs long alphanumeric values into a small label.

How many characters can Code 128 hold?

It is variable length and encodes all 128 ASCII characters. In practice keep it short enough to scan reliably on your label size; very long values make a wide barcode.

Is my barcode uploaded?

No. It is drawn in your browser with JavaScript and nothing is sent to a server.