---
title: "Code 128 Barcode Generator – Alphanumeric, Free Online"
description: "Encode letters, numbers and symbols into a compact Code 128 barcode for stock and asset labels. Free Code 128 barcode generator, no signup. Download PNG or SVG."
canonical_url: "https://roxbold.com/branding/barcode-generator/code-128"
meta:
  keywords: "code 128 barcode generator, alphanumeric barcode generator, code 128 generator free, barcode for inventory labels, asset tag barcode generator, shipping label barcode code 128, code 128 svg download, barcode generator for sku"
  "og:description": "Encode letters, numbers and symbols into a compact Code 128 barcode for stock and asset labels. Free Code 128 barcode generator, no signup. Download PNG or SVG."
  "og:image": "https://roxbold.com/_og/s/o_0f0c2a4ae531670d.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Code 128 Barcode Generator – Alphanumeric, Free Online"
  "twitter:description": "Encode letters, numbers and symbols into a compact Code 128 barcode for stock and asset labels. Free Code 128 barcode generator, no signup. Download PNG or SVG."
  "twitter:image": "https://roxbold.com/_og/s/o_0f0c2a4ae531670d.png"
  "twitter:title": "Code 128 Barcode Generator – Alphanumeric, Free Online"
---

> Index of every page on this site: [llms.txt](https://roxbold.com/llms.txt)

# Code 128 Barcode Generator

A Code 128 barcode generator encodes any mix of letters, digits and punctuation into a dense, reliable barcode that every modern scanner reads. It is the standard choice for SKUs, inventory bins, asset tags, job cards, courier labels and membership numbers, where you control the numbering and do not need a retail product number. Type the value, see the bars update, and download a PNG or SVG from your browser.

Free No signup Nothing uploaded or stored

## **Barcode**

Format

Value to encode

Any product code, SKU, serial or reference text.

Show the number under the bars

## **Size & colours**

Bar width (1–6)

Bar height (px)

Bar colour

Background

## **Product label sheet**

Lay out a printable sheet of labels

## How to use the code 128 barcode generator

1. Type the SKU, reference or serial you want to encode. Code 128 accepts upper and lower case letters, digits, hyphens, slashes and spaces.
2. Keep values reasonably short; every extra character widens the barcode, and a very long code needs a very wide label to scan.
3. Decide whether to print the text under the bars. For stock labels it is useful; for security tags you may prefer to hide it.
4. Scan the preview to check it returns exactly the value you typed, including case, then download the SVG or PNG.

## What to include

- A consistent numbering scheme, such as a prefix for the product category followed by a running number
- No leading or trailing spaces, which scanners will faithfully read and your software may reject
- The readable text beneath the bars for manual entry
- A quiet zone on both ends; Code 128 is sensitive to clutter next to the start and stop patterns
- Enough bar height for handheld scanners to read at an angle
- A test scan into the actual software or spreadsheet that will receive the value

## Why Code 128 is the best barcode for internal labels

Code 128 packs more data into less width than older formats like Code 39, handles letters as well as numbers, and includes a built-in check character so misreads are caught. Because it has no fixed length and no registration body, you can start using it today with whatever reference scheme your business already has: "SHELF-A12", "INV-2026-0042", a customer ID, a job number. Warehouse scanners, supermarket handhelds and phone apps all read it without configuration.

The main thing to avoid is using it on retail packaging. A supermarket till is set up to look up EAN or UPC numbers in its product database, so a Code 128 label on a shelf product will scan but will not match anything. Keep Code 128 for everything you scan yourself and use EAN-13 or UPC-A for products that go through someone else's checkout.

## Frequently asked questions

<details>

<summary>

### **What characters can a Code 128 barcode contain?**

</summary>

All printable ASCII characters: upper and lower case letters, digits and common punctuation. The tool switches between the internal code sets automatically to keep the barcode as narrow as possible.

</details>

<details>

<summary>

### **Is there a maximum length for Code 128?**

</summary>

There is no hard limit in the format, but scanners struggle with very wide codes. Keep values under about 25 characters for labels and under 50 for anything printed large.

</details>

<details>

<summary>

### **Can I generate many Code 128 barcodes at once from a list?**

</summary>

This page makes one at a time. For a sheet of labels with names and barcodes, use the product label variant, which prints a grid you can fill row by row.

</details>

<details>

<summary>

### **Will a Code 128 barcode scan into Excel or an inventory app?**

</summary>

Yes. A scanner acts like a keyboard, typing the decoded value wherever the cursor is, followed by Enter. Scan into a cell or the search box of your app.

</details>

<details>

<summary>

### **Does the generator keep a record of the codes I make?**

</summary>

No. Rendering happens in your browser, and nothing is sent to or stored on our servers.

</details>

## Related tools

[**Free Barcode Generator**Generate EAN-13, UPC-A and Code 128 barcodes or a printable sheet of product labels. Download PNG or SVG.](https://roxbold.com/branding/barcode-generator) [**Product Label Barcode Generator**Print a sheet of product labels with name, barcode and the price text you type.](https://roxbold.com/branding/barcode-generator/product-label) [**EAN-13 Barcode Generator**Make a retail-ready EAN-13 barcode from your 12-digit GS1 number, check digit included.](https://roxbold.com/branding/barcode-generator/ean-13) [**Shipping Label Maker**Make shipping labels with sender, recipient, phone, order number and handling notes, 8 per A4 sheet.](https://roxbold.com/branding/label-maker/shipping) [**Text QR Code Generator**Encode a message, serial number or instructions into a QR code that reads offline.](https://roxbold.com/branding/qr-code-generator/text) [**Free Employee ID Card Generator**Design a staff or student ID card with photo, logo and custom fields, then print two per A4 sheet to cut out.](https://roxbold.com/hr-documents/employee-id-card-generator)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://roxbold.com/#website","@type":"WebSite","description":"Free online business tools: invoices, salary slips, HR letters, QR codes, calculators and solar estimators. No signup, nothing stored.","name":"Roxbold Tools","url":"https://roxbold.com/","publisher":{"@id":"https://roxbold.com/#identity"}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#webpage","datePublished":"2026-11-01","description":"Encode letters, numbers and symbols into a compact Code 128 barcode for stock and asset labels. Free Code 128 barcode generator, no signup. Download PNG or SVG.","name":"Code 128 Barcode Generator – Alphanumeric, Free Online","url":"https://roxbold.com/branding/barcode-generator/code-128","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://roxbold.com/branding/barcode-generator/code-128#breadcrumb"},"isPartOf":{"@id":"https://roxbold.com/#website"},"mainEntity":[{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/1"},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/2"},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/3"},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/4"},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/5"}],"potentialAction":[{"@type":"ReadAction","target":["https://roxbold.com/branding/barcode-generator/code-128"]}],"primaryImageOfPage":{"@id":"https://roxbold.com/#logo"}},{"@id":"https://roxbold.com/#identity","@type":"Organization","name":"Roxbold","url":"https://roxbold.com","logo":{"@id":"https://roxbold.com/#logo"}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/software-application/1","applicationCategory":"BusinessApplication","browserRequirements":"Requires JavaScript. Works in any modern browser.","description":"Encode letters, numbers and symbols into a compact Code 128 barcode for stock and asset labels. Free Code 128 barcode generator, no signup. Download PNG or SVG.","isAccessibleForFree":true,"name":"Code 128 Barcode Generator","operatingSystem":"Any","url":"https://roxbold.com/branding/barcode-generator/code-128","@type":["SoftwareApplication","WebApplication"],"offers":{"@type":"Offer","availability":"https://schema.org/InStock","price":"0","priceCurrency":"USD","priceValidUntil":"2027-12-30T00:00:00.000Z"}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#howto","@type":"HowTo","description":"A Code 128 barcode generator encodes any mix of letters, digits and punctuation into a dense, reliable barcode that every modern scanner reads. It is the standard choice for SKUs, inventory bins, asset tags, job cards, courier labels and membership numbers, where you control the numbering and do not need a retail product number. Type the value, see the bars update, and download a PNG or SVG from your browser.","inLanguage":"en","name":"How to use the Code 128 Barcode Generator","totalTime":"PT2M","image":{"@id":"https://roxbold.com/#/schema/image/1"},"mainEntityOfPage":{"@id":"https://roxbold.com/branding/barcode-generator/code-128#webpage"},"step":[{"@type":"HowToStep","name":"Step 1","text":"Type the SKU, reference or serial you want to encode. Code 128 accepts upper and lower case letters, digits, hyphens, slashes and spaces."},{"@type":"HowToStep","name":"Step 2","text":"Keep values reasonably short; every extra character widens the barcode, and a very long code needs a very wide label to scan."},{"@type":"HowToStep","name":"Step 3","text":"Decide whether to print the text under the bars. For stock labels it is useful; for security tags you may prefer to hide it."},{"@type":"HowToStep","name":"Step 4","text":"Scan the preview to check it returns exactly the value you typed, including case, then download the SVG or PNG."}]},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/1","@type":"Question","inLanguage":"en","name":"What characters can a Code 128 barcode contain?","acceptedAnswer":{"@type":"Answer","text":"All printable ASCII characters: upper and lower case letters, digits and common punctuation. The tool switches between the internal code sets automatically to keep the barcode as narrow as possible."}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/2","@type":"Question","inLanguage":"en","name":"Is there a maximum length for Code 128?","acceptedAnswer":{"@type":"Answer","text":"There is no hard limit in the format, but scanners struggle with very wide codes. Keep values under about 25 characters for labels and under 50 for anything printed large."}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/3","@type":"Question","inLanguage":"en","name":"Can I generate many Code 128 barcodes at once from a list?","acceptedAnswer":{"@type":"Answer","text":"This page makes one at a time. For a sheet of labels with names and barcodes, use the product label variant, which prints a grid you can fill row by row."}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/4","@type":"Question","inLanguage":"en","name":"Will a Code 128 barcode scan into Excel or an inventory app?","acceptedAnswer":{"@type":"Answer","text":"Yes. A scanner acts like a keyboard, typing the decoded value wherever the cursor is, followed by Enter. Scan into a cell or the search box of your app."}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#/schema/question/5","@type":"Question","inLanguage":"en","name":"Does the generator keep a record of the codes I make?","acceptedAnswer":{"@type":"Answer","text":"No. Rendering happens in your browser, and nothing is sent to or stored on our servers."}},{"@id":"https://roxbold.com/branding/barcode-generator/code-128#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://roxbold.com","position":1},{"@type":"ListItem","name":"Branding & Shop Tools","item":"https://roxbold.com/branding","position":2},{"@type":"ListItem","name":"Barcode Generator","item":"https://roxbold.com/branding/barcode-generator","position":3},{"@type":"ListItem","name":"Code 128 Barcode Generator","position":4}]},{"@id":"https://roxbold.com/#logo","@type":"ImageObject","caption":"Roxbold","contentUrl":"https://roxbold.com/logo.png","inLanguage":"en","url":"https://roxbold.com/logo.png"},{"@id":"https://roxbold.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://roxbold.com/_og/s/o_0f0c2a4ae531670d.png","inLanguage":"en","url":"https://roxbold.com/_og/s/o_0f0c2a4ae531670d.png"}]}
```

## Sitemap

See the full [sitemap](https://roxbold.com/sitemap.md) for all pages.
