Barcode Generator

Make EAN-13, UPC-A, and Code 128 barcodes and download them as PNG or SVG.

Barcode type

Retail products in the US and Canada

036000291452
Encoded value036000291452
Check digit2

Barcode Generator

This barcode generator draws EAN-13, UPC-A, and Code 128 barcodes in your browser. For EAN-13 and UPC-A it adds the check digit, or tells you if the one you entered is wrong.

To sell products in stores, you need a GS1 company prefix so your number is unique. A barcode made here encodes the number you enter but does not register it.

How to use

  1. Choose the barcode type.
  2. Enter the number or text. The barcode updates as you type.
  3. Download a PNG for documents, or an SVG to print at any size.

Key terms

Check digit

The last digit of an EAN-13 or UPC-A number, calculated from the others so a scanner can catch misreads. Multiply the digits by 3 and 1 alternately, starting with 3 from the right, and add them. The check digit brings the total up to a multiple of 10.

Check digit = (10 − (sum mod 10)) mod 10

Quiet zone

The blank margin on each side of a barcode. Scanners need it to find where the bars start and end, so do not crop it or place other marks inside it.

Which barcode to use

TypeHoldsUsed for
EAN-1313 digitsRetail products worldwide
UPC-A12 digitsRetail products in the US and Canada
Code 128Letters, numbers, symbolsShipping labels, inventory, serial numbers

A UPC-A barcode has the same bars as an EAN-13 barcode that starts with 0, so scanners outside North America read it too.

Printing tips

Print black bars on a white background. Keep the margins, and do not stretch the image in one direction. SVG stays sharp at any size; for PNG, download it and scale it down rather than up.

FAQ

Can I use these barcodes on products I sell?

The barcode itself is free to use, but stores expect the number to come from GS1, the organization that assigns company prefixes. Contact GS1 in your country to get numbers.

Why is my check digit wrong?

The last digit must match the calculation from the other digits. Leave it off and enter 12 digits for EAN-13 or 11 for UPC-A to have the right one added.

Is what I enter saved?

No. The barcode is made in this browser, and nothing you type is saved or sent to a server.

References

More tools