QR and barcode tools

Barcode Generator (Code 128, EAN-13, UPC)

Free online barcode generator for retail and logistics

Barcode Generator (Code 128, EAN-13, UPC)

Ready

Barcode value

Local processing

Live preview

Enter a value above to generate a barcode.

The preview regenerates as you type or change options. Downloads keep the preview appearance.

Press Ctrl or Command and Enter to run the tool.

About this tool

About this tool

Barcode Generator renders one-dimensional codes with the JsBarcode library in your browser. It supports Code 128, EAN-13, UPC-A, EAN-8, Code 39, ITF-14, Codabar, and MSI, with format-aware validation, adjustable bar width and height, custom colors, and an optional value caption. Output downloads as PNG or vector SVG, and all rendering happens locally.

Create scannable barcodes for product labels, packaging, warehouse tags, and library stickers. Pick a format, type the value, and watch the live preview update as you change the width, height, colors, and text display. The generator validates the input for each format so you never export a code that scanners will reject.

Built for daily work

  • Print price tags and shelf labels for a small shop.
  • Add EAN-13 codes to handmade product packaging.
  • Generate ITF-14 codes for shipping cartons and pallets.
  • Create Code 128 labels for inventory bins and assets.

How to use this tool

How to use this tool

1

Select the format

Choose the standard that matches where the barcode will be scanned: EAN-13 or UPC-A for retail, ITF-14 for cartons, Code 128 for general use.

2

Enter the value

Type the product or item code. The generator validates the character set and check digits for the selected format and explains the rules in a hint below.

3

Adjust and download

Tune bar width, height, and colors, then save the preview as PNG for labels or SVG for print and design work.

Key features

Key features

Eight common formats

Code 128, EAN-13, UPC-A, EAN-8, Code 39, ITF-14, Codabar, and MSI cover retail, logistics, library, and inventory use.

Format-aware validation

The generator checks digit counts and check digits before rendering, and shows the exact rule for every format so errors are easy to fix.

Adjustable appearance

Bar width, height, colors, and the human-readable caption can all be tuned for the label size and printer you use.

PNG and SVG output

Download a raster PNG sized for labels or a vector SVG that stays sharp at any print scale.

Practical use cases

Practical use cases

  • Print price tags and shelf labels for a small shop.
  • Add EAN-13 codes to handmade product packaging.
  • Generate ITF-14 codes for shipping cartons and pallets.
  • Create Code 128 labels for inventory bins and assets.
  • Produce Codabar tags for library or archive items.

Private by default

For local tools, input is processed in your browser and is not sent to application analytics.

Data processing notice

Technical details

Technical details

ProcessingLocal browser processing (JsBarcode)
FormatsCode 128, EAN-13, UPC-A, EAN-8, Code 39, ITF-14, Codabar, MSI
Output formatsPNG and SVG
ValidationCharacter sets and check digits per format

Limitations and important notes

Limitations and important notes

  • EAN and UPC codes accept numeric values only.
  • The generator does not register products in any database; it only renders the visual code.
  • Print quality matters: low-resolution printers can make thin bars merge or disappear.
  • Code 39 and Codabar have lower data density than Code 128 for long values.

Frequently asked questions

Frequently asked questions

Related guides and solutions

Related guides and solutions

Browse all guides

Generate a barcode for product SKUs

Inventory, labels, and listings need scannable barcodes. The [barcode generator](tool:barcode-generator) creates EAN, Code 128, and other common symbologies locally, ready for print or export.

Learn more

What local browser processing means for online tools

A transparent explanation of local tool processing, temporary browser memory, local storage, downloads, analytics boundaries, and cases that require remote services.

Learn more

Generate QR codes for free, with no sign-up and no watermark

QR code generators often hide downloads behind accounts, watermarks, or limits. The [QR code generator](tool:qr-code-generator) on this site is free, needs no sign-up, and produces clean PNG or SVG output with the full feature set: colors, error correction, margins, and a center logo.

Learn more

Trust center

Related tools

Related tools

View all tools

QR and barcode tools

QR Code Generator with Logo

Create QR codes with custom colors, error correction levels, sizes, margins, and an optional center logo, then download as PNG or SVG.

Local processing Focus mode
Open tool

QR and barcode tools

QR Code Reader and Scanner

Decode QR codes from image files or a live camera feed with instant results, all processed privately in your browser.

Local processing Focus mode
Open tool