UPC Barcode Generator (UPC & EAN)

Turn a GS1 number you own into a print-ready UPC-A, UPC-E, EAN-13 or EAN-8 symbol with this free UPC barcode generator. The check digit is done for you.

Valid UPC-A

Size & print options
Numbers & conversions

Enter 7, 11, 12 or 13 digits. We name the GTIN length and add the check digit.

GS1 issues company prefixes; a valid UPC starts with a prefix you own. “Free UPC numbers” from resellers may be rejected by marketplaces and retailers. Check the marketplace's own policy before buying. This tool never invents retail numbers. For internal labels, use Code 128 or a sequence.

Everything runs in your browser. Nothing you type is uploaded.

Preview

0.330 mm X · 22.9 mm high

Retail UPC/EAN numbers are licensed by GS1. This tool draws the barcode for a number you already own; it does not issue numbers.

Make a UPC barcode in 3 steps

Choose the symbol type first. UPC-A is the standard twelve-digit retail barcode in the United States and Canada. UPC-E is its shortened form for small packages. EAN-13 is the thirteen-digit retail standard used almost everywhere else, and EAN-8 is a compact version for tiny items. ITF-14 is for shipping cartons rather than individual products.

Type the number without spaces or dashes. If you enter eleven digits for UPC-A, twelve for EAN-13, seven for EAN-8 or thirteen for ITF-14, the tool adds the check digit and shows the completed value. If you paste a full number, the check digit is verified and a correction is offered when it does not match.

Keep 100 percent magnification unless your packaging or retailer says otherwise. Download the PDF for print, or the SVG if a designer is placing the symbol in artwork. At 100 percent a UPC-A symbol is about 37.3 mm wide and 22.9 mm tall, including its quiet zones. Print at 100 percent and measure the bars on paper before approving a packaging run.

Where UPC numbers come from

A barcode generator can draw any digits, but a retail number is a licence, not a picture. GS1 allocates company prefixes and maintains the registry that shops and marketplaces rely on. The prefix identifies the company responsible for the product, and the remaining digits identify the item. Two products should never share a number.

That is why a random twelve-digit number is a bad idea for a product sold in shops. It may already belong to another company, and a marketplace that checks GS1 records may reject the listing. “Free UPC” offers from resellers usually pass on a prefix that the reseller controls, which can cause problems later. Check the marketplace’s own policy before paying for any number.

For internal use the picture is different. Shelves, bins, loyalty cards and homemade products can use Code 128 or an internal sequence. Those codes do not need a GS1 prefix because they never leave your own system. Our barcode generator is the better choice for that work.

UPC-A vs UPC-E vs EAN-13 vs EAN-8

UPC-A carries twelve digits: a one-digit number system, a five-digit manufacturer code, a five-digit product code and a check digit. It is the familiar symbol with long guard bars and a printed number underneath.

UPC-E compresses a UPC-A that contains the right pattern of zeros. An eight-digit UPC-E such as 01234565 expands to 012345000065. The check digit stays the same. Because the symbol is shorter, it fits small tubes, pens and confectionery, but not every UPC-A can be shortened.

EAN-13 adds a leading digit to the same retail numbering system. A UPC-A is therefore an EAN-13 with a zero in front. EAN-8 is a separate, shorter licence for very small packages and is not simply a cut-down EAN-13.

ITF-14 is different: fourteen digits for a carton, printed on corrugated board with a thick bearer frame so the bars survive rough handling. The first digit is an indicator that shows how many identical items are inside.

How the check digit works

The check digit catches typing errors before a barcode reaches a scanner. For a UPC-A number, write the eleven digits and number their positions from the right. Multiply the first, third, fifth and later digits by 3; multiply the others by 1. Add all the products.

For 03600029145 the products are 0, 3, 18, 0, 0, 0, 6, 9, 3, 4 and 15. Their sum is 58. The check digit is the number that brings the total to the next multiple of ten: 60 − 58 = 2. The complete barcode is 036000291452.

A scanner does not repair a wrong digit; it rejects the symbol. Keep the printed number and the bars consistent, and use the calculator in the tool when you need to build a number by hand or check one from a supplier.

