Skip to content
cliplimeClipLime

Make a UPC-A barcode

Type 11 digits and the check digit is added. Or type all 12 and it is checked. Nothing is uploaded.

What you type stays in your browser

Which product number?

Type 11 digits and the 12th, the check digit, is added for you. Or type all 12 and we check the last one.

UPC-A holds 12 digits. The last one is a check digit. Spaces and hyphens you paste are ignored.

This tool draws the barcode for the number you give it. It does not register the number. Products sold in shops need numbers issued by GS1, because a made-up number can match someone else's product.

Your barcode

Type a number or some text and your barcode appears here, ready to download.

Style

Pixels for the thinnest bar. It sets how big the picture is.

3 px
100 px

In bar widths, on each side. UPC-A needs at least 9. The border is where a scanner finds the start of the code.

11 bars

The number or text a person can read.

20 px

Contrast 21:1Good

Black on white is the safest. Many shop scanners use red light and cannot see red or orange bars.

For PNG and SVG. The bars are then read against whatever is behind them.

Need a different kind of barcode? The barcode generator makes Code 128, Code 39, EAN-13, UPC-A, EAN-8 and ITF-14.

At a glance

Length
12 digits. Type 11 and the 12th, the check digit, is added. Or type all 12 and it is checked.
Used in
The United States and Canada. Shops elsewhere read it too, as an EAN-13 with a 0 in front.
Bars
95 narrow bars wide, with a blank border of at least 9 bars on each side.
Number system digit
The first digit has a meaning. The tool explains 2, 3, 4 and 5.
Standard size
0.33 mm bars: the 95 bars measure about 31 mm, or about 37 mm with the smallest blank border. GS1 allows 80% to 200% of that.
Not included
UPC-E, the short form, and the add-on codes for 2 or 5 extra digits are not made here.
Privacy
Made in your browser. Nothing is uploaded or saved.

How to do it

  1. 1

    Enter the 11 digits

    Paste or type the number without its last digit. Spaces and hyphens are ignored.

  2. 2

    Read the check digit

    The 12th digit is added and the working is shown. Typed all 12? The tool checks the last digit. If it is wrong, the tool says what it should be and offers a one click fix.

  3. 3

    Style and size it

    Keep black bars on white. Use the Print size panel to see how wide it prints at 0.33 mm bars.

  4. 4

    Download and test

    Save the SVG for print and scan a printed copy before you commit to a run of labels.

What a UPC-A is made of

The Universal Product Code was introduced for United States grocery stores in the 1970s, and the 12 digit form is the UPC-A. It is made of a number system digit, a manufacturer number, a product number and a check digit. The manufacturer number is licensed to a company by GS1 US, and the company then gives each product its own number.

The number system digit is the first digit. 0, 1, 6, 7, 8 and 9 are used for ordinary products. A 2 marks items sold by weight, where the shop works out the price and prints it into the code. A 3 is used for drugs and health products, a 4 is for use inside one store, and a 5 is used for coupons.

The 12th digit is the check digit. Starting from the right, the digits get the weights 3, 1, 3, 1 and so on, and the check digit brings the total up to the next multiple of 10. Under the number, Show the sum works out the one for your number.

UPC-A and EAN-13 are the same barcode

A UPC-A and an EAN-13 are drawn with the same bars. An EAN-13 that begins with 0 is a UPC-A with a 0 in front, and scanners report a UPC-A as 13 digits with a leading 0. Since 2005 retailers in the United States and Canada have been expected to scan EAN-13 as well, so a product with a non-US EAN-13 can be sold there.

You can tell the two apart in the printed digits. In a UPC-A, the first and last digits sit outside the bars, to the left and right, and the rest sit under the bars in two groups of five. An EAN-13 has its first digit on the left and 12 under the bars in two groups of six.

Where UPC-A is used and where it is not

UPC-A is the barcode on most packaged goods in United States and Canadian shops, and is what US retailers ask their suppliers for. Numbers have to come from GS1 US or a reseller. This tool draws the barcode and does not register the number.

UPC-E is a shorter form that squeezes some UPC-A numbers into 8 digits, for small packages. This tool does not make UPC-E. It also does not make the 2 or 5 digit add-on codes that magazines and books use.

Questions people ask

How many digits does a UPC-A have?

12: one number system digit, five for the manufacturer, five for the product and one check digit. Type the first 11 and the tool adds the 12th.

Can I use a UPC-A outside the United States?

Scanners around the world read it, because they treat it as an EAN-13 with a 0 in front. Retailers in some countries may still ask for an EAN-13 on the product, so check what your buyer needs.

Where do I get UPC numbers?

From GS1 US, or from a GS1 office in your own country, which licenses a company prefix. Some resellers sell single numbers.

My UPC-A has 13 digits. What do I do?

A 13 digit number is an EAN-13. If it starts with 0, remove the 0 and you have the UPC-A. Otherwise use the EAN-13 barcode generator.

Does it make UPC-E?

No. UPC-E is a compressed form of UPC-A for small packages and is not part of this tool. If your product is small, ask GS1 whether an EAN-8 or a UPC-E is available for you.

Guides that help

All QR codes guides →