Everyday utilities

UPC Barcode Generator

UPC Barcode Generator

UPC-A barcodes with automatic check digit (and UPC-E), PNG/SVG and bulk export.

About this tool

About UPC Barcode Generator

UPC-A is the 12-digit barcode used on retail products in the United States and Canada. Enter the first 11 digits and the generator adds the check digit with the GS1 modulo-10 rule, or enter all 12 to verify an existing code; if the last digit is wrong you are told which digit it should be. For small packages, switch the type to UPC-E, the zero-suppressed 8-digit version, and the tool shows the full UPC-A number it expands to so you can check it. Set the bar width, height, margin, text size and colours, then download a sharp PNG or a scalable SVG for packaging and label software. Bulk mode turns a list of up to 500 codes into a ZIP of barcode images in one go, skipping and listing any invalid entries. UPC numbers for retail must come from GS1 US or GS1 Canada; this tool draws barcodes for numbers you already own, entirely in your browser.

Built and maintained by Abhi JainUpdated

How to Make a UPC Barcode

  1. 1

    Enter the UPC

    Type 11 digits (check digit added) or 12 digits (check digit verified).

  2. 2

    Style it

    Adjust size, margins and colours. Switch the type to UPC-E for small packs.

  3. 3

    Download

    Download PNG or SVG, or paste many codes in Bulk for a ZIP.

UPC Barcode Generator: questions and answers

How do I calculate a UPC check digit?

Add the digits in odd positions and multiply by 3, add the digits in even positions, and the check digit brings the total up to the next multiple of 10. For 03600029145 it is 2.

What is the difference between UPC-A and UPC-E?

UPC-A has 12 digits. UPC-E compresses certain UPC-A numbers with runs of zeros into 8 digits for small packages; both encode the same product number.

Can I make up my own UPC?

For internal use, yes, but retailers only accept UPCs licensed from GS1. For your own stock labels, Code 128 is usually a better choice.

Can I turn a UPC into an EAN-13?

Yes: put a 0 in front of the 12-digit UPC-A. The check digit stays the same. Use the EAN-13 Barcode Generator to draw it.