UPC & EAN Barcode Generator

Generate EAN-13, UPC-A and EAN-8 barcodes as sharp SVG images, with the check digit calculated for you, and validate existing barcode numbers.

LiveGeneratorsURL: /barcode-generator

Enter your values

Barcode type
UPC-A: 11 or 12 digits · EAN-13: 12 or 13 · EAN-8: 7 or 8. The last digit is the check digit.
Report error

Did we solve your problem today?

How to use this calculator

Enter your values. The result updates as you type; press Calculate to confirm and jump to the result on mobile. Use Share to send the calculator with your result.

UPC vs EAN

TypeDigitsUsed for
UPC-A12Retail products in the US and Canada
EAN-1313Retail products worldwide (a UPC-A is an EAN-13 starting with 0)
EAN-88Small packages with little label space

How the check digit works

from the right (excluding the check digit): odd positions × 3 + even positions × 1 check digit = (10 − sum mod 10) mod 10

Example: UPC 03600029145 → check digit 2 → 036000291452.

Before you print

To sell in stores and on Amazon, product numbers must be licensed from GS1 US (or your country’s GS1). Made-up numbers can clash with another company’s product. Download the SVG for crisp printing at any size and keep a clear white margin on both sides. Code 128 and QR codes aren’t supported yet.

Frequently asked questions

Are these barcodes free to use?

Generating the image is free; using a number on retail products requires a GS1 license.

What is a UPC check digit?

The last digit, calculated from the others so scanners can detect typos.

About this tool

Written by
[Author: to be assigned]
Reviewed by
Formula tests passed · human review pending
Last updated
31 Oct 2026

See our methodology and editorial policy. Think something’s off? Report an error with this tool.

Live

Word Counter

Count words, characters, sentences and paragraphs as you type, with reading and speaking time and common essay and post length targets.

Text Tools
Live

Morse Code Translator

Translate text to Morse code and Morse code to text instantly, with the full Morse alphabet and the rules for spacing.

Text Tools
Live

Character Counter

Count characters with and without spaces and check your text against the limits for X (Twitter), Instagram, SMS, Google titles and meta descriptions.

Text Tools
Live

Binary to Text Translator

Translate binary code to text and text to binary (8-bit, UTF-8), with spaces between bytes.

Text Tools
Live

Superscript Generator

Turn text and numbers into Unicode superscript (or subscript) characters you can paste anywhere.

Text Tools
Live

Wingdings Translator

Translate text into Wingdings symbols using their Unicode equivalents, so they display anywhere without the font.

Text Tools