Make a barcode for a product, a label or a shelf, and save it as PNG, JPEG or SVG.
Barcode Generator is a free online tool that turns a number or a short text into a barcode you can print: EAN-13, UPC-A, EAN-8, Code 128, Code 39 or ITF-14. For EAN, UPC and ITF-14 it works out the last digit, the check digit, or tells you when the one you typed is wrong. Set the width, height and colors, and save it as a PNG, JPEG or SVG with no watermark. Each barcode is read back by a scanner before you save it.
EAN-13 or UPC-A for products sold in shops, EAN-8 for small packs, Code 128 for letters and numbers, Code 39 for labels and badges, ITF-14 for shipping cartons.
The barcode is drawn as you type. For EAN, UPC and ITF-14 you can leave out the last digit and it is worked out for you.
Pick PNG, JPEG or SVG and save it, or copy the picture and paste it into your label or design.
EAN-13 and UPC-A are the barcodes on products in shops; EAN-8 is the short one for small packs. Code 128 takes letters, numbers and symbols and stays short. Code 39 takes capital letters, numbers and a few signs, and older scanners read it. ITF-14 goes on the cartons products are shipped in, with a thick bar above and below it.
The last digit of an EAN, UPC or ITF-14 number is a check digit, worked out from the others so a scanner can catch a misread. Type the number without it and it is added; type it in full and it is checked, and if it is wrong you see which digit it should be.
Pick the color of the bars and of the background, or leave the background out for a see-through PNG or SVG to put on your own design. If the colors are too close, or the bars are lighter than the background, a warning tells you that scanners may not read it.
| Barcode types | EAN-13, UPC-A, EAN-8, Code 128, Code 39, ITF-14 |
|---|---|
| Check digit | Worked out, or checked if you type it |
| Size | Bars 1 to 8 px wide, 20 to 300 px tall |
| Look | Your colors, a see-through background, the numbers under the bars or not |
| Saves as | PNG, JPEG, SVG |
| Check | Read back by a scanner before you save |
| Price | Free, with no watermark and no sign-up |
| Where it runs | In your browser |
Updated December 2, 2026
Choose the type, type your number or text, and save it as a PNG, JPEG or SVG. The barcode is drawn as you type, and a line under it says whether it scans.
For a product sold in shops, the type your number came in: EAN-13 in most countries, UPC-A in the United States and Canada, EAN-8 for very small packs. For your own labels, shelves or stock, Code 128, which takes letters and numbers and stays short. Code 39 for older scanners, and ITF-14 for shipping cartons.
You can draw it here, but the number has to come from GS1, the body that gives out product numbers, through its office in your country. Shops look a product up by that number, so a number you make up yourself may belong to someone else. Once you have your number, type it here and save the barcode.
The last digit of an EAN, UPC or ITF-14 number. It is worked out from the other digits so a scanner can tell when it has misread one. Leave it out and this tool adds it; type it and the tool checks it.
An EAN-13 is about 37 × 26 mm at its normal size, and is usually printed between 80% and 200% of that. Save it as an SVG to print it at any size without losing sharpness. For a PNG or JPEG, use wider bars for a bigger print rather than stretching the picture.
Most often the bars are too pale, the bars are lighter than the background, or the blank margin on each side was cut off. Keep the bars dark on a light background, leave the margin, and don't print it too small. This tool reads each barcode back before you save it and warns you about the colors.
SVG for printing and for design programs, as it stays sharp at any size. PNG for a sharp picture, with a see-through background if you want one. JPEG where only JPEG is accepted; it always has a solid background.
Use the QR Code Generator for that, which makes QR codes for links, Wi-Fi, contacts and text. To read a code, use the QR Code Scanner or the Barcode Scanner.
Yes. It is free, with no watermark and no sign-up, and the barcode is made in your browser.