GS1 defines retail sizes as a percentage of the nominal symbol. 100 percent gives an X-dimension of about 0.33 mm. The normal range runs from 80 to 200 percent, which is roughly 0.264 mm to 0.660 mm. Larger symbols scan more reliably but take more shelf space.

Quiet zones matter as much as bar width. A UPC-A needs at least nine narrow modules on each side; EAN-13 needs eleven on the left and seven on the right. Do not let a design element, a fold or a dark background intrude into that space.

Bar-width reduction is a printing correction, not a design choice. Some presses spread ink, making bars wider than requested. A small negative reduction can compensate, but only use the value your printer recommends. If you are printing on a desktop laser or thermal label printer, leave it at zero.

SVG and PDF keep the symbol sharp at any size. Do not resample a PNG, and never stretch a barcode horizontally without changing the height by the same proportion. If you need a different size, export again from the tool.

Case codes for cartons (ITF-14)

An ITF-14 case code combines an indicator digit from 1 to 8 with a GTIN-12 or GTIN-13 and a new check digit. For example, indicator 1 added to 036000291452 produces 10036000291459. The indicator tells the warehouse how many selling units are in the case.

ITF-14 symbols are printed larger than retail barcodes: X from 0.495 mm to 1.016 mm and bars at least 31.75 mm tall, inside a bearer frame. The frame protects the bars when the carton is dragged across a loading dock. Our tool draws the bars; add the frame in your carton artwork if your printer or retailer requires one.

Numbers for in-store use only

GS1 reserves prefixes beginning with 2 for variable-measure items and prefixes beginning with 4 for internal store use. These numbers are not globally unique and must not appear on goods sold outside the store. They are useful for deli scales, in-store labels and temporary promotions, not for e-commerce listings.

If you only need an internal label, skip the retail format entirely. A Code 128 symbol gives you more characters, a smaller footprint and no licensing question. The barcode generator supports it alongside QR and Data Matrix.

The Batch tab accepts a pasted column of numbers and lays them out on a label sheet. Use it for a product launch, a price change or a stocktake where the same number repeats across several labels. Wrong check digits are flagged before the PDF is built, so one bad row cannot spoil a whole sheet.

Print a plain-paper test first. Compare the symbol positions with the label outlines, then adjust the starting label if the sheet has already been partly used. Keep the printer set to 100 percent; “Fit to printable area” is the most common cause of barcodes that will not scan.

Updated:

Frequently asked questions

How do I generate a UPC barcode?

Pick UPC-A, UPC-E, EAN-13, EAN-8 or ITF-14, type your number, and press Download PDF. If you enter 11 digits, the twelfth check digit is added automatically. Keep 100 percent magnification unless your retailer specifies another size.

Is this UPC barcode generator free?

Yes, the tool is free and needs no account. The number itself is not free if you sell in shops — retail prefixes come from GS1. This tool draws a symbol for a number you already have.

Can I make up my own UPC number?

Not for products sold through retail. GS1 allocates company prefixes and keeps the registry unique. Numbers beginning with 2 or 4 can be used inside a single store, but they are not valid for goods sold elsewhere.

How is a UPC check digit calculated?

Starting from the right, multiply alternate digits by 3 and 1, add the products, then subtract the last digit of the sum from 10. For 03600029145 the weighted sum is 58, so the check digit is 2.

How do I convert UPC-E to UPC-A?

UPC-E removes zeros according to fixed rules. Use the converter in the Number tools panel, or type the eight-digit UPC-E and let the symbol itself stay short. Expanding it gives the full twelve-digit UPC-A with the same check digit.

What is the smallest UPC barcode I can print?

At 80 percent magnification the X-dimension is about 0.264 mm and a UPC-A is roughly 29.8 mm wide including quiet zones. Bars become short and hard to scan, so use 80 percent only on small packages and test before a large print run.

Is an EAN-13 the same as a UPC?

A UPC-A number is an EAN-13 with a leading zero. Both are GS1 retail symbols and most modern scanners read either one. Use the type your retailer or marketplace asks for, and keep the number's existing check digit.

Will marketplaces accept my barcode?

Many marketplaces check that a retail number comes from GS1 and matches the product. Policies differ, so read the marketplace's own rules before buying a number from a reseller. This tool cannot issue or validate ownership of a prefix.