Barcode Generator: what it does and how to use it

Barcode Generator: what it does and how to use it

By Hami Tech·June 21, 2026·Updated June 25, 2026·5 min read

This generates Code 128 barcodes - the format used across logistics, warehousing, asset tracking and shipping labels. Code 128 is the general-purpose workhorse of barcode symbologies: it encodes the full ASCII set, so letters, digits and punctuation all work, and it is variable length rather than fixed, so an asset tag and a tracking number both fit. That flexibility is exactly why it dominates internal systems. It is worth being clear about what it is not. Retail point-of-sale uses EAN-13 and UPC, which are fixed-length numeric formats tied to a globally registered number issued by GS1. You cannot invent one - a made-up EAN will either fail validation or collide with a real product. So the rule is straightforward: Code 128 for anything internal, and a GS1-registered number if the item is going to be scanned at a shop till. Barcodes are generated in your browser and never uploaded.

QR and barcode jobs fail in the real world when contrast is low, the print is tiny, or the payload is longer than it needs to be. Test a scan before you print a stack.

Barcode Generator is a good fit when asset and equipment tags for internal tracking.

The useful part

Barcode Generator is built around a few practical wins, not a long feature list:

  • Encodes letters, digits and punctuation, unlike the numeric-only retail formats.
  • Variable length, so it fits asset tags, order numbers and tracking references equally.
  • Check digit calculated automatically, which is where hand-built barcodes usually fail.
  • Generated in your browser - inventory data is never uploaded.
  • No account and no per-barcode limit.

Do this, in order

  1. Enter your data. Letters, digits and punctuation are all valid - Code 128 encodes the full ASCII range.
  2. Check the generated barcode. A check digit is calculated automatically, which is what makes it scan reliably.
  3. Download it. Save the image at a size suitable for where it will be printed.
  4. Test with a real scanner before a print run. Scan the printed label, not the screen. Print quality and size affect readability more than anything else.

Who it is for

  • Asset and equipment tags for internal tracking.
  • Warehouse bin, shelf and location labels.
  • Shipping and packing labels for order fulfilment.
  • Library, tool-room or equipment loan systems.
  • Any internal inventory system where the number only needs to be unique to you.

If you want a clean result

  • Print with a quiet zone - a clear margin either side. Text or a border crowding the bars is a common cause of scan failure.
  • Keep the data short. Code 128 is variable length, so a long string produces a wide barcode that needs more label space.
  • Print at high resolution. A barcode scaled up from a low-resolution image gets blurry edges that scanners struggle with.
  • Test on the actual printed label with the actual scanner. Screen tests pass in cases where print does not.
  • For retail sale through shops, buy a registered GS1 number rather than generating your own - this tool is for internal use.

Common mix-ups

  • Assuming a self-generated barcode works at a retail till. That requires a registered EAN or UPC, which cannot be invented.
  • Cropping away the quiet zone to fit a tighter label layout.
  • Printing too small for the scanner and distance involved.
  • Testing only on screen, where a phone camera is far more forgiving than a warehouse laser scanner.
  • Encoding very long strings, producing a barcode too wide for the label it has to fit on.

Private by default

Barcode Generator runs in your browser. The file or text you paste stays on your device. There is no account, and nothing is stored on a ToolBox server for this job.

If this is one step in a longer job, these usually come after it:

Before you ask

How do I generate a barcode?

Enter your data above and the Code 128 barcode is generated immediately, with the check digit calculated for you. Download it and test the printed result with your scanner.

Is this barcode generator free?

Yes. No account, no limit and no watermark.

Which barcode format does this produce?

Code 128 - the standard format for logistics, warehousing and asset tracking. It encodes full ASCII and is variable length, which is why internal systems use it almost universally.

Can I use this for retail products sold in shops?

No. Retail point-of-sale needs EAN-13 or UPC, which are fixed-length numeric formats tied to a number registered with GS1. Those cannot be self-assigned - an invented number either fails validation or clashes with a real product.

Do I need a registered number for internal use?

No. For your own inventory, assets or warehouse locations the number only has to be unique within your system, so you can assign it yourself. Registration matters only when the barcode is scanned by someone else's till.

Why is my barcode not scanning?

Usually print size or the quiet zone. Barcodes need a clear margin either side and enough physical width for the scanner to resolve the bars. Low print resolution is the other common cause - test the printed label rather than the screen.

Can Code 128 encode letters as well as numbers?

Yes, the full ASCII set including punctuation. That is its main advantage over the numeric-only retail formats and why it suits asset tags and reference codes.

Are my barcodes uploaded anywhere?

No. Generation happens in your browser, so inventory numbers and internal references never leave your device.

Open the Barcode Generator when you are ready. It is free, and you do not need an account.