What it does
Type a number or some text, choose a barcode type and the page draws it right away. For EAN-13, UPC-A and ISBN-13 it works out the last check digit if you leave it off, and tells you if the one you typed is wrong. You can save the picture as PNG or SVG, or print many labels on one A4 or US Letter sheet as a PDF.
Nothing is uploaded; the bars are drawn in your browser. To print the labels on stickers, use label maker for text labels or image resizer to scale the PNG; a QR code is a better fit when you need to store a web address.
How to use it
- Pick the type. EAN-13 and UPC-A are for retail products, ISBN-13 for books, Code 128 for warehouse and shipping codes, and Code 39 for simple capital-letter labels.
- Type one code per line. Wrong lines are listed with the reason; good ones still work.
- Adjust bar width and height, and whether the numbers print underneath.
- Press Download PNG or SVG. With several lines you can also download a ZIP of all PNGs.
- For labels, set paper, columns, rows and copies, then Make the PDF. Print at 100% (actual size).
What each setting does
- Bar width: pixels for the narrowest bar in the PNG. Use 3 or more for printing.
- Height: 50% to 150% of the usual height.
- Mod 43 check (Code 39): an optional extra character that many scanners can verify.
- Copies of each: repeats every line; useful for a roll of the same label.
- The sheet note tells you the narrowest bar in millimetres and warns if it is too small to scan.
Worked example
The 12 digits 400638133393 get the check digit 1. Starting from the left, multiply digits by 1, 3, 1, 3 and so on: 4+0+0+18+3+24+1+9+3+9+9+9 = 89, and 10 minus the last digit of 89 is 1, so the barcode is 4006381333931. The ISBN-10 0-306-40615-2 converts to 978-0-306-40615-7. EAN-13 and UPC-A are always 95 modules wide.
FAQs
Can I sell products with a number made here? Shops and marketplaces expect numbers licensed by GS1 or your national GS1 office. This page draws a barcode for any valid number but does not give you the right to use it.
Why does my scanner not read it? Print larger, keep the white margin (the quiet zone) around it, use dark ink on white, and make sure the type matches what the scanner expects.
Code 128 or Code 39? Code 128 is shorter and holds any keyboard character. Choose Code 39 only when something specifically asks for it.
Where the numbers come from
- GS1 General Specifications (gs1.org): EAN-13 and UPC-A structure, the check digit rule (weights 3 and 1) and the L, G and R digit patterns. Product numbers for real shops must come from GS1 or your national GS1 office; this page cannot issue them.
- ISO/IEC 15417 (Code 128) and ISO/IEC 16388 (Code 39): symbol tables and the Code 128 check character. ISBN-13 is an EAN-13 starting 978 or 979 (isbn-international.org).
- Encoders are fibub's own. In tests the check digits are compared with published examples (ISBN 978-0-306-40615-7, UPC 036000291452, EAN 4006381333931, Code 128 PJJ123C check value 54).
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Read more on the Blog
Last updated 2026-12-05.