toolgix

Barcode Generator

Create Code 128, EAN-13, UPC-A, Code 39 and other barcodes as SVG or PNG.

Runs in your browserFree · no sign-upSingle & bulk

Bulk: validate and create many barcodes of the chosen type, downloaded together in a ZIP.

01 Enter valuesValues, one barcode per line
90 px
02 BarcodeResults

How to use Barcode Generator

  1. Choose the barcode type your scanner or retailer requires.
  2. Enter the value. For EAN and UPC you can leave out the last (check) digit and it is calculated.
  3. Download SVG for print or PNG for documents, and test-scan before printing in bulk.

How it works

Code 128 encodes any text and is the usual choice for internal labels, shipping and inventory. EAN-13 and UPC-A are the retail product codes; their last digit is a check digit calculated from the others, so a wrong digit is detected. ITF-14 is used on outer cartons.

Barcodes are drawn with the open-source JsBarcode library as crisp vector graphics. Generating a barcode does not register a product number: to sell in retail stores you need official GS1 numbers for your company.

Frequently asked questions

Can I make my own EAN-13 for a product?

You can draw any valid-looking EAN-13, but retailers require numbers licensed from GS1. Use this tool to render the numbers GS1 assigns you.

Which type should I use for inventory?

Code 128: compact, supports letters and digits, and is read by virtually every scanner.

Why is my EAN-13 rejected?

It must have 12 digits (the 13th check digit is added) or 13 digits with a correct check digit.

What file is best for printing?

SVG: it is vector and stays sharp at any size. Do not stretch barcodes unevenly.

Limitations

  • One barcode at a time; no 2D formats other than QR (see the QR code generator).
  • Print quality, size and quiet zones affect scanning; always test-scan.

Last reviewed November 9, 2026. How we build and test tools.

Categories

Recent and favourites

Tools you open appear here, and tools you star with “Favourite” stay at the top. This list is kept only in this browser.

Browse all 78 tools

↑ ↓ to moveEnter to openEsc to close