Free Online UPC/EAN Generator
Generate a UPC-A or EAN-13 Product Barcode
Need to use UPC/EAN Generator right now?
UPC-A and EAN-13 are the standard barcode formats printed on virtually every retail product worldwide — UPC-A (12 digits) is the standard in the US and Canada, while EAN-13 (13 digits) is the international standard used across most of the rest of the world. This tool generates a real, correctly encoded barcode in either format, entirely in your browser.
The check digit (last digit) is calculated automatically using the standard EAN/UPC mod-10 algorithm — you only need to enter the product digits.
Other tools in QR Code & Barcode Tools
Features
- Runs entirely in your browser
- Privacy-first — your data is never uploaded
- Real-time, instant results
- 100% free, no sign-up required
- Works on desktop, tablet, and mobile
- No installation needed
Who uses this tool?
About UPC/EAN Generator
UPC-A and EAN-13 are the standard barcode formats printed on virtually every retail product worldwide — UPC-A (12 digits) is the standard in the US and Canada, while EAN-13 (13 digits) is the international standard used across most of the rest of the world. This tool generates a real, correctly encoded barcode in either format, entirely in your browser.
The last digit of both formats is a check digit, calculated automatically from the preceding digits using the standard mod-10 checksum algorithm — this is what allows a scanner to detect a misread digit, since an incorrect check digit immediately signals a scanning or data error. You only need to enter the product digits; the check digit is computed correctly for you.
UPC-A is technically encoded here as EAN-13 with a leading zero — this is the standard, universally compatible approach, since every EAN-13 scanner (which is virtually all modern point-of-sale hardware) correctly reads a leading-zero EAN-13 as the equivalent UPC-A code.
The bar pattern itself follows the precise EAN/UPC encoding standard — each digit's specific bar-and-space pattern, plus the guard patterns marking the start, center, and end of the code — verified in this tool's implementation against real, independently known reference barcode values to confirm correctness.
How it works
- Choose EAN-13 or UPC-A. 13-digit international format, or 12-digit US/Canada format.
- Enter the product digits. 12 digits for EAN-13, 11 for UPC-A — the check digit is calculated for you.
- Download the barcode as PNG. Ready to print on packaging or a product label.
Examples
EAN-13 example
Input
400638133393 (12 digits entered)
Output
4006381333931 (check digit 1 calculated automatically)
UPC-A example
Input
03600029145 (11 digits entered)
Output
036000291452 (check digit 2 calculated automatically)