How to make your UPC-A barcode
- 1
Get your product number from GS1 US, or use a number starting with 4 for items that never leave your own store.
- 2
Type the first 11 digits into Barcode value with UPC-A selected. QRBerry adds the 12th check digit.
- 3
Check that the digits under the preview match your assigned UPC, then download the PNG for your label or packaging file.
Where to use your barcode
Products for US and Canadian retailers
Grocery, convenience, pharmacy, and big-box checkouts scan the UPC-A on the package to look up price and stock.
Marketplace and wholesale listings
Many marketplaces and distributors ask for a UPC per product. The barcode on the box should carry the same number as the listing.
Price-lookup labels in your own shop
Numbers starting with 4 are meant for in-store use, so a bakery, farm stand, or boutique can label house items for its own POS system.
Relabeling existing stock
Cover a damaged, smudged, or wrong barcode with a fresh label that carries the product’s original UPC.
Where UPC numbers come from
In the United States, GS1 US is the official source of UPC numbers. You license either a single GTIN for one product or a company prefix that covers a range, then assign a number to each product, size, flavor, and pack count.
Numbers bought cheaply from resellers may already be registered to another company, and retailers that check GS1’s database can reject them. This UPC-A barcode generator only draws the barcode image from a number you already have; it does not sell, issue, or register UPCs.
Reading a UPC-A number
The first digit is the number system: 0, 1, 6, 7, and 8 cover most general merchandise, 2 is for random-weight items such as deli and meat, 3 for drugs and health products, 4 for in-store use, and 5 for coupons. Next come your company prefix and item reference, and the final digit is a check digit.
To get the check digit, triple the sum of the digits in odd positions, add the digits in even positions, and find what brings the total up to the next multiple of 10. For the sample 04210000526 the total is 46, so the full UPC is 042100005264.
Print size and file tips
Aim for about 1.47 × 1.02 in
That is the nominal UPC-A size (37.3 × 25.9 mm) including quiet zones. GS1 allows 80% to 200% of it; below 80% many checkout scanners struggle.
Leave white space on both sides
Keep a clear margin of about 9 bar widths, roughly 3 mm (1/8 in) at full size, to the left and right. Nothing printed there, not even a box edge.
Print labels at 100% scale
Barcodes download as PNG. On thermal or sheet label printers, set the label size and disable “fit to page” or “shrink” so bars are not resampled.
Avoid seams, curves, and red ink
Place the barcode on a flat panel, not over a seam or around a small bottle. Use dark bars on white; red bars are invisible to most scanners.
Frequently asked questions
Do I need to buy UPC codes from GS1 US?
If you sell through retailers or large marketplaces, yes. They expect UPCs licensed to your brand by GS1 US. For items sold only in your own shop, an in-store number starting with 4 is enough.
What is the difference between a UPC and a SKU?
A SKU is your own internal stock code and can be any format. A UPC is a globally unique 12-digit number that identifies the product at any store that sells it.
Can I use an EAN-13 barcode instead of UPC-A in the US?
Since 2005, US and Canadian retail scanners have been expected to read EAN-13 as well. Some retailers still prefer UPC-A, so check your buyer’s requirements.
Why does the generator ask for only 11 digits?
The 12th digit is a check digit calculated from the first 11, so QRBerry adds it for you. If you have the full 12-digit UPC, type the first 11 and confirm the last digit matches.
Does each product variant need its own UPC?
Yes. Under GS1 rules, each size, color, flavor, or pack count sold as a separate item needs its own number and barcode.
