Free barcode generator
Need barcodes for your shop's stock, courier labels, library books, asset tags or invoices? This barcode generator makes Code 128 barcodes from any text or number and EAN-13retail barcodes from 12 or 13 digits โ calculating and checking the check digit for you. Adjust the bar width and height, choose whether to print the text underneath, and download a crisp SVG for printing or a PNG for documents. It's all drawn in your browser.
How to use it
- Choose Code 128 (any text) or EAN-13 (product numbers).
- Type the value and adjust the size.
- Download, print, and test-scan before bulk printing.
Example
For EAN-13, entering the 12 digits 890123456789 gives a check digit of 0, so the full barcode is 8901234567890. Indian GS1 numbers start with 890. For links, Wi-Fi details or UPI payments, a QR code is the better choice; for unique asset IDs, try the UUID generator. Remember that a real retail EAN must be registered with GS1.
Frequently asked questions
What is the difference between Code 128 and EAN-13?
EAN-13 is the 13-digit retail barcode printed on products sold in shops (Indian products start with 890). Code 128 can hold letters, digits and symbols of any length, so itโs used for shipping labels, inventory, asset tags and invoices.
Can I make a barcode for my product to sell in shops?
You can draw any EAN-13 here, but to sell in retail stores and on marketplaces the number itself must be registered โ in India through GS1 India. Donโt invent numbers for products youโll sell; use Code 128 for your own internal labels.
What is the check digit?
The last digit of an EAN-13 is calculated from the first 12, so scanners can detect a mistyped number. Enter 12 digits and itโs added for you; enter 13 and itโs checked.
Will the barcode scan when printed?
Yes, if you print it large enough with a white margin (the quiet zone) around it. Download the SVG for sharp printing at any size, keep bars at least about 0.25 mm wide, and test with your scanner or a phone app before printing in bulk.