How to use the Barcode Generator tool
- Choose the typeCode 128 for text and numbers, EAN-13 or UPC-A for retail products, ITF-14 for cartons.
- Enter the contentType the text or number. For EAN, UPC and ITF codes, the check digit is calculated for you.
- Style itChange the bar width, height and colors, and show or hide the number underneath.
- DownloadSave it as PNG for documents and labels, or SVG for professional printing.
Features
- Code 128The most flexible 1D barcode: letters, numbers and symbols, compact for long numbers.
- EAN-13 & UPC-ARetail product barcodes with correct guard bars and the human-readable number layout.
- EAN-8, Code 39, ITF-14For small packs, ID cards and industrial labels, and shipping cartons with bearer bars.
- Check digitsCalculated automatically, and a wrong check digit is pointed out.
- Print qualitySVG is vector, so it stays perfectly sharp at any size. PNG is exported at 3× resolution.
- Free and privateGenerated in your browser. No sign-up and no watermark.
Which barcode type should I use?
- Code 128 is the best general-purpose choice for inventory, asset tags, order numbers and shipping labels. It encodes any keyboard character and switches to a compact mode for runs of digits.
- EAN-13 is the standard product barcode in India, Europe and most of the world. It holds 13 digits: a GS1 country prefix (890 for India), your company number, the product number and a check digit.
- UPC-A is the 12-digit product barcode used mainly in the USA and Canada.
- EAN-8 is a short version for very small packages.
- Code 39 is an older, simple format still used on ID cards, in the automotive industry and by the US Department of Defense. It supports capital letters, digits and a few symbols.
- ITF-14 marks outer cartons and cases in the supply chain. It has a thick “bearer bar” frame that helps scanning on corrugated boxes.
Selling products in shops or online?
You can generate an EAN-13 or UPC barcode for any number, but retailers and marketplaces only accept product numbers that are registered to your company. In India these are issued by GS1 India; in other countries by the local GS1 organisation. Once you have your registered numbers, use this tool to create the barcode images for your packaging. For internal use, such as stock in your own warehouse or library books, any Code 128 value works.
Printing tips
- Use black bars on a white or light background. Red bars or dark backgrounds can’t be read by most scanners.
- Keep the white space (quiet zone) on both sides; it is included in the downloaded image.
- Don’t squash the barcode. Change the size evenly and test-scan a printed sample before printing labels in bulk.
- For print shops and packaging, download the SVG: it is a vector file that prints sharply at any size.
Need a QR code instead?
Barcodes store a short number or text in one line of bars. To share a link, contact card or Wi-Fi password, use a 2D code: try our QR Code Generator, and our QR Code Scanner to read one.