Dev Toolbox · Windows 10 and 11
Make a barcode: EAN, UPC, ISBN, Code 128
Pick the kind of barcode, type the number or text, and it is drawn as you type. Check digits are added for you, or checked, with a message that says which digit is wrong. Set the bar width, height, colors and the text under the bars, then save a PNG for documents or an SVG that prints sharp at any size.
How to make a barcode
- 1
Open the Barcode generator
Open Octoolo's Dev Toolbox and choose Barcode generator in the Make group, or type barcode in the home screen's search.
- 2
Choose the kind
Under Kind of barcode, pick Code 128, EAN-13, UPC-A, EAN-8, UPC-E, ISBN, ITF-14, Code 39, Code 93 or Codabar. A line under it says what each is for.
- 3
Type the number or text
Replace the example. For EAN, UPC and ITF-14 you can leave out the last digit and the check digit is added; a green note shows the full number. A wrong check digit gets a red note.
- 4
Adjust the look
Set Bar width, Bar height, Text size and Quiet zone, the colors of the Bars and Background, or See-through. Switch off Show the number under the bars if you print it yourself.
- 5
Save it
Pick PNG 1×, PNG 2× or PNG 4× (print) and press Save PNG, or press Save SVG for a file that stays sharp at any size.
Which barcode to use
| Kind | Holds | Used for |
|---|---|---|
| EAN-13 | 13 digits | Products in shops around the world |
| UPC-A | 12 digits | Products in shops in the US and Canada |
| EAN-8, UPC-E | 8 digits | Small packs with little room |
| ISBN | 13 digits from 978 or 979 | Books (an EAN-13 with the ISBN printed above) |
| ITF-14 | 14 digits | Cartons and cases of products |
| Code 128 | Any letters, digits and symbols | Shipping labels, stock, tickets, serial numbers |
| Code 39 | A to Z, 0 to 9, space and - . $ / + % | Name badges, parts, older systems |
| Code 93 | The same as Code 39 | The same jobs in a shorter barcode |
| Codabar | Digits and - $ : / . + | Libraries, blood banks, courier slips |
For your own labels, Code 128 is usually the best choice: it holds any plain text and packs digits tightly. Code 39 only has capital letters, so Octoolo turns lowercase into capitals and says so, and it can add the optional check character (modulo 43) with Add a check character.
Check digits, worked through
EAN, UPC, ITF-14 and ISBN-13 end with a check digit, so a scanner can tell when a bar was misread. To work it out, take the digits before it from the right, multiply them by 3, 1, 3, 1 and so on, add them up, and take what is needed to reach the next multiple of ten. For 590123412345:
5×3 + 4×1 + 3×3 + 2×1 + 1×3 + 4×1 + 3×3 + 2×1 + 1×3 + 0×1 + 9×3 + 5×1 = 83, and 90 − 83 = 7, so the EAN-13 is 5901234123457.
Type the 12 digits and Octoolo adds the 7. Type all 13 with a wrong last digit and it says “The last digit should be 7, not 0”. UPC-E is checked through the 12-digit UPC-A number it stands for: 425261 becomes 04252614, with the number system 0 at the front and the check digit 4 at the end.
ISBNs work the same way. An older 10-character ISBN is checked with its own rule (it may end in X) and turned into the 13-digit one: 0-306-40615-2 becomes 978-0-306-40615-7, with 978 in front and a new check digit. The ISBN is printed above the bars as books show it, keeping the hyphens you typed.
Printing barcodes that scan
- Size. At 100% size the narrowest bar of a shop barcode is 0.33 mm, and retailers accept roughly 80% to 200% of that. For print, save an SVG, or a PNG at 4×, and place it at a size where the bars stay crisp.
- Quiet zone. Scanners need blank space on both sides. Keep the Quiet zone and leave room around the code on the label.
- Colors. Dark bars on a light background. Black on white is safest; red bars do not scan, because many scanners use red light.
- Height. Short codes are harder to scan at an angle; lower the height only when the label demands it.
- Test it. Print one and scan it with the scanner or phone app that will read it before printing a thousand.
One thing a generator cannot do is give a product a number. Barcodes on goods sold in shops use numbers licensed by GS1, the organization that runs the EAN and UPC system; making up a number risks clashing with another product. For your own stock, events and documents, any Code 128 text is fine. For links, a QR code holds far more than a barcode.
Questions, answered
Can I make a UPC barcode for my product?
Yes, from the number you have: type the 11 or 12 digits as UPC-A. To sell in shops, the number itself must come from GS1.
Does it add the check digit?
Yes. For EAN-13, EAN-8, UPC-A, UPC-E, ITF-14 and ISBN, type the digits without it and it is added; type it and it is checked.
Can I make an ISBN barcode?
Yes. Choose ISBN and type the ISBN-13, or an old ISBN-10, which is turned into the ISBN-13. The ISBN shows above the bars.
Which file should I use for printing?
SVG, which stays sharp at any size, or a PNG at 4×. Both keep your colors; See-through gives a transparent background.
Can it make QR codes?
QR codes have their own tool in the Dev Toolbox: the QR code generator.
Is anything uploaded?
No. The barcode is drawn on your PC by JsBarcode, an open-source library, and saved where you choose.
Barcode generator, and 16 more apps.
Download for Windows7 days free, then from $3.99 a month for all 17 apps. Windows 10 and 11.