Skip to content
  1. Home
  2. Website Tools
  3. Barcode Generator

Barcode Generator

Create a barcode for labels, shelves or inventory. Everything is generated in your browser.

How it works

Pick a format, type the value and the barcode appears instantly. Code 128 accepts most text and is a good default for internal labels and inventory. EAN-13 and UPC-A are retail product formats and expect numeric values; the check digit is added for you when you enter one digit fewer than the full length.

Bars are drawn by the open-source JsBarcode library (MIT) served from this site. Nothing is sent to a server.

Frequently asked questions

Can I use these for retail products?

Retail barcodes need a registered company prefix (GS1). This tool draws any valid number but cannot register it for you.

Why does it say my value is invalid?

Each format has strict rules: EAN-13 needs digits only and a correct length, Code 39 only allows capitals, digits and a few symbols.

Which format should I choose?

Code 128 for general labels, EAN-13 or UPC-A for retail, Code 39 for legacy systems and ITF-14 for shipping cartons.