Linear barcodes for labels and scanners

Type digits or text, pick Auto or a fixed symbology, set bar size, then Generate barcode. You get a live preview, PNG and SVG, and Copy image. Runs in your browser—no signup.

Barcode controls and preview

EAN-13, UPC-A, and CODE 128 for SKUs, labels, and quick scanner checks.

1 Data · 2 Symbology & size · 3 Generate barcode · 4 Copy or download

Your barcode

Auto keeps digits only for GTIN shortcuts: 13 → EAN-13, 12 → UPC-A; anything else (including letters) uses CODE 128. A wrong check digit can still look fine—confirm against your data before print.

Try

Preview updates as you type. Nothing is uploaded for rendering.

Type digits or text—bars update live. Change symbology or bar size anytime. After a big paste, tap Generate barcode to refresh.

Next: QR code · UUID · All generators · All tools

  • Bars render locally with JsBarcode after the script loads from this site
  • PNG and SVG when ready; Copy image for a quick paste
  • Retail systems validate check digits themselves—double-check before you print

What this is for

Quick proofs when you need a line scanner–readable strip, not a full design package.

  • Packaging comps and label mockups
  • Checking how a GTIN or internal code looks before print
  • Tuning bar height for a test scan
  • CODE 128 when the payload is not a standard retail length

Tip: If the scanner beeps but the register says no, the data in your system—not this preview—is the place to fix it.

When linear codes still win

Many warehouses and POS guns expect 1D symbols. Use this page to match the format your flow expects, then move the asset into your template tool for exact sizing.

How it works

  1. Enter digits or text (spaces are fine).
  2. Choose Symbology or Auto; set Bar height and Module width.
  3. Tap Generate barcode—preview, encoded value, and details fill the panel.
  4. Download PNG or Download SVG, or Copy image to paste elsewhere.

Privacy: Encoding runs in your browser after JsBarcode.all.min.js loads from this site. We do not receive your input to draw the symbol. Other scripts (for example analytics) may still load depending on site settings.

FAQ

  • Why did it fail? EAN-13 and UPC-A need the right length and check digit. Use CODE 128 for odd lengths, or fix the digits.
  • Retail packaging? You still need valid registered numbers—this only draws what you type.
  • Print quality? Keep white space around the symbol; do not blow up a tiny PNG for a huge box.
  • Phones? Controls stack; results and downloads sit below on small screens.

Bookmark for quick label checks—one tab beats digging for old desktop software.