Free Barcode Generator — UPC, EAN, Code 128, Code 39 and More

Free, no watermark, runs entirely in your browser
Barcode type

The retail barcode used everywhere outside North America. 12 digits plus a check digit.

5901234123457
Encoded: 590123412345795 modulesQuiet zone: 10 modules each side

Print at 100% scale — resizing a barcode in a document is the usual reason a symbol that looked fine on screen will not scan. Keep the white margin: a symbol printed flush to the edge of a label fails more often than a blurry one.

Size and color

Scanners read dark bars on a light background. Black on white is the safe choice; red or pale bars and dark backgrounds often fail.

Need a QR code instead of bars? Open the QR code generator to turn a URL or text into a QR code.

Type a number or text and get a barcode you can download, copy or print. Ten barcode types, real encoders, no watermark and no account. For UPC and EAN numbers the check digit is calculated as you type, or flagged if the one you typed is wrong. Switch to bulk mode to turn a pasted list or a numbered sequence into up to 500 barcodes at once, then download them as a ZIP or print them on one sheet. Everything is encoded in this page, so the numbers you are about to print never leave your device.

Private by design. Barcodes are drawn as SVG in your browser — the numbers you encode are never sent to a server.

FreeNo sign-upRuns in your browser

How to create a barcode

  1. Pick the barcode type. UPC-A for retail in North America, EAN-13 elsewhere, UPC-E or EAN-8 for small packages, Code 128 for shipping and inventory labels, Code 39 for older scanners, ITF-14 for cartons, Codabar for libraries and MSI for shelf labels.
  2. Type the data. For UPC and EAN, enter the number without the check digit and it is calculated for you, or paste the full number and it is verified. Code 128 takes any letters, digits and symbols. For many barcodes, switch to bulk mode and paste one value per line.
  3. Size and color the bars. Bar width is the width of the narrowest bar and is what decides whether a scanner can read the symbol. Bar height only affects how easy it is to aim. The 10-module quiet zone on each side is added automatically.
  4. Download, copy or print. SVG for anything that will be scaled, such as a label template or a print house. PNG is rendered at 4× so it survives being dropped into a document. Print at 100%: resizing a barcode after export is the usual reason it stops scanning.

Frequently Asked Questions

Is this barcode generator free?
Yes. There is no account, no watermark and no limit on how many barcodes you make. The barcodes are plain SVG or PNG files you can use on labels, packaging and documents, including commercially.
How do I create a UPC barcode?
Choose UPC-A and type the first 11 digits of your UPC; the 12th digit, the check digit, is calculated and added. If you paste all 12 digits the check digit is verified instead. For the short 8-digit version used on small packages, choose UPC-E.
Can I generate many barcodes at once?
Yes. Switch to bulk mode and paste one value per line, or fill the list with a numbered sequence such as ITEM-0001 to ITEM-0050. Up to 500 barcodes are generated together and can be downloaded as a ZIP of SVG or PNG files or printed on one sheet.
Which barcode type should I use?
For products sold in shops: UPC-A in the US and Canada, EAN-13 in the rest of the world. For shipping labels, inventory and asset tags: Code 128, which handles letters and digits and stays compact. Code 39 is wider but readable by almost any scanner. ITF-14 goes on outer cartons.
How is the barcode check digit calculated?
UPC-A, UPC-E, EAN-13, EAN-8 and ITF-14 share one rule: weight the digits 3, 1, 3, 1… starting from the right, add them up, and the check digit is whatever makes the total a multiple of ten. Type the number without it and the tool appends it; type the full number and it verifies it.
What is the difference between EAN-13 and UPC-A?
UPC-A is an EAN-13 with a leading zero. The bar pattern is identical, which is why the two scan interchangeably on modern equipment. Use UPC-A for North American retail and EAN-13 elsewhere.
My barcode will not scan. What is wrong?
In order of likelihood: it was resized after export (print at 100% or export a larger bar width), the white margin around it was cropped, the bars are too narrow for the printer's resolution, or it was printed in a light color or on a dark or reflective background. Bar height is almost never the problem.
Can I sell products with a barcode generated here?
The symbol is valid, but the number has to be yours. Retail UPC and EAN numbers are allocated by GS1 to a registered company prefix. A number you make up, or the random test value here, may already belong to somebody else. For internal codes, warehouse labels and asset tags there is no such constraint.
Does it make QR codes?
This page makes linear barcodes, the kind with bars. For a QR code, use the QR code generator linked under the tool.

Use Cases

  • Print UPC-A or EAN-13 labels for products you have GS1 numbers for
  • Generate Code 128 labels for inventory, shipping or asset tags
  • Make a sheet of numbered barcodes for shelves, bins or equipment
  • Verify the check digit on a barcode number you were sent
  • Produce vector barcodes for a label template in Illustrator or InDesign
T
ALL TOOLS · THE CATALOG
477 single-purpose tools · no sign-up
File-processing tools run in your browser. Network and device requirements are described on each tool.