Inventory and internal use
Code 128 barcode generator
Type letters, digits or symbols and get a Code 128, the all-round barcode for stock, shipping and asset tags.
Make your own
Sets the printed size of the downloads.
Sample: ABC-123456
Type your own value to download it. The SVG prints at the size shown; the PNG is drawn for a 600 dpi printer. Each picture counts as 1 label. Free for up to 100 labels a month. No account needed.
Each picture counts as 1 label. Free for up to 100 labels a month. No account needed.
What Code 128 is
Code 128 is the all-round barcode for letters, digits and keyboard symbols. It is compact, and nearly every barcode scanner reads it.
It is used on stock and shelf labels, asset tags, shipping labels and tickets: anywhere you choose the numbers yourself.
What fits
Plain letters, capital and small, digits and keyboard symbols. Runs of digits take half the space of letters. It can’t hold accented letters or emoji: use a QR Code for those.
Size facts
No standard sets a size for your own labels. As a rule of thumb a narrowest bar of 0.25 mm is safe on any office printer, and about 0.19 mm is the floor on a sharp 300 dpi or better printer. The 10-character sample is about 36 mm (1.41 in) wide at 0.25 mm.
- Shape
- One row of bars.
- The sample
- About 143 bar-widths wide, blank margins included. Longer values make it wider.
- At 0.25 mm bars
- The sample is about 35.8 mm (1.41 in) wide.
- Rule of thumb
- A narrowest bar of 0.25 mm or more is safe on an office printer. Under 0.17 mm is too fine to rely on.
- Blank margin
- 10 bar-widths on the left and on the right. It is already part of what we draw.
Sizes are advice, never a block: you can print smaller, and the size line beside the preview says what to expect. Check that it scans before you print a big batch.
Questions
- How much fits on a small label?
- On a 1 inch label, about 6 letters or 12 digits with a narrowest bar of 0.19 mm, or about 3 letters or 6 digits at 0.25 mm. For anything longer, a Data Matrix or a QR Code holds more in less space.
- Code 128 or Code 39?
- Code 128, unless a system tells you otherwise: it is shorter for the same text and it holds small letters.
- Is Code 128 the same as GS1-128?
- GS1-128 is a Code 128 that carries GS1 data in a set format, for example a product number with a batch or an expiry date. It has its own type on the Barcode types page.
- Do I need an account to make Code 128 labels?
- No. Free for up to 100 labels a month, with no account needed. Each label you print, and each SVG or PNG you download, counts as one. What you see on screen never counts.