UPC barcode generator

Generate UPC-A barcodes and printable UPC labels for products sold in the US and Canada — check digit calculated for you, sized to GS1 spec.

  • Free · no watermark
  • Runs in your browser
1 · Formattype: 'upca'
Retail
Logistics
Industrial
11 digits, or 12 to verify the check digit
Check digit 2 calculated and added
3 · Bars
60 px
Module width
10 px · 5.0 X
4 · Text

UPC-A uses the standard GS1 text layout, with digits split under the bars.

5 · Color
Bars
Background
6 · Rotation
Live previewUPC-A
100%
0 36000 29145 2
Modules
95
X-dimension
0.303 mm
Size
37.3 × 16.1 mm
Status
Valid
Export

Vector · best for print · 37.3 mm wide

Specs
Check digit
2
Quiet zone
5.0 X
Bar height
9.1 mm
Human text
GS1 layout
etiket · label.ts
import { barcode } from 'etiket'

const svg = barcode('03600029145', {
  type: 'upca',
  height: 60,
  barWidth: 2,
  showText: true,
  margin: 10,
  background: '#FFFFFF',
})

About UPC-A

What is a UPC-A barcode?

UPC-A is the 12-digit retail barcode used in the United States and Canada. It encodes a GTIN-12 and is read by EAN-13 scanners worldwide — a UPC-A is effectively an EAN-13 with a leading zero.

Data
12 digits (11 + check digit)
Characters
Digits only. The first digit is the number system character.
Check digit
Mod 10, automatic
Print size
37.29 × 25.93 mm at 100% (X = 0.33 mm), scalable from 80% to 200%
Used for
Retail products in North America, Amazon, Walmart

How to create a UPC-A barcode

  1. 1
    Enter your data
    Type or paste the 11-digit number. The check digit is calculated automatically, or verified if you enter it.
  2. 2
    Adjust bars and text
    Set bar height, module width and quiet zone, and choose whether to print the human-readable text.
  3. 3
    Set the print size
    Enter the final width in mm, cm, inches or pixels. The X-dimension and height update as you type.
  4. 4
    Download and test
    Export SVG for print or PNG at 300–600 dpi, then run a test scan before you print a full batch.
Other barcode generators

FAQ

UPC-A questions

More answers in the general FAQ and the barcode size guide.

How do I create a UPC-A barcode?

Choose UPC-A in the format list, enter your data (11 digits, or 12 to verify the check digit), set the print width, then download SVG or PNG. The check digit is calculated for you.

What data can a UPC-A barcode hold?

12 digits (11 + check digit). Digits only. The first digit is the number system character.

What size should a UPC-A barcode be?

37.29 × 25.93 mm at 100% (X = 0.33 mm), scalable from 80% to 200%. Keep the quiet zone clear and print dark bars on a light background.

Is this UPC-A generator free for commercial use?

Yes. There is no watermark, sign-up or usage limit, and barcodes are generated in your browser — your data is never uploaded.