ETEvoraTools
Barcode Generators

UPC-A Generator

UPC-A Generator renders a 12-digit GTIN representation used prominently in North American retail. It does not assign a company prefix or item reference, check ownership, register a product, query a catalogue, or certify print quality. The check digit detects selected errors but is not authentication.

Runs locally — files stay on your device
Quick answer

How many digits are in UPC-A?

Twelve, including the final check digit.

UPC-A is a GTIN-12 carrier

Number-system and item digits precede a modulo-10 check digit. GS1 licensing and company data determine legitimate use.

How it works

The entered numeric value is passed to bwip-js configured for UPC-A and rendered with human-readable text when valid.

Key concepts

UPC-A and EAN-13 interoperate in many systems

A UPC-A can often be represented with a leading zero in EAN-13 contexts, but master data still matters.

Checksum is not uniqueness

Multiple unauthorized labels can carry the same valid digits.

When to use it

  • Render an assigned GTIN-12.
  • Create a retail-scanner test label.
  • Preview a governed UPC-A identifier.

When not to use it

  • Do not invent product numbers.
  • Do not copy another product's code.
  • Do not use on retail packaging without allocation and print verification.

Worked examples

Assigned GTIN-12

Input
Verified 12 digits
Expected output
UPC-A PNG

The library renders the symbol.

Wrong digit count

Input
10 digits
Expected output
Error

UPC-A length requirements apply.

Copied code

Input
Digits from another product
Expected output
May render

The tool cannot detect ownership.

Common mistakes

Buying random digits

Retail identifiers require legitimate allocation. Correction: Use your GS1/company process.

Assuming scannable means listed

Retail databases are separate. Correction: Publish correct product master data.

Resizing carelessly

Bar width and quiet zones can fail scanners. Correction: Follow print specifications.

Best practices

  • Use assigned GTIN-12 values.
  • Verify master data and check digit.
  • Test printed output with retail scanners.

Related operations and differences

Code 128 Generator

Choose Code 128 Generator when you need to generate a downloadable Code 128 barcode.; use UPC-A Generator specifically for barcode upca.

Code 39 Generator

Choose Code 39 Generator when you need to generate a Code 39 barcode.; use UPC-A Generator specifically for barcode upca.

EAN-13 Generator

Choose EAN-13 Generator when you need to generate an EAN-13 retail barcode.; use UPC-A Generator specifically for barcode upca.

EAN-8 Generator

Choose EAN-8 Generator when you need to generate a compact EAN-8 barcode.; use UPC-A Generator specifically for barcode upca.

Bitcoin Payment QR Code

Choose Bitcoin Payment QR Code when you need to create a Bitcoin payment URI QR code.; use UPC-A Generator specifically for barcode upca.

Contact vCard QR Code

Choose Contact vCard QR Code when you need to create a contact card QR code.; use UPC-A Generator specifically for barcode upca.

Limitations and privacy

  • No allocation, ownership, catalogue, price, product lookup, or print certification.
  • UPC-A numeric rendering only.
  • No duplicate detection.

Generation happens locally in this browser. The PNG contains the entered payload, so share it with the same care as the underlying data.

Frequently asked questions

How many UPC-A digits are there?

Twelve.

Does it register a product?

No.

Does the check digit prove authenticity?

No.

Can it look up a price?

No.

References