Barcode Generator (Code 128, EAN, UPC)
Create scannable Code 128, Code 39, EAN-13, EAN-8 and UPC-A barcodes. Check digits added automatically. Download PNG or SVG for printing.
Create scannable Code 128, Code 39, EAN-13, EAN-8 and UPC-A barcodes. Check digits added automatically. Download PNG or SVG for printing.
Used Barcode Generator (Code 128, EAN, UPC)? Share how it went to help others.
About this tool
Barcode Generator creates real, scannable barcodes in five common formats, encoded according to each format’s official specification. Code 128 encodes letters, numbers and symbols and is the usual choice for shipping labels, inventory, asset tags and IDs; the generator switches to Code 128’s compact numeric mode for runs of digits, so number-heavy codes stay short. Code 39 handles capital letters, digits and a few symbols and is still used by older industrial and ID systems. EAN-13 is the retail product barcode used worldwide, including in India where GS1 India numbers start with 890; UPC-A is the retail barcode used in the US and Canada; and EAN-8 is the short version for small packs. For the retail formats, type 12, 11 or 7 digits and the check digit is calculated and added for you; if you type the full number, the check digit is verified and you are told the correct one if it is wrong. Adjust the bar width and height, show or hide the human-readable text, and download a print-quality PNG or an SVG vector file that stays sharp at any size for professional printing. Every format was tested by decoding the downloaded images with a barcode reader. Before printing a batch of labels, scan a test print with your scanner or phone, keep the white margin (quiet zone) around the bars, and print in black on white. Note that EAN and UPC numbers used on products sold in shops must be licensed from GS1; this tool draws the barcode for a number you already have. Everything is generated in your browser.

Code 128, EAN-13, UPC-A, EAN-8 or Code 39.
Text or digits; check digits are added for EAN and UPC.
Bar width, height and the readable text underneath.
PNG for documents, SVG for professional printing.
Encoded to each format’s specification and decode-tested.
Code 128, Code 39, EAN-13, EAN-8 and UPC-A.
Calculated automatically, or verified if you type them.
Vector output that stays sharp at any size.
From warehouses to shop shelves
Label stock, tools and equipment.
ExampleMake Code 128 labels like ASSET-00042 for office laptops.
Print the EAN-13 for a GS1 number you own.
ExampleEnter the 12 digits from your GS1 India allocation and the check digit is added.
Scannable order and parcel references.
ExampleAdd a Code 128 order number to a packing slip.
Member cards, library cards and event passes.
ExamplePrint Code 39 member numbers on ID cards.
Small details matter
Scan a test print with the scanner you will actually use.
Leave the white margin around the bars; cropping it stops scans.
Strong contrast scans best. Avoid red bars, which many scanners cannot see.
Senior Software Engineer · Developer of Toolyconvert
Hemant developed Barcode Generator (Code 128, EAN, UPC) and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 23 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.