How to generate UPC labels

A UPC label is three things working together: a valid number, a correctly sized symbol, and enough white space around it. Get any one wrong and the label fails at the register even if it looks fine to the eye.

What do you need before generating the label?

A UPC-A number registered to your business through GS1, if the label is going on something sold through a retailer or marketplace. See do you need a GS1 number if you’re not sure. For internal stock, any consistent number works and Code 128 is usually the better format.

What size should the label be?

Follow GS1’s magnification guidance where the label is for retail: 80% to 200% of nominal size. Below 80%, our own testing shows the symbol can still be physically readable by a phone, but a retailer’s fixed scanner may not accept it. See the UPC-A generator for the measured detail.

What’s the most common mistake?

Not leaving enough blank margin (the quiet zone) on either side of the bars. A scanner uses that blank space to know where the symbol starts and ends; crop it too close and scans that should work start failing intermittently, which is a harder problem to diagnose than a label that simply doesn’t scan at all.

Generate the symbol on the UPC-A generator, or several at once on the bulk generator.

A barcode generated on this page is not a registered GTIN. It encodes whatever number you enter into a valid, scannable symbol. It does not register that number to you. Selling through a retailer or listing on a marketplace under most categories requires a number issued to your business by GS1. See do you need a GS1 number before you print at scale.

Written by Robert Wells · Published 2026-08-03