Printing a barcode that scans
Three things decide whether a printed barcode reads. The white space on both sides of the bars is part of the code: do not crop it or let text or a border touch it. The bars must be black, or very dark, on white or a very light ground; a red scanner cannot see red bars. And the print must be sharp: on a small label choose thicker bars rather than shrinking the picture.
Always scan one print with a phone or a scanner before printing a whole sheet. Barcode Scanner reads a photo of it.
What a barcode holds
Only the number or text you see under the bars. A product barcode does not contain the name of the product or its price: the till looks the number up in the shop's own list. So the same barcode can be used wherever your number is known, and changing a price never means reprinting labels.
Frequently asked questions
Which kind of barcode should I choose?
For your own labels, stock, files or tickets, Code 128: it holds letters and numbers and every scanner reads it. For a product sold in shops, EAN-13 (or UPC-A in North America), with a number that was issued to you. Code 39 is for older systems that ask for it by name, EAN-8 for packets too small for EAN-13, and ITF-14 for cartons.
Can I make up an EAN-13 number for my product?
You can draw any number, and it will scan. But a shop or an online marketplace expects the number to be registered to your company: in India the numbers are issued by GS1 India, and elsewhere by the GS1 office of that country. A made-up number may belong to someone else's product. For your own shop's internal labels, any numbering of your own is fine, and Code 128 is the simpler choice.
What is the check digit?
The last digit of a product number, worked out from the others, so that a scanner can tell a misread. Type the number without it (12 digits for EAN-13) and it is added; type all 13 and it is checked, and you are told the right one if it does not match.
PNG or SVG?
SVG for printing: it stays perfectly sharp at any size, and label software and print shops accept it. PNG for pasting into a document, a spreadsheet or a web page. Do not enlarge a PNG by stretching it in a document; download it again with thicker bars instead.
Can a barcode hold Hindi text, or a link?
Not well. These barcodes hold digits or plain English characters, and a long one becomes too wide to scan. For a link, a payment, Hindi text or anything long, a QR code is the right thing: QR Code Generator makes one.
Is what I type sent anywhere?
No. The bars are drawn by your own browser. Nothing you type is uploaded or kept.