UPC Barcode Generator

Enter 11 digits and get a complete UPC-A with its check digit as a print-ready barcode — or the compact UPC-E version for small packages.

  • UPC-A · UPC-E
  • Check digit
  • Exact sizes
  • SVG + PNG
Barcode type

A 2-digit add-on carries the issue number of a periodical, a 5-digit add-on a suggested retail price.

Size and appearance

GS1 allows 80 % to 200 % of the nominal size. Use at least 100 % when the printer is not high-end.

Create many barcodes at once

How it works

How to create a UPC barcode

From number to label in seconds.

  1. 1

    Enter the number

    11 digits for UPC-A — the twelfth, the check digit, is calculated. A complete number is verified.

  2. 2

    Choose size and resolution

    Set the magnification from 80 % to 200 % and the PNG resolution to match your printer.

  3. 3

    Download

    Save as SVG for packaging artwork or as PNG for label software and documents.

Why ToolCMB

Made for US and Canadian retail

Symbol layout and sizes as GS1 US specifies.

Check digit calculator

The twelfth digit is added automatically; a wrong one is flagged and can be corrected with one click.

UPC-E conversion

See at once whether a UPC-A can be zero-suppressed to an 8-digit UPC-E, and expand any UPC-E back to its full number.

EAN-13 equivalent

Every UPC-A is also a valid EAN-13 with a leading zero — shown next to the barcode for international listings.

True sizes

At 100 % a UPC-A is 37.29 mm (1.469 in) wide with quiet zones, at a bar module of 0.33 mm (13 mil).

Add-on codes

The 2- and 5-digit supplements used on magazines, books and some weighed goods.

Batch mode

Paste a list of up to 500 numbers and download every barcode as one ZIP.

Private by design

Everything runs in your browser. What you type or open is not sent to a server.

Free, no sign-up

No account, no limits, no watermark — on a phone, tablet or computer.

How a UPC number works

The Universal Product Code is the barcode scanned at checkouts in the United States and Canada. A UPC-A number (officially GTIN-12) has 12 digits: a company prefix licensed from GS1 US — its first digit is called the number system — an item number you assign to each product variant, and a final check digit.

The check digit guards against misreads. Add the digits in the odd positions (1st, 3rd, … 11th) and multiply by 3, add the digits in the even positions, and take what is missing to the next multiple of ten. For 03600029145 that is (0+6+0+2+1+5)×3 + (3+0+0+9+4) = 58, so the check digit is 2 and the full code is 036000291452.

UPC-E is a zero-suppressed short form for small packages such as cosmetics or candy. It is not a separate number: only UPC-A numbers with number system 0 or 1 and a run of zeros in the right place can be compressed, and the scanner expands them back to 12 digits. To sell on Amazon, Walmart or in stores you need numbers licensed from GS1; a generator only draws the bars for a number you already own.

UPC symbols at 100 %

SymbolDigitsSize with quiet zones
UPC-A11 + check digit37.29 × 25.91 mm (1.469 × 1.02 in)
UPC-E6 (+ number system and check digit)22.11 × 25.91 mm (0.87 × 1.02 in)
UPC-A + 2 add-on12 + 2about 46 mm (1.8 in) wide
UPC-A + 5 add-on12 + 5about 55 mm (2.15 in) wide

Tips

  • Selling outside North America? Create a 13-digit code with the EAN Generator.
  • For shipping cartons (ITF-14, GS1-128) and internal labels (Code 128) use the Barcode Generator.
  • Add a scannable link to your packaging with the QR Code Generator.
  • Resize label artwork to exact pixel dimensions with the Image Resizer.
FAQ

Frequently asked questions

Can’t find your answer? Contact us — we reply quickly.

How do I calculate a UPC check digit?

Add the digits in positions 1, 3, 5, 7, 9 and 11 and multiply the sum by 3. Add the digits in positions 2, 4, 6, 8 and 10. The check digit is the amount that brings the total to the next multiple of 10.

Can I generate UPC codes for Amazon?

You can draw the barcode here, but the number itself must be licensed from GS1 — Amazon checks it against the GS1 database. Random or resold numbers risk having listings removed.

What is the difference between UPC-A and UPC-E?

UPC-A shows all 12 digits. UPC-E is a compressed 8-digit form of the same number for small packages; it exists only for numbers that contain enough zeros.

Is a UPC the same as an EAN?

A UPC-A is an EAN-13 with a leading zero. Scanners worldwide read both, so a product with a UPC does not need an additional EAN.

What size should a UPC barcode be?

The nominal size is 1.469 × 1.02 inches (37.29 × 25.91 mm). GS1 allows 80 % to 200 %; stay at 100 % or larger unless your print quality is high.

Is this tool free?

Yes. It is free to use without an account or a limit, and the results carry no watermark.

More free developer tools

Encode, format, test, convert and generate — small tools that run in your browser and keep your data on your device.

Browse all tools