Barcode Generator
Everything runs in your browser. Your data never leaves your device.
What this barcode generator does
Create a barcode for a product, a shipping carton, a shelf label or an ID badge. Choose the type, type the value, and the barcode appears at once. Change the bar width, height and colours, show or hide the number under the bars, and download the result as a PNG or SVG.
Supported barcode types
- EAN-13 and EAN-8: retail products worldwide.
- UPC-A: retail products in the USA and Canada.
- ITF-14: outer cartons and pallets in logistics.
- Code 128: letters, numbers and symbols for shipping, inventory and serial numbers.
- Code 39: older industrial and ID systems.
- Codabar: libraries, blood banks and some courier slips.
How to use it
- Choose the barcode type.
- Type the value. For EAN and UPC you can leave out the check digit.
- Adjust the size and colours if needed.
- Download PNG or SVG and test it with a scanner or a phone app before printing many labels.
Printing tips
Black bars on a white background scan best. Coloured bars must stay dark and the background light, and red bars often fail because many scanners use red light. Keep the white space on both sides of the bars, and don’t squeeze the barcode narrower than the scanner can read.
Frequently asked questions
Which barcode do I need for products in shops?
Supermarkets and online marketplaces use EAN-13 (UPC-A in the USA and Canada). For a real product you must buy the number from GS1 in your country; this tool draws the barcode for the number you already have. For your own stock or shelves, Code 128 is simpler.
What is the check digit?
The last digit of EAN, UPC and ITF-14 codes is calculated from the others, so scanners can spot a misread. Type the code without it and the tool adds it; type the full code and the tool checks it.
Can a barcode hold Arabic text?
No. These one-dimensional barcodes only store numbers and English letters. For Arabic text or a link, use a QR code instead.
PNG or SVG?
SVG is a vector file that stays sharp at any size, best for labels and packaging design. The PNG is drawn four times larger than the preview, which is enough for most printing.
Is my data uploaded?
No. The barcode is drawn in your browser and nothing is sent to a server.
Last updated: · What's new