Free UPC Barcode Generator (UPC-A)
Create a 12-digit UPC-A barcode from your product number. Enter 11 digits and the check digit is added, or all 12 to check them; download PNG or SVG.
Loading generator…
How to create a UPC barcode
- Enter 11 digits, or a complete valid 12-digit UPC-A.
- Keep UPC-A selected and resolve any check digit error.
- Compare the value with your assigned product number.
- Download PNG or SVG and test the printed barcode.
What a UPC barcode is
UPC-A is the 12-digit barcode on most products sold in the US and Canada. When a retailer or marketplace asks for a “UPC”, this is the barcode they mean. Scanners elsewhere read it too, as an EAN-13 with a leading 0.
| Digits | What they mean |
|---|---|
| First 6–11 | The GS1 company prefix, which identifies the brand owner. Its length depends on how many numbers the company was given. |
| Next | The item reference: the brand owner’s number for this product, size or variant. |
| 12th | The check digit, worked out from the first 11 so scanners can catch a misread. |
How the UPC check digit is calculated
The generator adds the check digit for you when you enter 11 digits. To work it out by hand, take the example number 61414112345:
- Add the digits in the odd positions (1st, 3rd, 5th … 11th) and multiply by 3: (6 + 4 + 4 + 1 + 3 + 5) × 3 = 69.
- Add the digits in the even positions (2nd, 4th … 10th): 1 + 1 + 1 + 2 + 4 = 9.
- Add the two results: 69 + 9 = 78.
- The check digit is what takes that total up to the next multiple of 10: 80 − 78 = 2. If the total already ends in 0, the check digit is 0.
So the full UPC-A is 614141123452.
Where UPC numbers come from
This generator draws the barcode; it does not give you a number. In the US, UPC numbers come from GS1 US, and in Canada from GS1 Canada, either as single numbers or as a company prefix for a range of products. Many retailers and online marketplaces check barcodes against GS1’s records, so numbers bought from resellers can be rejected.
For barcodes that never leave your own business, such as shelf or stockroom labels, UPC numbers starting with 2 or 4 are set aside for in-store and internal use.
Printing UPC barcodes that scan
- Use SVG for print layouts, because it stays sharp at any size. PNG suits screens, documents and quick labels.
- Print at 100% scale with “fit to page” turned off. At standard size a UPC-A is about 37.3 mm (1.47 in) wide and 25.9 mm (1.02 in) tall, and retail scanners generally accept 80% to 200% of that.
- Leave blank space of at least 9 bar widths on each side of the bars, with no text or border inside it.
- Don’t cut the bars shorter to fit a small label; shortened barcodes are harder to scan.
- Print dark bars on a light background. Black on white works best, and red bars won’t scan.
- Scan a test print before printing a whole batch.
Barcode formats
| Format | When to use it |
|---|---|
| UPC-A | Assigned retail product identifiers with 12 digits. |
| EAN-13 | Assigned retail product identifiers with 13 digits. |
| ITF-14 | Carton identifiers when the receiving workflow requires ITF-14. |
About this tool
UPC-A contains 12 digits including its check digit. Enter 11 digits to calculate the last digit or 12 digits to validate it.
This tool creates a UPC image from your number; it does not register a UPC. Obtain an assigned identifier and confirm retailer requirements separately.
A complete 12-digit UPC-A must have a valid last digit. Check your source number and retain leading zeros.
Your number is processed locally without uploads.
Your product number and its record in the system that reads it must remain valid.
UPC questions
Is this UPC barcode generator free?
Yes. There’s no sign-up and no watermark, and the barcode is made in your browser, so your numbers aren’t uploaded.
Can I make up my own UPC number?
Not for products you sell through stores or marketplaces: use a number assigned to you through GS1. For labels used only inside your own business, numbers starting with 2 or 4 are meant for that.
What’s the difference between UPC and EAN?
A UPC-A has 12 digits and an EAN-13 has 13. Put a 0 in front of a UPC-A and you have the same product number as an EAN-13, so checkout scanners read both. For a 13-digit number, use the EAN-13 barcode generator.
Why does the generator say my check digit is wrong?
The 12th digit doesn’t match the one calculated from the first 11, which usually means a typing mistake. Enter only the first 11 digits to see the correct check digit, then compare it with your records.
All barcode and QR tools · Free Barcode Generator · Free EAN-13 Barcode Generator · Free Wi-Fi QR Code Generator · Free vCard QR Code Generator