Create EAN barcodes, UPC product barcodes, CODE128, CODE39, and more barcode types. Download a print-ready PNG.
General purpose, alphanumeric
CODE128 (General)
General purpose, alphanumeric
EAN-13 (Retail EU)
12-13 digits, European retail
EAN-8 (Short Retail)
7-8 digits, compact retail
UPC-A (North America)
11-12 digits, US/Canada retail
CODE39 (Industrial)
Alphanumeric + symbols, industrial
ITF-14 (Shipping)
14 digits, shipping cartons
MSI (Inventory)
Numeric, inventory tracking
Pharmacode
Number 3-131070, pharmaceutical
Enter data above to preview barcode
CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, MSI, and Pharmacode
Save high-resolution barcode images for printing on labels and packaging
All barcode generation runs in your browser. No data uploaded or stored.
Barcodes fall into two families. 1D (linear) barcodes are the classic parallel-line codes read by retail and warehouse scanners, and they are the type this generator creates. 2D barcodes, such as QR codes and Data Matrix, pack more data into a square grid but need a camera or imaging scanner to read. The eight linear barcode types below each suit a specific job, so pick the one that matches where your code will be scanned. For a deeper walkthrough of EAN barcodes, GTINs, and where retail product barcodes actually come from, read our complete guide to barcode types.
CODE128
Accepts: Letters, numbers, and symbols
Shipping, logistics, and asset tracking where you need a compact code with both letters and numbers.
EAN-13
Accepts: 13 digits
Retail products sold worldwide. This is the standard supermarket barcode used across Europe and most other regions.
EAN-8
Accepts: 8 digits
Small retail packages where a full EAN-13 barcode will not physically fit.
UPC-A
Accepts: 12 digits
Retail products sold in the United States and Canada.
CODE39
Accepts: Letters, numbers, and symbols
Industrial, automotive, and government labeling. An older but widely supported standard.
ITF-14
Accepts: 14 digits
Shipping cartons and outer cases. Encodes the GTIN printed on cardboard packaging.
MSI
Accepts: Numbers only
Inventory control and warehouse shelf labels.
Pharmacode
Accepts: A number from 3 to 131070
Pharmaceutical packaging, where it doubles as a print-quality control check.
The second barcode family stores data in a square or rectangular grid instead of parallel lines, so it holds much more information and can be read by a phone camera. This tool creates the 1D types above, but here are the common 2D types for reference. Need one of these? Try our QR Code Generator.
QR Code
Website links, payments, menus, and marketing. Reads fast from a phone camera and stores far more data than a linear barcode.
Data Matrix
Tiny parts, electronics, and medical devices where a small square must hold a lot of data.
PDF417
ID cards, driver licenses, and boarding passes that need to pack text into a stacked rectangle.
Aztec Code
Transit and event tickets, including many printed and on-screen rail and airline passes.
For products sold in stores you will also need a GS1-registered number, while internal inventory and shipping labels can use any numbering system with CODE128 or CODE39.
Free barcode generator for EAN barcodes, UPC product barcodes, and six more formats: EAN-13, EAN-8, UPC-A, CODE128, CODE39, ITF-14, MSI, and Pharmacode. Enter your number, pick a barcode type, and download a high-resolution PNG instantly. EAN barcodes are the retail product barcodes scanned at checkout across Europe, Asia, and most of the world, while UPC-A does the same job in the United States and Canada, and both encode a GTIN: the global number that identifies one product in one package size. These are all 1D (linear) barcode types, the parallel-line codes read by retail and warehouse scanners, and each type of barcode (also called a symbology or barcode model) is built for a specific job: EAN-13 and UPC-A for retail products, CODE128 and CODE39 for logistics and asset tracking, ITF-14 for shipping cartons, MSI for inventory shelf labels, and Pharmacode for pharmaceutical packaging. Works great for inventory labels, product packaging, retail tags, and shipping labels. All barcodes are generated in your browser - nothing is uploaded. Pair this with our QR Code Generator for complete labeling solutions.
EAN, short for European Article Number, is the retail barcode family used on packaged products across Europe, Asia, Australia, Latin America, and most of the rest of the world. The everyday version is EAN-13, thirteen digits printed under a block of parallel bars, and it breaks down into four parts: a GS1 prefix that indicates which national GS1 organization issued the number, a company prefix tied to the brand, an item reference the brand assigns to one specific product and pack size, and a check digit calculated from the twelve digits before it. That last digit is what lets a scanner reject a smudged or partial read instead of ringing up the wrong item. EAN-8 is the short form, eight digits for packages such as lip balm, gum, and single-serve sachets where a full EAN-13 symbol cannot be printed wide enough to scan reliably. Select EAN-13 or EAN-8 in the generator above, paste your number, and download the barcode as a high-resolution PNG you can drop straight into packaging artwork.
A product barcode holds no price and no product name. It encodes one number, the GTIN or Global Trade Item Number, and that number is only a key. When the laser or imager reads the bars, the point-of-sale system looks the GTIN up in the retailer's own product database and pulls back the price, the description, and the tax treatment from there. This is why the same product barcode scans at a different price in two different stores, and why every pack size needs its own code: a 12 oz can and a 2 liter bottle of the same soda are two separate products as far as inventory is concerned, so they carry two separate GTINs. EAN-13 and UPC-A both encode a GTIN, which is why either symbol works at any modern checkout lane.
Retailers will ask for barcode numbers issued by GS1, the global organization that administers GTINs. You apply through the GS1 member organization in your country, receive a company prefix, and then assign your own item references underneath it to build a full GTIN for each product and pack size. The prefix is what guarantees your codes never collide with another brand's. Cheap resold or recycled barcode numbers from third-party sellers are widely rejected by major retailers and marketplaces, so the direct route is usually the cheaper one in the end. Once you hold the number, this generator does the rest: choose EAN-13 for worldwide retail or UPC-A for the United States and Canada, generate the symbol, and download a print-ready PNG. For codes that never leave your own warehouse, such as inventory labels, bin tags, and internal asset tracking, skip GS1 entirely and use CODE128 or CODE39 with any numbering scheme you like.
Intellure handles customer questions, sales chat, and lead follow-up around the clock. One managed AI employee across your channels on a flexible monthly plan.
See How