UPC barcode generator

Turn your UPC number into a scannable UPC-A barcode for product packaging, labels and listings.

Updated

← All tools
Works in your browser

Tool

What you get with the UPC Barcode Generator

Check digit done for you

Type 11 digits and the 12th is calculated; type 12 and it is verified.

Print-ready SVG

Vector bars that stay sharp on packaging at any size.

Label sheets

Paste up to 300 UPCs and print them as a sheet of labels.

Free and private

No sign-up, no watermark, nothing uploaded.

How to use the UPC Barcode Generator

  1. Enter the first 11 digits of your UPC (the check digit is added for you), or all 12 digits to have it checked.
  2. Choose the bar height and width, and whether the number shows under the bars.
  3. Download an SVG for packaging artwork or a PNG for labels, or print a whole sheet of barcode labels.

Questions

Where do I get a UPC number?

From GS1 US (or the GS1 office in your country). GS1 licenses a company prefix or single numbers, so your product codes are unique worldwide. DocNova draws the barcode; it does not issue numbers.

What is the check digit?

The 12th digit of a UPC-A code, calculated from the other 11 so scanners can catch misreads. DocNova calculates it for you, and tells you if a 12-digit number you typed has the wrong one.

What size should a UPC barcode be printed?

The standard size is about 1.47 × 1.02 inches (37.3 × 25.9 mm), and it can be scaled from 80% to 200%. Use the SVG download so the bars stay sharp at any size.

UPC or EAN-13: which do I need?

UPC-A is traditional in the USA and Canada; EAN-13 is used in most other countries. Shops worldwide scan both. A UPC-A is the same as an EAN-13 that starts with 0.

Can I use a barcode generator for Amazon?

You can make the barcode image here, but Amazon and most large retailers check that the number belongs to a GS1 licence. Buy numbers from GS1, not from cheap resellers.

How a UPC-A barcode works

A UPC-A barcode encodes 12 digits. The first digits are the company prefix licensed to you by GS1, the next digits are the item number you assign to each product, and the last digit is a check digit. A scanner reads the bars, recalculates the check digit and rejects the scan if it does not match, which stops typos and misreads at the till.

Check digit example: for 03600029145, add the digits in the odd positions (0+6+0+2+1+5 = 14) and multiply by 3 (42), add the digits in the even positions (3+0+0+9+4 = 16), giving 58. The check digit is the number that brings this up to the next multiple of 10: 2. The full UPC is 036000291452.

Tips for printing UPC barcodes

  • Use SVG for packaging. Designers can place the SVG in Illustrator, InDesign, Affinity or Canva without any blur.
  • Do not squash or stretch it. Scale width and height together, between 80% and 200% of the standard size.
  • Leave white space on both sides. Scanners need a clear quiet zone; do not place text or edges right next to the bars.
  • Print dark bars on a light background. Black on white is best. Red bars and dark backgrounds often fail to scan.
  • Test with a real scanner or a scanning app before you print thousands of labels.

Common mistakes

  • Buying cheap resold numbers. Numbers not licensed to your company can be rejected by Amazon and large retailers. Use GS1.
  • Reusing a UPC for a different product. Each product variant (size, colour, pack count) needs its own number.
  • Typing the wrong check digit. If you enter 12 digits and the last one is wrong, DocNova shows an error instead of drawing a bad barcode.
  • Using UPC for internal stock. For your own SKUs and bin labels, a Code 128 barcode is simpler and needs no licence.

Install DocNova

The app is free, opens like a normal app, and works offline for tools you've used.