Generate professional, print-ready barcodes instantly with this free online barcode generator. Choose from Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14, MSI, Pharmacode, and Codabar formats. Customise bar width, height, color, and text visibility, then download as PNG or PDF, print directly, or share to WhatsApp — all without uploading your data anywhere.
Table of Contents
How to Use This Barcode Generator
Enter Your Barcode Value
Type the number or text you want to encode. It updates the barcode in real time as you type.
Choose the Barcode Format
Pick the standard that matches your need — Code 128 for general use, EAN-13/UPC-A for retail, ITF-14 for cartons, and so on. Each format has strict rules (e.g., EAN-13 needs exactly 13 digits).
Customise Appearance
Adjust bar width, bar height, bar color, and whether the numeric text appears beneath the barcode.
Download, Print or Share
Download as a sharp PNG or a print-ready PDF, print directly, or share the image to any app.
Barcode Formats Explained
Different barcode formats serve different purposes. Choosing the right one is essential — retail systems, shipping carriers, and pharmacies all expect specific barcode standards.
| Format | Characters Allowed | Common Use |
|---|---|---|
| CODE128 | All ASCII (numbers, letters, symbols) | Most versatile — shipping, inventory, ID cards |
| CODE128A/B/C | Subsets of ASCII (C = digits only) | Fine-tuned for specific character sets |
| EAN-13 | Exactly 13 digits | Retail products (Europe, Asia) |
| EAN-8 | Exactly 8 digits | Small retail packaging |
| UPC-A | Exactly 12 digits | Retail products in North America |
| CODE 39 | Digits + uppercase A–Z + a few symbols | ID cards, inventory, healthcare |
| ITF-14 | Exactly 14 digits | Cartons, logistics, outer packaging |
| MSI | Digits only | Supermarket shelves, warehouse |
| Pharmacode | Integer 3–131070 | Pharmaceutical packaging |
| Codabar | Digits + start/stop letters (A–D) | Blood banks, libraries, FedEx |
Customisation Options
- Bar Width — thin (1px) to extra-thick (4px). Wider bars are easier to scan from a distance but take more space.
- Bar Height — 50 px to 160 px. Taller bars suit shelf-edge labels and outer cartons.
- Show / Hide Text — the human-readable value can be toggled off if the barcode is small and printed near the product name.
- Bar Color — usually black, but dark navy, maroon, or brand colors are fine. Avoid light or low-contrast colors (red, yellow) — scanners need high contrast against white.
Tips for Professional Barcodes
- Leave quiet zones — at least 10× the bar width of white space on both sides.
- Print on high-quality paper or label stock — smudged bars fail scans.
- Avoid glossy lamination directly over bars — reflections confuse laser scanners.
- Test-scan before mass printing — use a smartphone scanner app to verify.
- Download PDF for printing — vector-sharp edges scale cleanly at any size.
- Verify checksum digits for EAN/UPC — the tool auto-generates them for you.