MAKEABARCODE.ORG

EAN-13 Barcode Generator

Enter a 12 or 13 digit EAN, or a 13-digit ISBN, to get an EAN-13 barcode. Leave off the last digit and the check digit is calculated; type all 13 and it is verified.

Pasted from a spreadsheet? Only the first column is used.

Make a numbered series

The bars say

A barcode holds one thing: the number

What’s printed

What the scanner gets

That’s all. No name, no price, no maker.

Looked up in the store’s product list

5012345678900…
0712345678911…

The bars are a typeface for a number, so anyone can draw them for any number, and this page does. What turns a retail number into your product is that it is registered to you: GS1 licenses company prefixes, and shops and marketplaces check them. For your own inventory, nobody needs to know. Use Code 128 and number things however you like.

The white space is part of it

keep clearkeep clear

A scanner finds a barcode by its blank margins. Text or a box edge too close to the bars, and it can’t tell where the barcode starts.

Scanners see in red

reads looks blank

Most scanners light the barcode with red. Red bars reflect it just like white paper does, so to the scanner they aren’t there. Black on white is safest.

Don’t cut the height

reads at an angle beam misses it

A tall barcode reads even when the beam crosses it at an angle. A squashed one only reads when the scanner is lined up exactly.

What the digits mean

An EAN-13 has 13 digits. The first two or three are a GS1 prefix that shows which GS1 member organization issued the company’s number. That is not the same as the country where the product was made. Then come the company prefix and item number, and the last digit is a check digit.

The check digit uses weights of 1 and 3: multiply the 1st, 3rd, 5th … 11th digits by 1 and the 2nd, 4th … 12th by 3, add them up, and the check digit is what brings the total to the next multiple of 10. For 400638133393 that’s 1, giving 4006381333931.

The first digit is the odd one out: it has no bars of its own. It is carried by which of the six left-hand digits are drawn in “odd” or “even” form, which you can see by tapping the left-hand digits in the diagram above.

ISBNs and UPCs

A 13-digit ISBN (starting 978 or 979) is printed as an EAN-13, so you can make a book barcode here from the ISBN. The price add-on some books carry isn’t supported. A 12-digit UPC-A is the same as an EAN-13 with a leading 0, so the two are interchangeable at the till.

About the numbers: this tool draws a barcode for a number you already have. It does not issue product numbers. UPC and EAN numbers for products sold in stores come from GS1 (in the US, GS1 US), which licenses a company prefix to each brand. A number you make up yourself will scan, but it isn’t registered to you, and retailers and marketplaces that check GS1 data may reject it.