Barcode generator / UPC-A

UPC Barcode Generator

Generate a valid UPC-A barcode online for free. Enter 11 or 12 digits, get a print-ready retail barcode as PNG or SVG. No signup, no watermark.

11 digits (check digit added automatically) or a full 12-digit UPC-A.

80px

Preview

No watermark, no signup, unlimited PNG downloads. Rendered in your browser — the value you type never leaves your device. Vector SVG and high-resolution PNG are included with Pro.

What is UPC-A used for?

UPC-A is the 12-digit retail barcode used at point of sale across the United States and Canada. The first digits identify the company prefix issued by GS1, the middle block identifies the individual product, and the final digit is a mathematically derived check digit that scanners use to confirm a clean read.

If you are selling a physical product through a US retailer, a marketplace listing that requires a GTIN, or your own POS system, UPC-A is almost always the symbology you need. This generator renders the bars and the human-readable number underneath, and calculates the check digit for you when you supply 11 digits.

  • US & Canadian retail POS
  • Amazon / Walmart GTIN listings
  • Grocery and CPG packaging

UPC-A specification

Character setDigits 0-9 only
Length12 digits (11 + calculated check digit)
Check digitModulo-10, calculated automatically
Nominal size37.29 x 25.91 mm at 100% magnification
Size range80% to 200% magnification for retail scanning
Quiet zone9 modules left, 9 modules right — never crop it
Number sourceGS1 company prefix (required by retailers)

How to generate a UPC-A barcode

  1. 1

    Enter the first 11 digits of your GS1-issued UPC, or paste all 12 if you already know the check digit.

  2. 2

    Check the human-readable number rendered under the bars matches your product record exactly.

  3. 3

    Set the bar height — retail packaging normally uses the full nominal height rather than a truncated symbol.

  4. 4

    Download SVG for artwork and packaging, or PNG for a quick internal label.

  5. 5

    Print one test copy at final size and scan it with two different devices before committing to a production run.

Troubleshooting scan failures

The generator rejects your number

UPC-A accepts digits only. Remove spaces, hyphens, and any leading letters, then supply exactly 11 or 12 digits.

Scanners read a different number than expected

You probably supplied 12 digits where the last one was not a valid check digit. Enter the first 11 and let the tool calculate it.

The code scans on screen but not in print

Almost always ink spread or scaling below 80%. Print at 100% magnification first, keep pure black on white, and avoid glossy laminate directly over the symbol.

A retailer rejected the barcode

The symbol is valid, but the number inside must be yours. Retailers verify the GS1 company prefix, so a made-up 12-digit number will fail their onboarding even if it scans.

Need hundreds of codes at once?

Upload a CSV and get every barcode or QR code back in one download — plus editable dynamic QR codes with scan analytics, and an API for programmatic generation.

UPC-A questions

Other barcode formats