Generate a Code 128 barcode from alphanumeric text

For teams labeling a product or document before print, this tool prepares a clean visual for the job. Generate a Code 128 barcode from alphanumeric text.

Generate a Code 128 barcode from alphanumeric text. Tune the format in the preview, then download a crisp code ready to place or print.

How to use

  1. Enter the alphanumeric value you want the barcode to carry in the input field, keeping the content simple and accurate.
  2. Pick one of the available image sizes, such as 256, 512 or 768 pixels, depending on whether the code will be shown on screen or printed.
  3. Run the generation to see the Code 128 preview, then inspect the bars for sharp edges and correct spacing.
  4. When the preview looks right, download the image; if not, clear the field and try another value or size.

Example

A warehouse assistant needs labels for boxes using an internal reference like ORD-2024-018. They type the reference, select a readable size, check the generated bars, and download the image for the label template before printing.

Limits and formats

Where processing happens

Everything runs in your browser. The value you type and the barcode image are handled on your device, with no upload and no remote storage. Once the page is loaded, you can generate codes without sending your content anywhere.

Frequently asked questions

Can I encode letters, numbers and hyphens?

Yes. Code 128 is designed for alphanumeric content, and common punctuation such as hyphens is usually supported. Always check the preview and scan the result with your actual reader before printing many labels.

Which size works best for printed labels?

It depends on the label width and reading distance. A larger image gives thicker bars that are easier to scan, but it must fit your layout. Run a test print before committing to a full batch.

Is my barcode text sent anywhere?

No. Generation happens locally in your browser, so the text is not transmitted to an external service. The downloaded file contains the barcode image, while the original text remains in your session.

Tools in the same category