Skip to content
OddsockLocal
Local
Source text
Image formatsvg
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Type 11 digits, preserving leading zeros, or 12 if the check digit is already known.
  2. Choose SVG for production art.
  3. Verify the number against the certificate from your barcode provider.
  4. Scan a printed sample on the retail scanner, not only on a phone.

What is UPC-A barcode?

UPC-A is the 12-digit retail barcode common in the United States and Canada. Like EAN-13, the last digit is a check on the others. Type 11 digits and the check is appended. Type 12 and the twelfth has to be correct or nothing is drawn. The number 03600029145 is 11 digits and encodes with check digit 2, so the full code is 036000291452. The leading zero is part of the number. Dropping it would be a different product.

Read more

EAN-13 is the 13-digit cousin used widely outside this format. A UPC-A is often the same bars as an EAN-13 that starts with 0, which is why some scanners read both, and why you should still generate the symbol your paperwork names. Letters belong on Code 128, not here.

Prefer SVG so a layout app does not anti-alias the bars. Keep the blank margin at the ends. A phone camera may read a large, clean UPC and still is not the scanner at the checkout. Test with one of those.

Use cases

  • A US product label uses an 11-digit body and a computed check digit.
  • A packaging proof confirms a 12-digit UPC already checks before it is plated.
  • A catalog keeps the leading zeros that a spreadsheet would otherwise delete.
  • A student compares UPC-A with an EAN-13 that has an extra leading zero.
  • A printer receives SVG instead of a fuzzy PNG export.

Eleven digits with the check added

03600029145, SVG.

A UPC-A SVG for 036000291452. Typing the full 12 digits with check 2 produces the same bars. A wrong twelfth digit is rejected.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

11 and the check digit is added, or 12 that already include the correct check. Leading zeros count.