UPC Barcode Generator

Create UPC-A barcodes in your browser. Enter the 11 digits of your number to calculate the check digit, or all 12 digits to verify the check digit you already have.

Barcode type

This page creates barcodes of this type.

UPC-A

Barcode value

Enter 11 digits to calculate the check digit, or 12 digits to verify it. Spaces and hyphens are ignored.

Options

Choose how the barcode appears in the preview and in downloads.

Barcode preview

The preview shows the barcode at its module geometry. Test printed barcodes with the scanner you plan to use.

Enter a value to see the barcode here.

Export & Download

PNG and SVG keep bar edges sharp. JPG is a compression format, offered for compatibility. Use PNG where crisp edges matter.

How to create a UPC-A barcode

Enter 11 digits

Enter the 11 digits of your UPC-A number. The 12th digit, the check digit, is calculated for you.

Or enter all 12 digits

If the check digit is already part of your number, enter all 12 digits. The tool verifies it and reports a mismatch without changing the value.

Read the status line

The status line below the value says whether the check digit was calculated or verified.

Check and download

Check the preview, then download PNG, JPG, SVG or PDF. Share PNG is available where your device supports it.

What this UPC generator does

Creates UPC-A barcodes for product numbers you already have, with the check digit handled for you.

Calculates the check digit

From 11 digits, the generator adds the 12th digit using the UPC-A check digit rule.

Verifies a complete UPC-A

With 12 digits, it checks the last digit and reports an error if it is wrong.

Optional human-readable number

Show the 12 digits under the bars, or hide them for a bars-only graphic.

Four download formats

PNG, JPG, SVG and PDF. The PDF keeps the bars as vector shapes.

Other barcode types

UPC-A is one of four barcode types in the general generator. Choose the type your product or system requires.

Barcode Generator

The general generator offers Code 128, EAN-13, UPC-A and EAN-8 on one page.

EAN-13

The 13-digit format. Use it where your number or system requires EAN-13 instead of UPC-A.

Code 128

A general-purpose barcode for text. It is not a product-number format.

How UPC-A works

UPC-A is a 12-digit numeric barcode. Its structure and check digit explain the input rules on this page.

Twelve digits

The number is made of a number-system digit, manufacturer and product digits, and a final check digit.

The check digit

It is calculated from the first 11 digits with alternating weights of 3 and 1, counted from the right. Entering 11 digits calculates it; entering 12 verifies it.

How the bars are drawn

UPC-A uses the EAN-13 bar structure with a leading zero. The generator keeps a minimum quiet zone of 9 modules on each side.

What a UPC does not show

A UPC identifies a product number. It does not show the product name, the price, or whether the number is registered.

Use only numbers you are entitled to use. The generator does not allocate or check UPC numbers.

Printing and scanning a UPC-A barcode

Scanning is sensitive to print quality and size. Test a printed sample before using the barcode on packaging or labels.

Keep the quiet zones clear

Leave clear space on both sides of the bars, free of text, borders and images.

Preserve the proportions

Do not stretch the barcode. Scale the file uniformly, and keep the bar edges sharp.

Prefer SVG or PNG for print

SVG scales without loss, and PNG keeps module edges crisp. JPG can soften edges.

Check size requirements

This tool does not apply GS1 magnification or size rules. Confirm the size and print requirements for your product before printing.

Test with your scanner

Print a sample and scan it with the scanner your retailer or workflow uses.

Frequently asked questions

What is the difference between 11 and 12 digits?

With 11 digits, the tool calculates the check digit. With 12 digits, it checks the last digit and reports a mismatch without changing the value.

Does this create a registered UPC?

No. The generator encodes the number you enter. It does not register the number, allocate a GTIN or check ownership.

Can I create UPC-E barcodes here?

No. This page creates UPC-A only. UPC-E and add-on supplements are not supported.

Can I share the barcode?

If your device supports file sharing, Share PNG passes the PNG file to the share sheet you choose. The number is not included as text.