RubanTools

Barcode Generator

Generate CODE128, EAN-13, EAN-8, UPC-A, CODE39 and other barcodes instantly - download as SVG or PNG.

Barcode Settings
Barcode Preview

Select format and data above, then click Generate.

Barcode Generator - CODE128, EAN-13, QR and More

Barcodes encode machine-readable data in a sequence of parallel lines and spaces. Norman Woodland and Bernard Silver patented the first barcode concept in 1952. Modern barcodes are categorised as 1D (linear) and 2D formats. CODE128, developed in 1981, is the most versatile 1D format and is used in logistics, shipping labels, and healthcare. EAN-13, managed by GS1, is the international standard for retail product packaging and has been used on Indian consumer goods since the Bureau of Indian Standards mandated barcoding for packaged commodities in 2018.

Which Format Should You Choose

Use CODE128 for internal tracking - warehouse inventory, courier manifests, and library management. Choose EAN-13 or EAN-8 if your product is sold in Indian retail chains like D-Mart, Reliance Retail, or BigBasket, as point-of-sale scanners expect GS1 standards. UPC-A is required for products exported to the United States. CODE39 is popular for asset tagging in government offices and CBSE school libraries due to its simplicity and wide reader compatibility.

Downloading and Using Your Barcode

This tool generates barcodes as SVG (infinitely scalable, ideal for print) or PNG (web and digital use). SVG output works best for product labels printed at 300 DPI or higher. After downloading, test your barcode with a mobile scanner app before bulk printing to confirm readability.

Barcode Generator Questions

This tool supports CODE128 (any text, auto encoding), CODE39 (uppercase letters and digits), EAN-13 (12 digits + check digit), EAN-8 (7 digits + check digit), UPC-A (11 digits + check digit), ITF-14 (13 digits for shipping), MSI (digits only), and Pharmacode (numbers 3–131070 for pharmaceutical packaging). CODE128 is the most versatile and works for all alphanumeric data.

EAN-13 is a 13-digit barcode standard used internationally, including in India and Europe. UPC-A is a 12-digit standard used primarily in the United States and Canada. EAN-13 is a superset of UPC-A - a UPC-A barcode is an EAN-13 barcode with a leading zero. Most modern scanners and POS systems globally can read both formats. Indian retailers use EAN-13 barcodes assigned through GS1 India.

To get a GS1 barcode for selling products in India, register with GS1 India (gs1india.org) to receive a company prefix, then assign item numbers and generate EAN-13 barcodes. For internal use (inventory, assets, documents), you can use CODE128 or CODE39 barcodes from this tool - no registration needed.

Yes - after generating a barcode, use the SVG download button for a vector format that scales perfectly at any size (ideal for printing). Use the PNG download for websites, emails, or presentations. SVG files can be embedded directly in HTML and resized via CSS without quality loss.

CODE128 is a high-density linear barcode that encodes the full ASCII character set - letters, numbers, and symbols. It is widely used in logistics, shipping labels (FedEx, DHL, India Post), retail inventory management, and document tracking. CODE128 automatically selects the most compact encoding subtype (A, B, or C) based on your data, making it suitable for virtually any plain-text data.