Barcode Generator

Create Code 128, EAN, UPC and more — download PNG or SVG.

Generate barcodes for products, inventory, and labels — Code 128, EAN-13, EAN-8, UPC-A/E, Code 39/93, ITF-14, Codabar, and 2D formats like Data Matrix and PDF417. Type your value, pick a format, adjust the size, and download a crisp PNG or a scalable SVG. It's all generated in your browser.

document is not defined

Runs entirely in your browser — nothing is uploaded.

How to use the barcode generator

  1. 1Choose a barcode format — Code 128 works for most text and numbers.
  2. 2Enter the value to encode.
  3. 3Adjust the size, then download as PNG or SVG.

Frequently asked questions

Which barcode format should I use?

Code 128 is the most versatile for general text and numbers. Use EAN-13 or UPC-A for retail products, ITF-14 for shipping cartons, and Data Matrix or PDF417 for 2D codes.

Why won't my value generate?

Some formats require a specific length or character set — EAN-13 needs 12–13 digits and UPC-A needs 11–12 digits, for example. Check the format's requirements and try again.

Are the barcodes free to use?

Yes — free for personal and commercial use. Note that selling retail products may require an officially registered number, such as a GS1 UPC.

Is my data uploaded?

No — barcodes are generated entirely in your browser; nothing is sent anywhere.

Read the guide
How to Generate a Barcode (Code 128, EAN & UPC)

Related tools