/ Free Barcode Generator
Free Barcode Generator: UPC, EAN & Code 128
Make Code 128, GS1-128, EAN-13, UPC-A, EAN-8, UPC-E, Code 39, Codabar, ISBN and ITF-14 barcodes for products, labels and retail — ready to download and print. Free, online, no sign-up, no watermark, nothing to install. It suits small sellers labelling products for a market stall, teachers making library labels, and anyone who needs a scannable code for stock or a school project. The barcode is drawn in your browser and downloads as a PNG, SVG, PDF, EPS, JPEG or WebP, ready to print — or generate a whole list at once and print a sheet of labels.
Last updated: 20 November 2026 — this page was updated with worked check-digit examples and print-size guidance.
FreeNo sign-upNo watermarkCommercial use allowedNothing uploaded
EAN-13, check digit 1 — 95 modules.
Quick Answer: What is a free online barcode generator?
A free online barcode generator converts alphanumeric text or product numbers into standard 1D linear barcodes (such as Code 128, EAN-13, or UPC-A) in high-resolution vector SVG, PNG, PDF, or EPS formats directly inside your web browser. No registration, software installation, or watermarks are required.
Key Technical Specifications & Standards:
• Code 128 & GS1-128: Uses high-density 11-module symbol structures with a Modulo-103 checksum algorithm (ISO/IEC 15417); GS1-128 prepends FNC1 after Start C.
• EAN-13, UPC-A, EAN-8 & ITF-14: Enforces GS1 Modulo 10 check digits calculated with alternating weights of 3 and 1 from right to left (GS1 General Specifications Release 26.0, Jan 2026).
• Quiet Zones & Export Formats: Every barcode includes 20 px side quiet zones and exports cleanly at 100% scale to PNG, SVG, PDF, EPS, JPEG, and WebP, plus up to 200-item ZIP batches and A4 sticker grids (3×8 and 4×10).
Sources: GS1 General Specifications Release 26.0 (Jan 2026); ISO/IEC 15417 (Code 128); ISO/IEC 16388 (Code 39); ISO/IEC 16390 (ITF-14).
How this tool works: everything happens in your browser — the barcode is drawn on your device and nothing is uploaded, saved or tracked. Check digits are computed in-page with the GS1 Modulo 10 rule (alternating weights of 3 and 1 from right to left), and the bar patterns are built in-page from the ISO/IEC standards listed in Sources above.
How do you generate a barcode online for free?
- Select a format: Code 128 for general text, EAN-13 for global retail products, UPC-A for US/Canada retail, EAN-8 and UPC-E for compact packaging, Code 39 for simple alphanumeric labels, ITF-14 for corrugated shipping cases, GS1-128 for logistics data, Codabar for library or parcel tracking, and ISBN for published books.
- Type your value. For EAN-13, UPC-A, EAN-8, and ITF-14, enter the payload digits and the GS1 check digit is calculated for you automatically.
- Preview the barcode live in your browser, then download in PNG, SVG, PDF, EPS, JPEG, or WebP vector/raster formats at 100% scale without watermarks.
- For multiple codes at once, switch to Bulk Mode, paste up to 200 items (or import a CSV/TXT file), and export all barcodes as a single ZIP archive or print an A4 label grid (3×8 or 4×10).
Which barcode format should you use for your labels?
The choice of barcode format depends on where the label will be scanned and what type of data it holds:
| Format | Primary Use Case | Data Capacity | Checksum Standard |
|---|---|---|---|
| Code 128 | Internal inventory, shipping, asset tracking | 1–48 ASCII 32–127 chars (letters, digits, symbols) | Modulo-103 (auto-added) |
| EAN-13 | Global retail point-of-sale (ex-US/CA) | 12 payload digits + 1 check digit (13 total) | GS1 Modulo 10 |
| UPC-A | Retail point-of-sale in US & Canada | 11 payload digits + 1 check digit (12 total) | GS1 Modulo 10 |
| EAN-8 | Small retail packages worldwide | 7 payload digits + 1 check digit (8 total) | GS1 Modulo 10 |
| UPC-E | Small retail packages in US & Canada | Zero-suppressed UPC-A (11 or 12 digits input → 8-digit UPC-E) | GS1 Modulo 10 (parity-encoded) |
| Code 39 | Industrial, military & automotive labels | 1–40 chars (A–Z, 0–9, space, - . $ / + %) | Modulo 43 (auto-added) |
| ITF-14 | Corrugated outer shipping cartons | 13 payload digits + 1 check digit (14 total) | GS1 Modulo 10 |
| GS1-128 | Supply chain logistics & GTIN containers | 4–48 even digits (optional (01) GTIN-14 prefix) + FNC1 | Modulo-103 (Start C) |
| Codabar | Libraries, blood banks, parcel tracking | 1–40 chars (0–9 and - $ : / . +) | None (Start A / Stop B added) |
| ISBN | Published books & paperback editions | 9, 10, 12 or 13 digits (978/979) + optional EAN-5 add-on | GS1 Modulo 10 (+ ISBN-10 Mod 11 validation) |
How does a barcode check digit work step-by-step?
The check digit is the final number in an EAN-13, UPC-A, EAN-8, or ITF-14 barcode. Optical scanners use this digit to instantly verify that no numbers were misread or transposed. Here is the exact GS1 Modulo 10 breakdown for EAN-13 payload 541234567890:
GS1 Modulo 10 Calculation Steps for 541234567890:
1. Identify the 12 payload digits from left to right: 5 4 1 2 3 4 5 6 7 8 9 0
2. Sum digits in odd positions from the right (1st, 3rd, 5th, 7th, 9th, 11th — weight 3):
0 + 8 + 6 + 4 + 2 + 4 = 24. Multiply by 3 = 72.
3. Sum digits in even positions from the right (2nd, 4th, 6th, 8th, 10th, 12th — weight 1):
9 + 7 + 5 + 3 + 1 + 5 = 30. Multiply by 1 = 30.
4. Add the two weighted subtotals: 72 + 30 = 102.
5. Take modulo 10 remainder: 102 % 10 = 2.
6. Subtract from 10 (wrapping 10 to 0): (10 - 2) % 10 = 8.
Result: Check digit = 8. Full valid EAN-13 = 5412345678908.
GS1 Modulo 10 Calculation Steps for ISBN-13 payload 978038550422:
An ISBN-13 is an EAN-13 code for a book, so it uses the same GS1 Modulo 10 check digit. Here it is for payload 978038550422:
1. Identify the 12 payload digits from left to right: 9 7 8 0 3 8 5 5 0 4 2 2
2. Sum digits in odd positions from the right (1st, 3rd, 5th, 7th, 9th, 11th — weight 3):
2 + 4 + 5 + 8 + 0 + 7 = 26. Multiply by 3 = 78.
3. Sum digits in even positions from the right (2nd, 4th, 6th, 8th, 10th, 12th — weight 1):
2 + 0 + 5 + 3 + 8 + 9 = 27. Multiply by 1 = 27.
4. Add the two weighted subtotals: 78 + 27 = 105.
5. Take modulo 10 remainder: 105 % 10 = 5.
6. Subtract from 10 (wrapping 10 to 0): (10 - 5) % 10 = 5.
Result: Check digit = 5. Full valid ISBN-13 = 9780385504225.
Other built-in default payloads verified by this exact same GS1 Modulo 10 rule: UPC-A 03600029145 → check digit 2 (036000291452), EAN-8 1234567 → check digit 0 (12345670), and ITF-14 1590123412345 → check digit 4 (15901234123454).
What size should a barcode be for reliable scanner reading?
According to the GS1 General Specifications Release 26.0 (Jan 2026), linear 1D barcodes need adequate bar height, crisp module widths, and clear side quiet zones for reliable first-pass scanning. Match your physical label to the actual print and sheet outputs this tool generates:
| Output Option on This Page | Dimensions Produced | Best Formats to Use |
|---|---|---|
| Single SVG / PDF / PNG Export | 100 px bar height (150 px total w/ label), 20 px side quiet zones, total symbol width up to 840 px (plus 20 px quiet zone each side) | All 10 formats (EAN-13 export is 800×150 px — GS1 nominal EAN-13 size 37.29×22.85 mm is the print target, not the export size; also UPC-A & ITF-14 cartons) |
| A4 Sheet: 3 × 8 (24 labels) | A4 w/ 10 mm page margins; Small (64 px), Medium (84 px), or Large (110 px) cell min-height | EAN-13, UPC-A, ISBN, Code 39, medium Code 128 / GS1-128 shelf & product labels (use Large) |
| A4 Sheet: 4 × 10 (40 labels) | A4 w/ 10 mm page margins; Small (64 px), Medium (84 px), or Large (110 px) cell min-height | Compact codes only: EAN-8, UPC-E, Codabar, short Code 128 asset tags (≤10 chars) |
| GS1 Retail / Carton Benchmarks | EAN-13/UPC-A nominal 22.85 mm height, GS1 minimum 18.28 mm (0.33 mm X nominal); Code 128 recommended 15.00 mm height, not a GS1 minimum (0.25 mm X minimum); ITF-14 31.75 mm height (1.016 mm X is the max/target X); quiet zones: EAN-13 11× left / 7× right, UPC-A 9× / 9×, EAN-8 7× / 7×, ITF-14 / GS1-128 / Code 128 10× each side | Always print at 100% scale ("Actual size", no "Fit to page" shrink) in printer settings |
Dots are what your printer actually lays down: at 300 dpi, one millimetre is about 11.81 dots, so the X-dimensions above work out to 3.90 dots — roughly 4 dots — for EAN-13 / UPC-A (0.33 mm), 2.95 dots — roughly 3 dots — for Code 128 (0.25 mm), and exactly 12 dots for ITF-14 (1.016 mm). That is why a low-resolution print blurs thin bars first — the narrowest bar is only a few dots wide. Never print below 200 dpi for retail barcodes.
What are the common mistakes when printing linear barcodes?
- Wrong Check Digit: Typing an arbitrary 13th digit on EAN-13 or 12th digit on UPC-A makes scanners reject the code. Enter only the payload digits (12 for EAN-13, 11 for UPC-A) so the generator computes the valid GS1 Modulo 10 digit automatically.
- Wrong Format for the Use Case: Printing Code 39 or Code 128 on retail items bound for supermarkets (which require EAN-13 or UPC-A), or crowding a 14-digit ITF-14 or long Code 128 string into a narrow 4 × 10 Small label cell where thin bars blur together.
- Truncating Quiet Zones: Cutting labels tight against the outer bars removes the blank left/right quiet zones scanners need to lock onto start and stop guards.
- Poor Color Contrast: Red-laser POS scanners cannot read red or dark brown bars reliably. Keep crisp
#000000black bars on plain white paper. - Non-Proportional Scaling: Stretching a PNG/JPEG unevenly or printing with "Fit to page" distorts narrow-to-wide bar ratios. Prefer SVG, EPS, or 100%-scale PDF exports.
- Inverted Printing: White bars on a dark background fail standard 1D optical scanners.
What are the limits of an online barcode generator?
This tool renders mathematically valid vector and raster barcode graphics directly inside your browser. However, generating a barcode graphic does not issue, lease, or register an official GS1 company prefix or retail UPC/EAN GTIN.
If you sell packaged goods through retail chains or marketplaces (such as Amazon, Walmart, or Target), you must license official GTIN numbers from GS1. For warehouse shelves, library books, asset tags, shipping tickets, or internal stockrooms, Code 128 and Code 39 labels work immediately without GS1 registration.
Specification Sources: GS1 General Specifications Release 26.0 (Jan 2026); ISO/IEC 15417 (Code 128 / GS1-128); ISO/IEC 16388 (Code 39); ISO/IEC 16390 (ITF-14).
How do you verify if a barcode is valid and scannable?
To verify a generated barcode: (1) Check that the payload matches your product database; (2) Confirm the check digit passes the GS1 Modulo 10 formula; (3) Print a test sheet at 100% scale and scan the output using a physical hand-held 1D barcode scanner or a mobile scanner app under ambient lighting.
What is the difference between a 1D barcode and a QR code?
A traditional 1D barcode (such as Code 128 or EAN-13) encodes data in horizontal black and white bars and is read by linear laser scanners, typically holding 1 to 48 characters. A 2D QR code encodes data in a matrix grid of squares, holding thousands of characters or website URLs, and is scanned by smartphone camera sensors. Use 1D barcodes for retail checkout, warehouse SKUs, and library labels.
What are the most common questions about generating barcodes?
Which related free generators and calculators pair with barcodes?
Free, no sign-up, no watermark, commercial use allowed, runs in your browser.
