Linear barcodes, free
Barcode generator,
free.
Code 128, EAN, UPC, Code 39, ITF, MSI and Pharmacode, at the label size you print. PNG, SVG, PDF and label sheets, all in your browser.
How it works
Pick a format, enter the value and the label size in millimetres. The barcode renders live in the browser. Download PNG, SVG, a PDF at the exact label size, or a sheet of labels on A4 or Letter.
Enter details
A barcode image is not an official retail number. For EAN or UPC, enter the number assigned to you.
Printed above the bars.
Label size
PNG: 591 x 295 px at 300 DPI. SVG and PDF are exactly 50 x 25 mm.
Leave bar height empty to fill the label. 100% bar width is the widest that fits with a clear margin each side.
Customize design
Keep the bars dark and the background light. No dots or logo go inside a barcode.
Sheet of labels
The same label repeated on a page, for printing many at once.
Live preview
Enter value above to preview
Print the PDF at 100% (Actual size), not Fit to page. Scan one printed label before printing the rest.
Barcode types supported
CODE128 is the all-purpose format used by logistics, libraries, healthcare, and any case where you encode mixed letters and digits. EAN-13 is the retail standard worldwide and across Indian retail; EAN-8 is its compact version for small packages. UPC-A is the North American equivalent of EAN-13. ITF-14 is used on shipping cartons (often pre-printed by GS1-certified providers). MSI is a legacy warehouse format. Pharmacode is a pharmaceutical packaging standard with a fixed alphabet. CODE39 is older but still seen in regulated industries.
EAN-13 for Indian retail
EAN-13 is the barcode you see on every supermarket product in India. The first three digits identify the issuing country. Codes starting with 890 are Indian-issued by GS1 India (the official Indian member of GS1). To get your own EAN, register with GS1 India. Enter the 12 digits you were given and we add the 13th, the check digit, or enter all 13 and we check that the last one matches.
Selling on Amazon or Flipkart, what you need
Major marketplaces (Amazon, Flipkart, BigBasket, Reliance JioMart) require GS1-issued EAN, UPC, or ISBN for most listings. This generator visualises a barcode from any number, useful for internal SKU tracking, but the number itself must be GS1-registered if you intend to sell on retail. Small sellers can sometimes use Amazon's Brand Registry GTIN exemption; check the latest seller policy.
How to generate in three steps
Pick the format that matches your use case. Enter the digits or text (the field validates length and character rules for each format). Set the label width and height in millimetres. Download the PDF for printing at the exact label size, the SVG for design tools and the PNG for documents. For many copies of one label, use the sheet of labels to fill A4 or Letter pages.
Frequently asked questions
Which barcode format should I use?
CODE128 for general purpose. EAN-13 for retail in India and Europe. UPC-A for North America. ITF-14 for shipping cartons. Pharmacode for pharma packaging.
Is this barcode generator free?
Yes. Free, no signup, no expiry. Generated client-side, your data never leaves the browser.
What is an EAN-13 number?
A 13-digit retail barcode. Indian companies get EAN numbers from GS1 India. The first three digits 890 identify Indian-issued codes.
Can I sell on Amazon with this barcode?
You need a GS1-issued EAN or UPC for major marketplaces. This generator visualises the barcode, but the number must be GS1-registered to sell on retail.
How do I print barcodes at the right size?
Keep the barcode at least 2 cm wide. Enter your label size in millimetres and download the PDF, which is exactly that size, or the sheet PDF for many labels on one page. Print at 100% (Actual size), not Fit to page, and scan one printed label before printing the rest.
Related: Bulk QR codes from CSV · UPI QR · URL QR