Type the value
The barcode is drawn as you type.
Type the first 11 digits and get a UPC-A barcode with the check digit added. This is the retail barcode of the United States and Canada. Nothing is uploaded.
100% private — the barcode is drawn in your browser and nothing is sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
The barcode is drawn as you type.
Set the bar width and height, and show or hide the text.
Save it as PNG or SVG and test it with a scanner.
To generate a UPC barcode, enter the first 11 digits in the value box above and the UPC-A barcode appears with the twelfth digit, the check digit, added automatically. If you type all 12 digits, the tool checks the last one. Download the barcode as PNG or SVG. It runs in your browser, and nothing is uploaded.
UPC-A (Universal Product Code) is the 12-digit barcode used on retail products in the United States and Canada since the 1970s. It has a number system digit, a manufacturer code, a product code and a check digit. It is the ancestor of EAN-13: adding a zero in front of a UPC-A gives the equivalent EAN-13, and modern scanners read both.
| Part | Digits | Meaning |
|---|---|---|
| Number system | 1 | 0, 1, 6, 7, 8 for most products; 2 for weighed goods; 3 for drugs; 5 for coupons |
| Manufacturer | 5 | Assigned by GS1 |
| Product | 5 | Chosen by the manufacturer |
| Check digit | 1 | Calculated from the other 11 |
Take the first 11 digits, 01234567890. Multiply them alternately by 3 and 1, starting with 3 for the rightmost one: 0×3 + 1×1 + 2×3 + 3×1 + 4×3 + 5×1 + 6×3 + 7×1 + 8×3 + 9×1 + 0×3 = 85. The check digit is what you add to reach the next multiple of 10: 90 − 85 = 5. The full number is 012345678905. The generator adds it for you when you type only the first 11 digits, and warns you if a full number has a wrong check digit.
This tool draws a correctly formatted barcode from any number you give it. That is enough for internal use, such as inventory, shelves or test labels. To sell a product in shops and on marketplaces, however, the number must be a GTIN issued by GS1 through a licensed company prefix; otherwise it may collide with another company's product. Buy your numbers from GS1 in your country, then use this tool to draw the codes.
The code is drawn by your browser on your own device. What you type, including passwords and contact details, is never sent to a server, and the finished image is yours with no watermark and no expiry.
More utilities that also run without leaving your browser.