Skip to content
StylQR home

UPC-A Barcode Generator

Create UPC-A barcodes for products sold in the US and Canada. Enter your 11- or 12-digit UPC, and StylQR validates it, adds the check digit and draws a barcode ready for packaging.

  • Free & unlimited
  • Validated live
  • Print-ready SVG, PDF & PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

11 digits (check digit added) or 12 digits.

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

What is UPC-A?

UPC-A (Universal Product Code) is the 12-digit retail barcode used in North America since 1974. It encodes a GTIN-12 and is read at every US and Canadian checkout, as well as by retailers worldwide.

The first digit is the number system character (0, 1, 6, 7, 8 and 9 for regular products, 2 for variable-weight items, 3 for drugs and health products, 5 for coupons), followed by your GS1 company prefix, the item reference and a check digit. A UPC-A is effectively an EAN-13 whose first digit is 0.

The check digit uses modulo 10: multiply the digits in odd positions by 3 and even positions by 1, add them, and take the amount needed to reach the next multiple of 10. Unlike EAN-13, all 12 digits are encoded in the bars, with the first and last printed outside the guard bars.

Specification

UPC-A at a glance

Type
Linear (1D), GS1 retail
Characters
Digits 0–9 only
Length
12 digits (11 + check digit)
Check digit
Modulo 10, weights 3 and 1 (mandatory)
Nominal bar width
0.33 mm (80–200% magnification)
Nominal size
37.29 × 25.93 mm including quiet zones; bar height 22.85 mm
Quiet zone
9 modules each side
Standard
ISO/IEC 15420, GS1 General Specifications

How to create a UPC-A barcode

Four steps from data to a print-ready file.

  1. 1

    Step 1

    Enter your UPC-A data. 11 digits (check digit added) or 12 digits.

  2. 2

    Step 2

    Check the live validation — check digits are added for you and any problem is explained in plain words.

  3. 3

    Step 3

    Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.

  4. 4

    Step 4

    Press Test scan, then download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Where UPC-A is used

Real-world applications for this symbology.

  • US & Canadian retail

    Products sold in supermarkets, big-box stores, pharmacies and convenience stores.

  • Amazon & online stores

    Amazon and other marketplaces use the UPC to identify products and match listings.

  • Variable-weight items

    Number system 2 encodes price or weight for meat, cheese and deli products packed in store.

  • Healthcare products

    Number system 3 carries the National Drug Code (NDC) on medicines sold in the US.

  • Packaging artwork

    Vector barcodes for labels, boxes and hang tags designed in professional software.

Printing UPC-A that scans first time

Small details that make the difference between a code people ignore and one they scan.

  • Buy your company prefix from GS1 US (or GS1 Canada). Resold UPC numbers may be registered to another company and are rejected by many retailers.

  • Print at 100% where you can; never go below 80% (0.264 mm bar width).

  • Keep the full bar height — truncated UPCs are a common reason for retailer chargebacks.

  • Keep at least 9 modules (about 3 mm at 100%) of blank space on each side.

  • Proof with a barcode verifier if a retailer requires a grade report; use Test scan here as a quick first check.

UPC-A questions, answered

Where do I get UPC numbers?

From GS1 US in the USA or GS1 Canada, which license a company prefix or individual GTINs to you. StylQR does not sell UPCs; it encodes the ones you have.

What is the difference between UPC-A and EAN-13?

A UPC-A is a 12-digit GTIN; add a leading 0 and you have the equivalent EAN-13. Both are read by retail scanners worldwide; UPC-A is simply traditional in North America.

Can I use a UPC-A outside North America?

Yes. Retail scanners worldwide read UPC-A, so you do not need a separate EAN-13 for exports.

Do I need to type the check digit?

No. Enter 11 digits and the 12th is calculated. If you paste a full 12-digit UPC with the wrong final digit, the correct one is suggested.

Every other barcode type

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.