Free Barcode Generator — Code 128, EAN & UPC
Create scannable barcodes online in seconds. Pick a format, type your data, download a print-ready PNG or vector SVG. Bulk mode, no sign-up — everything runs in your browser.
Up to 2,000 rows. Each line becomes one barcode in the chosen format above.
Appearance
#134E4A#FFFFFFPaste a list of values and press “Generate barcodes”.
Why use this barcode maker
Private by design
Every barcode is rendered in your browser. Your SKUs, product numbers and inventory data are never uploaded to any server.
10+ symbologies
Code 128, EAN-13, EAN-8, UPC-A, UPC-E, Code 39, ITF-14, ITF, MSI, Codabar and Pharmacode — all in one place.
Print-ready SVG
Download crisp vector SVG for labels and signage, or a high-resolution PNG for documents and the web — sharp at any size.
Bulk generation
Paste a whole column of product codes, generate hundreds of barcodes at once and download them as a single ZIP — no spreadsheet plugin needed.
Custom look
Set bar width, height and colors, and toggle the human-readable text. The check digit for retail codes is calculated automatically.
Instant & free forever
The barcode updates live as you type. No account, no watermark, no download limit — free for personal and commercial use.
How to generate a barcode online
Choose a format
Pick Code 128, EAN-13, UPC-A, Code 39 or another symbology that matches where the barcode will be used.
Enter your data
Type the number or text. The preview updates instantly and warns you if a retail format needs a different length.
Style it
Adjust bar width, height and colors, and choose whether to show the value as text under the bars.
Download
Save a PNG for documents or an SVG for perfect print quality. Need many? Switch to Bulk and export a ZIP.
Which barcode format should you choose?
| Format | Encodes | Best for |
|---|---|---|
| Code 128 | All letters, digits, symbols | Shipping, logistics, inventory, internal labels — the most versatile general-purpose barcode. |
| EAN-13 | 12–13 digits | Retail products sold worldwide; the standard on supermarket packaging outside the US. |
| EAN-8 | 7–8 digits | Small retail items where a full EAN-13 won't fit, such as sweets or cosmetics. |
| UPC-A | 11–12 digits | Retail products sold in the United States and Canada. |
| UPC-E | 6–8 digits | Compact UPC for very small US retail packaging. |
| Code 39 | Digits, A–Z, a few symbols | ID cards, name badges, automotive and defense; reliable but lower density. |
| ITF-14 | 13–14 digits (even count) | Shipping cartons and cases — printed large for warehouse scanning. |
| MSI | Digits only | Inventory control and warehouse shelf marking. |
| Codabar | Digits + A B C D | Libraries, blood banks and photo labs. |
| Pharmacode | Number 3–131070 | Pharmaceutical packaging control. |
About barcodes
A Barcode Generator is a free online tool that turns a number or short text into a scannable barcode — Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14 and more — right in your browser, with no upload and no sign-up. Type your data, see a live preview, then download a print-ready PNG or a vector SVG you can drop straight into a label sheet or design app.
A linear (1D) barcode is a row of parallel bars and spaces of different widths that a laser or camera scanner reads from left to right. Each symbology — the set of rules that maps characters to bars — suits a different job. Retail products use EAN-13 (worldwide) or UPC-A (US and Canada), which are fixed-length numeric codes with a built-in check digit. Logistics and inventory teams lean on Code 128 because it packs any letters and digits into a compact, dense code, while shipping cartons carry the larger ITF-14.
This tool calculates the check digit for you on EAN, UPC and other retail formats: enter the first 12 digits of an EAN-13 and the 13th is added automatically, so the barcode always scans. Code 128 and Code 39 are free-form — type letters, digits and basic symbols and the encoder picks the most efficient representation. If you enter a value that a strict format can't accept, the preview shows a clear message telling you what length or characters are required.
Need a barcode for every product in a catalog? The bulk mode lets you paste an entire column of values, generate them all at once, and download every barcode as a PNG inside a single ZIP file — or print them as a contact sheet of labels. There is no row limit beyond what your browser can comfortably render, and because everything happens locally, even a list of confidential SKUs never leaves your computer.
For dependable scanning, keep good contrast between the bars and the background (dark bars on a white background work best), leave the empty quiet zone margin that this tool adds around the code, and print large enough for your scanner and reading distance. Vector SVG is the safest choice for print because it stays razor-sharp at any size, while PNG is convenient for screens, documents and quick label runs. Barcodes you create here are free for personal and commercial use with no attribution required.
Frequently asked questions
Is this barcode generator really free?
Yes, completely free. There is no sign-up, no watermark and no limit on how many barcodes you generate or download. Barcodes you create are free for personal and commercial use.
Which barcode format should I use?
Use Code 128 for general-purpose labels, shipping and inventory — it encodes any letters and digits compactly. Use EAN-13 or UPC-A for retail products sold in stores, EAN-8 for small packages, ITF-14 for shipping cartons, and Code 39 for ID badges and industrial use.
Can I generate barcodes in bulk?
Yes. Switch to the Bulk tab, paste one value per line (up to thousands), pick a format and generate them all at once. You can download every barcode as PNG images in a single ZIP file or print them as a sheet.
Is my data uploaded to a server?
No. The barcodes are generated entirely in your browser with JavaScript. Your product numbers, SKUs and any data you type never leave your device — nothing is uploaded.
What is the difference between PNG and SVG?
PNG is a pixel image, ideal for documents, web and quick printing. SVG is a vector format that scales to any size without blurring, which is best for professional print, large labels and design software like Illustrator or Inkscape.
Why does it say my barcode value is invalid?
Retail formats are strict: EAN-13 needs 12 or 13 digits, EAN-8 needs 7 or 8, UPC-A needs 11 or 12 digits, and ITF-14 needs an even number of digits. The tool calculates the check digit for you — just enter the right number of digits. Code 128 and Code 39 accept letters and digits freely.