ToolHub

Barcode Generator

Generate 1D (linear) barcodes online — Code 128, Code 39, EAN-13/8, UPC, ITF-14 and more — and download them as an image. For 2D QR codes, use the QR Code Generator.

Barcode Generator

These are 1D (linear) barcodes — the familiar stripes scanned at shops and warehouses. Need a 2D code (a square QR that holds links or text)? Use the QR Code Generator.

Your barcode will appear here

Barcode types this tool supports

These are all 1D (linear) barcodes. For a 2D QR code, use the QR Code Generator.

FormatAcceptsTypical use
Code 128Letters, digits, symbolsGeneral purpose, shipping, logistics
Code 39A–Z, 0–9, a few symbolsInventory, ID cards, industry
EAN-13 / EAN-812–13 / 7–8 digitsRetail products (global)
UPC-A11–12 digitsRetail products (US/Canada)
ITF-1414 digitsShipping cartons / cases
MSI / Codabar / PharmacodeDigitsWarehousing, libraries, pharma

How to generate a barcode

  1. Type your value in the Barcode Value box.
  2. Pick a Barcode Type — Code 128 works for most text.
  3. The barcode previews instantly below.

How to download your barcode

Click Download Image to save the barcode as a PNG (on a white background) that you can print or drop into a label, spreadsheet, or document.

Common uses

  • Product labels and retail pricing (EAN/UPC)
  • Inventory, asset tags, and warehouse bins
  • Shipping cartons and courier labels (ITF-14, Code 128)
  • Event passes, ID cards, and library catalogues

Everything is generated in your browser — the value you enter never leaves your device.

About Barcode Generator

Generate barcodes (such as Code 128 and EAN) from your text or numbers, then download the image. Useful for labels, inventory, and product tags. Runs entirely in your browser.

How to Use

  1. Enter the value to encode.
  2. Choose the barcode format.
  3. The barcode renders instantly.
  4. Download the image to print or use.

Why Use This Tool?

Frequently Asked Questions

What barcode formats are supported?

Common linear formats such as Code 128, Code 39, and EAN/UPC. Pick the one your scanner or system expects — Code 128 is a good general-purpose default.

What is the difference between a barcode and a QR code?

A barcode is one-dimensional (lines) and stores a short value like a product ID; a QR code is two-dimensional and holds much more data, like URLs. Use the QR Code Generator for those.

Do these barcodes expire?

No. The barcode encodes your value directly into the image, so it works permanently and offline.

Related tools