Barcode Generator
Type a value, get a real scannable barcode. Code 39 for labels, badges and inventory; EAN-13 (with the check digit worked out for you) for products.
Two Barcodes, Two Different Jobs
Code 39 is the workhorse of warehouses, libraries, badges and asset labels: it encodes capital letters, digits and a few symbols, it is forgiving to print, and every scanner on earth reads it. What you type is wrapped in the start/stop asterisks the format requires — handled automatically here. EAN-13 is the retail product barcode: exactly 13 digits, the last of which is a check digit calculated from the other twelve. Enter 12 digits and the check digit is computed and added; enter 13 and it is verified — a wrong check digit is flagged rather than silently drawn, because a barcode that does not scan at a till is worse than none.
The Check Digit, in One Breath
Take the first twelve digits. Add the digits in odd positions (1st, 3rd, 5th…) once, and the digits in even positions three times over. The check digit is whatever makes the total a multiple of ten. That simple arithmetic catches the two errors cashiers actually make — one digit wrong, or two digits swapped — which is why EAN has survived since the 1970s. If you are printing labels for products you will sell through retailers, the first twelve digits are not yours to invent: they are issued by GS1 from your company prefix. This generator is for in-house labels, prototypes and testing unless you hold a real GS1 prefix.
Printing Barcodes That Actually Scan
Keep the quiet zones — the blank space at both ends — intact when you place the PNG; scanners need them. Print at the size generated or larger, never stretch it unevenly, and avoid glossy reflections over the bars. The download is a crisp PNG at print-friendly resolution. Test any new label with a phone barcode app before printing five hundred: thirty seconds of checking beats a roll of labels that only almost scan.
Frequently Asked Questions
Are these barcodes really scannable?
Yes. Code 39 is drawn to the published pattern table with proper start/stop characters, and EAN-13 is encoded with the correct L/G/R patterns, parity from the first digit, and a genuine check digit — a phone scanner app will read both.
What is an EAN-13 check digit?
A digit calculated from the other twelve: add odd-position digits once and even-position digits three times over; the check digit makes the total a multiple of ten. Enter 12 digits here and it is added for you; enter 13 and it is verified.
Can I use an EAN-13 from here on products I sell?
Only if your first digits come from a GS1 company prefix issued to you — retailers systems key on that prefix. Invented numbers are fine for in-house labels, prototypes and testing, not for retail sale.
Why did my Code 39 value get rejected?
Code 39 only covers capitals A–Z, digits and the symbols - . $ / + % and space. Lowercase is converted to capitals automatically; anything else (like @ or #) is not part of the format.