UPC-A barcode generator
Generate a valid UPC-A barcode from 12 digits, the most widely used product identification standard in the United States and Canada.
Processed on your device. Nothing is sent to any server.
Validates the check digit with the same algorithm as EAN-13 but over 12 digits (UPC-A is technically a subset of EAN-13), before generating the visual barcode.
Use cases
- Generating a product's barcode for the North American market.
- Verifying the check digit of an existing UPC-A code.
- Creating test codes for a point-of-sale system.
How it works
- 1
Enter the 12 digits
Including the final check digit.
- 2
Download the SVG
If the check digit is correct, the code is generated automatically.
Technical details
- You must enter all 12 digits, including the check digit. If the last one doesn't match, you'll see a notice instead of the code.
- A UPC-A is equivalent to the EAN-13 you get by adding a leading 0, which is why modern readers accept both.
- The tool draws the code and checks the check digit, but it doesn't assign codes: to sell in retail you need a code registered with GS1 to your company.
- It downloads as SVG (vector), with the digits printed under the bars; the SVG scales for print without losing sharpness.
Frequently asked questions
How is it different from EAN-13?
UPC-A is essentially an EAN-13 with an implicit leading 0; modern barcode readers recognize both formats interchangeably.