Generate 1D (linear) barcodes online — Code 128, Code 39, EAN-13/8, UPC, ITF-14 and more — and download them as an image. For 2D QR codes, use the QR Code Generator.
Barcode Generator
These are 1D (linear) barcodes — the familiar stripes scanned at shops and warehouses. Need a 2D code (a square QR that holds links or text)? Use the
QR Code Generator.
Your barcode will appear here
Barcode types this tool supports
These are all 1D (linear) barcodes. For a 2D QR code, use the QR Code Generator.
Format
Accepts
Typical use
Code 128
Letters, digits, symbols
General purpose, shipping, logistics
Code 39
A–Z, 0–9, a few symbols
Inventory, ID cards, industry
EAN-13 / EAN-8
12–13 / 7–8 digits
Retail products (global)
UPC-A
11–12 digits
Retail products (US/Canada)
ITF-14
14 digits
Shipping cartons / cases
MSI / Codabar / Pharmacode
Digits
Warehousing, libraries, pharma
How to generate a barcode
Type your value in the Barcode Value box.
Pick a Barcode Type — Code 128 works for most text.
The barcode previews instantly below.
How to download your barcode
Click Download Image to save the barcode as a PNG (on a white background) that you can print or drop into a label, spreadsheet, or document.
Common uses
Product labels and retail pricing (EAN/UPC)
Inventory, asset tags, and warehouse bins
Shipping cartons and courier labels (ITF-14, Code 128)
Event passes, ID cards, and library catalogues
Everything is generated in your browser — the value you enter never leaves your device.
About Barcode Generator
Generate barcodes (such as Code 128 and EAN) from your text or numbers, then download the image. Useful for labels, inventory, and product tags. Runs entirely in your browser.
How to Use
Enter the value to encode.
Choose the barcode format.
The barcode renders instantly.
Download the image to print or use.
Why Use This Tool?
Accurate — built on precise, well-tested mathematical formulas.
Instant — all calculations happen client-side for zero latency.
Private — no data is sent to any server; your information stays on your device.
Free — no sign-up, no limits, no hidden costs.
Frequently Asked Questions
What barcode formats are supported?
Common linear formats such as Code 128, Code 39, and EAN/UPC. Pick the one your scanner or system expects — Code 128 is a good general-purpose default.
What is the difference between a barcode and a QR code?
A barcode is one-dimensional (lines) and stores a short value like a product ID; a QR code is two-dimensional and holds much more data, like URLs. Use the QR Code Generator for those.
Do these barcodes expire?
No. The barcode encodes your value directly into the image, so it works permanently and offline.