Quick answer
To make a barcode, choose the barcode type — Code 128 for any text, EAN-13 or UPC-A for retail products, ITF-14 for cartons — type the value, adjust bar width, height and colours, and download it as PNG, JPG or SVG. To create many barcodes, switch on Make many barcodes at once, paste one value per line and download them all as a ZIP. Check digits for EAN and UPC are calculated automatically.
- Types:
- Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, MSI, Codabar, Pharmacode
- Formats:
- PNG, JPG, SVG (vector)
- Bulk mode:
- One value per line, ZIP download
- Check digits:
- Calculated for EAN and UPC
- Options:
- Bar width, height, colours, human-readable text
- Upload needed:
- No – generated in your browser
- Watermark:
- None
- Sign-up:
- Not required
Barcodes turn numbers and text into stripes that scanners read in a fraction of a second. They are on every product in a supermarket, on shipping boxes, library books, hospital wristbands, event tickets and warehouse shelves. Small businesses need them too: to sell in retail stores and on marketplaces, to track inventory, to label products for a point-of-sale system, or simply to speed up checkout at a market stall.
Our barcode generator supports the formats businesses actually use. Code 128 encodes any letters and numbers and is the go-to choice for internal labels and shipping. EAN-13 and UPC-A are the retail standards printed on consumer products worldwide. EAN-8 fits small packages, ITF-14 is used on cartons, Code 39 is common in industry and government, and Codabar, MSI and Pharmacode cover libraries, blood banks, shelf labels and pharmaceutical packaging.
You can adjust bar width, height, colours and whether the human-readable digits appear below the bars, then download in PNG or JPG for everyday use or SVG for professional printing. Need a hundred SKU labels? Paste your list and download every barcode in one ZIP.
All barcodes are generated in your browser, so your product codes and inventory lists stay private.
How to create a barcode – step by step
- 1 Choose the barcode typeCode 128 for most internal uses, EAN-13 (worldwide) or UPC-A (USA/Canada) for retail products, ITF-14 for shipping cartons.
- 2 Enter the valueType the number or text. For EAN-13 enter 12 digits and the check digit is added automatically; for UPC-A enter 11.
- 3 Style the barcodeAdjust bar width and height, choose bar and background colours and decide whether to show the text below.
- 4 Pick a formatPNG for labels and documents, JPG for compatibility, SVG for professional printing at any size.
- 5 Download — one or manyDownload the barcode, or switch on bulk mode, paste one value per line and download all as a ZIP.
Why use this barcode generator?
All major barcode types
Retail, shipping, industrial, library and pharmacy formats.
Automatic check digits
EAN and UPC check digits are calculated for you.
Vector SVG export
Perfectly sharp at any print size.
Bulk generation
Create hundreds of barcodes from a list and download a ZIP.
Custom styling
Bar width, height, colours and text display.
Private and free
Generated locally; no account, no watermark.
Which barcode type do you need?
| Type | Encodes | Typical use |
|---|---|---|
| Code 128 | Any ASCII text and numbers | Shipping labels, inventory, SKUs, asset tags |
| EAN-13 | 13 digits | Retail products worldwide |
| UPC-A | 12 digits | Retail products in the USA and Canada |
| EAN-8 | 8 digits | Small retail packages |
| ITF-14 | 14 digits | Outer cartons and cases |
| Code 39 | A–Z, 0–9 and a few symbols | Industry, defence, ID badges |
| Codabar | Digits and a few symbols | Libraries, blood banks, courier slips |
| MSI | Digits | Retail shelf labels, warehouses |
| Pharmacode | Numbers 3–131070 | Pharmaceutical packaging control |
Do I need official GS1 barcode numbers?
The barcode image is free to generate, but the number on a retail product must be unique worldwide. If you want to sell in supermarkets, chain stores or on Amazon, you normally need numbers licensed from GS1, the global standards organisation, through your country's GS1 office. GS1 assigns your company prefix, and you create product numbers from it. Buying cheap "resold" barcodes online is risky: the numbers may already be registered to another company and retailers increasingly check them against the GS1 database. For internal use — your own shop's inventory, warehouse locations, asset tags or library items — you can use any numbers you like, usually with Code 128.
How check digits work
EAN-13, EAN-8, UPC-A and ITF-14 end with a check digit calculated from the other digits. It lets the scanner detect misreads. For EAN-13, the digits in odd positions are added, the digits in even positions are added and multiplied by three, both sums are added and the check digit is whatever brings the total up to the next multiple of ten. You do not need to do this yourself — enter 12 digits for EAN-13 or 11 for UPC-A and the tool adds the correct check digit. If you enter the full 13 digits and the last one is not the correct check digit, the value is reported as invalid, which helps you catch typing errors.
Printing barcodes that scan reliably
- Contrast: black bars on a white background scan best. Avoid red bars — many laser scanners use red light and cannot see them.
- Size: the standard EAN-13 size is about 37 × 26 mm; it can be reduced to around 80% and enlarged up to 200%. Do not shrink the height too much.
- Quiet zone: keep blank space on both sides of the barcode — at least ten times the narrowest bar width.
- Resolution: for printing use SVG, or PNG at high resolution; blurry edges cause scan failures.
- Label printers: thermal label printers work well with Code 128 and EAN; set the printer to 203 or 300 DPI and print at 100% scale.
- Test: scan the printed barcode with a phone app or your POS scanner before printing a full run.
Bulk barcodes for inventory
Switch on Make many barcodes at once and paste a list of values — one per line — such as SKUs exported from your spreadsheet or e-commerce platform. The tool creates a barcode for each line and packs them into a ZIP of PNG files named after the values. Import them into your label software, a Word mail merge or a spreadsheet to print sheets of labels. Remove duplicates from your list first with Remove Duplicate Lines.
Barcode vs. QR code
A traditional barcode stores a short number or text in one dimension and is read by standard retail scanners. A QR code stores much more information — website addresses, contact cards, Wi-Fi details — in two dimensions and is designed for phone cameras. Use a barcode for products, inventory and POS systems; use a QR code for marketing, menus, payments and links. Create QR codes with our QR Code Generator.
Using barcodes in your shop
Small shops can label products with Code 128 or internal EAN codes and use an inexpensive USB scanner, which types the number into any POS or spreadsheet as if from a keyboard. Combine barcodes with an inventory spreadsheet to look up prices and stock instantly. For invoices to wholesale customers, the Invoice Generator creates professional PDF invoices in minutes.
Barcodes for Amazon, Daraz and other marketplaces
Online marketplaces have their own rules. Amazon generally requires GS1-registered UPC or EAN numbers for new product listings, although brand owners enrolled in Brand Registry can apply for an exemption. For fulfilment by Amazon, items also need an FNSKU label, which Amazon generates for you in Seller Central. Regional marketplaces such as Daraz, Flipkart and Noon often accept seller SKUs for listings, but retail buyers and supermarkets will still ask for GS1 numbers. Whatever the platform, keep a master spreadsheet linking each product name, SKU and barcode number, and never reuse a number for a different product, size or colour variant — each variant needs its own code.
Privacy
Product codes, SKU lists and internal asset numbers are business information. This generator draws barcodes with JavaScript in your browser and builds the ZIP locally; nothing is uploaded.
Troubleshooting
- "Invalid value". The value does not fit the chosen type — for example letters in EAN-13. Check the required digits, or use Code 128.
- The barcode does not scan. Increase size and contrast, keep the quiet zone clear and avoid coloured bars.
- The printed barcode is blurry. Use SVG or a larger PNG and print at 100% scale.
- My full EAN number is rejected. The last digit is probably not a valid check digit. Enter only the first 12 digits and let the tool calculate it, then compare.
Frequently asked questions
Is this barcode generator free?
Yes. Create and download barcodes without an account or watermark.
Which barcode should I use for products?
EAN-13 internationally, or UPC-A in the USA and Canada. Retailers usually require GS1-registered numbers.
Can I make barcodes for my own inventory?
Yes. Use Code 128 with your own SKUs or numbers.
Do I need to calculate the check digit?
No. Enter 12 digits for EAN-13 or 11 for UPC-A and the check digit is added.
Which file format is best for printing?
SVG, because it is vector and stays sharp at any size.
Can I create many barcodes at once?
Yes. Turn on bulk mode, paste one value per line and download all as a ZIP.
Can I change barcode colours?
Yes, but dark bars on a light background scan most reliably. Avoid red bars.
Is my data uploaded?
No. Barcodes are generated in your browser.
Can a phone scan these barcodes?
Yes. Most barcode scanner apps read all common types.
What is the difference between EAN-13 and UPC-A?
UPC-A has 12 digits and is used mainly in North America; EAN-13 has 13 digits and is used worldwide. Modern scanners read both.
Can I put text instead of numbers in a barcode?
Yes, with Code 128 or Code 39. EAN and UPC accept digits only.
Last updated November 21, 2026 · Written and tested by the SmallEasyTools team.