Free generator
Free UPC-A barcode generator
Type the 11 or 12 digits of your GTIN-12. The generator adds or checks the check digit, draws the bars at GS1’s standard size, and downloads an SVG for artwork or a PNG for your label printer.
- Free to use
- No sign-up
- No watermark
- Personal and commercial use
- Runs in your browser
11 digits (we add the check digit) or 12 digits (we check it). Use a GS1-licensed number for retail. When to use UPC-A
Check digit 2 added: 614141123452.
A barcode is only as unique as its number: the same number always draws the same bars. For trade, use numbers licensed to your company; anyone can check who a GTIN belongs to in Verified by GS1 (how).
The preview also updates as you type.
Preview · printed sizeScale in mm
Black on white only: colored bars and backgrounds are a common cause of scan failures. Everything is drawn in your browser; nothing you type is sent anywhere.
The width of the narrowest bar. Defaults follow GS1’s standard size for this type. Size and print settings explained
SVG downloads at the printed size above, for design and label software. PNG for a 300 dpi printer (12 dots/mm): 4 printer dots per module, so X is 0.333 mm (101%) and the bars 23.08 mm tall; print it at 100% scale. Free for personal and commercial use, with no watermark. Test a printed sample with the scanner that will read it.
- Free to use
- No sign-up
- No watermark
- Personal and commercial use
- Runs in your browser
UPC-A at a glance
UPC-A is the barcode on products sold at checkouts in the United States and Canada. It carries one number, a 12-digit GTIN-12, and nothing else.
| Encodes | A GTIN-12: 12 digits, the last one a check digit |
|---|---|
| Characters | Digits 0–9 only |
| Check digit | Required; GS1 modulo 10, worked out from the first 11 digits |
| Width | 95 modules of bars plus a 9-module quiet zone at each end: 113 modules in all |
| X-dimension (retail checkout) | 0.264 to 0.660 mm; 0.330 mm is the target, called 100% |
| Bar height | 22.85 mm at 0.330 mm, and in proportion to X: 18.28 mm at 0.264 mm, 45.70 mm at 0.660 mm |
| Human-readable digits | All 12, under the bars; the first and last sit outside the guard bars |
| Read as | A 13-digit number with an implied leading zero |
| Specifications | ISO/IEC 15420 and the GS1 General Specifications, section 5.2 |
Sizes and quiet zones are from GS1’s symbol specification table 1 for products scanned at retail point of sale, in the GS1 General Specifications. GS1 treats the height and the width as one size: the minimum bar height is listed for the minimum, target and maximum X, and a symbol may be taller but never shorter.
A printed example
614141123452, built on the U.P.C. Company Prefix 614141 that GS1 uses in its own examples. At 100% this symbol is 113 × 0.330 mm = 37.29 mm wide, quiet zones included, with 22.85 mm bars.What each setting does for a UPC-A
- Data. Type 11 digits and the generator adds the check digit; type 12 and it checks the last one and tells you the right digit if yours is wrong. Spaces and dashes are ignored.
- X-dimension. Starts at 0.330 mm (100%). Outside GS1’s 0.264–0.660 mm range the generator warns you; the readout shows the magnification.
- Bar height. Starts at 22.85 mm. If you raise X without raising the height, the generator warns that the bars are truncated for that size.
- Quiet zone. 9 modules each side, GS1’s minimum. Less than that triggers a warning.
- Human-readable text. On by default. GS1 wants all 12 digits printed; turn it off only if your artwork sets the digits itself.
- Downloads. SVG comes out at the printed size in millimeters. PNG is made for a 203, 300 or 600 dpi printer with every module a whole number of dots.
Sizes that print cleanly
A label printer can only make bars a whole number of dots wide, so pick an X the printer can hit exactly. Counting a 203 dpi head as 8 dots per millimeter and a 300 dpi head as 12, as GS1 does:
| Printer | Dots per module | X | Magnification | Width with quiet zones |
|---|---|---|---|---|
| 203 dpi | 3 | 0.375 mm | 114% | 42.4 mm |
| 203 dpi | 4 | 0.500 mm | 152% | 56.5 mm |
| 300 dpi | 4 | 0.333 mm | 101% | 37.7 mm |
| 300 dpi | 5 | 0.417 mm | 126% | 47.1 mm |
Two dots at 203 dpi (0.250 mm, about 76%) falls below the usual 0.264 mm minimum. GS1 allows X from 0.249 mm up to 0.264 mm only for on-demand printing such as thermal or laser, and says the space set aside for the symbol and its quiet zones should never be smaller than a 0.264 mm symbol needs.
Common mistakes
- Making up the number. The generator draws any 12 digits with a valid check digit, but stores and marketplaces need a GTIN licensed to your company by GS1: GS1 US in the United States, or the GS1 office of your country. See how to get UPC barcodes.
- Cutting the bars short. GS1 US calls this truncation and warns it can cause incorrect scanning. Choose a smaller X with its matching height instead.
- Resizing the artwork. GS1 US says not to shrink or enlarge barcode art but to re-create it at the size you need. Change X here and download again.
- Red or patterned bars. GS1 US asks for dark bars in one ink on a light background, and warns that red bars are invisible to a scanner’s red light.
- Using a 13-digit number that starts with 0 as an EAN-13. It is the same GTIN; print the last 12 digits as a UPC-A. UPC vs EAN explains why both read the same.
Worked example: a UPC-A for a 300 dpi label printer
- Type
61414112345. From the right, the digits are weighted 3, 1, 3, 1…: 5×3 + 4×1 + 3×3 + 2×1 + 1×3 + 1×1 + 4×3 + 1×1 + 4×3 + 1×1 + 6×3 = 78. The next multiple of ten is 80, so the check digit is 2 and the status line says614141123452. - Keep X at 0.330 mm and the height at 22.85 mm. The readout shows 100% and a 37.3 mm wide symbol.
- Choose 300 dpi. The PNG uses 4 dots per module, so X becomes 0.333 mm (101%) and the bars 23.08 mm: the height grows with X, so the symbol keeps its proportions.
- Download the PNG, print it at 100% and scan a sample with the scanner your store uses.
The calculation is the one in section 7.9 of the General Specifications; the check digit calculator shows it step by step for any GS1 number.
Sources
- GS1: GS1 General Specifications Standard (Release 26.0) (accessed )
- ISO: ISO/IEC 15420:2025, EAN/UPC bar code symbology specification (accessed )
- GS1 US: Barcode Placement & Printing Guidelines (accessed )
More tools for labels and numbers
- 14 types
Barcode generator
Fourteen barcode types, GS1 sizes built in, and downloads ready for design software or a label printer.
Open the tool - QR
QR code generator
Links, Wi-Fi, email, phone and text QR codes that never expire.
Open the tool - CSV to PDF
Bulk barcode generator
Turn a list or CSV into Avery and A4 label sheets, a ZIP of SVG or PNG files, or ZPL for a label printer.
Open the tool - 30-up
Barcode label sheets
Print numbered Code 128 or QR labels on 30-up sheets or a label printer.
Open the tool - 2D
GS1 Digital Link generator
Turn a UPC or GTIN, with batch, expiry or serial, into a GS1 Digital Link QR code or GS1 DataMatrix.
Open the tool - Scan
Barcode checker
Scan a barcode or QR code with your camera or a photo and check its digits, GS1 data and which domain its link opens.
Open the tool - CSV
SKU generator
Build consistent SKUs from product, color and size codes, then export CSV.
Open the tool - GS1
Check digit calculator
Calculate or verify GS1 check digits and convert UPC-E, UPC-A, EAN-13 and GTIN-14.
Open the tool