~/online-free-barcode-generator apps ← back to terminal

Free Online Barcode Generator

Generate EAN-13, UPC-A, Code 128 & more instantly · 15+ formats · live preview · download as PNG or SVG · no signup, no watermark

Code 128 EAN-13 EAN-8 UPC-A UPC-E Code 39 ITF-14 MSI Codabar Pharmacode + more
▸ PreviewCODE128
▸ Settings
▸ Barcode Info
Format CODE128
Data Length 15 chars
Use Case Logistics, supply chain, general purpose
Character Set Full ASCII (128 chars)
Features
Instant Generation
Barcodes render in real time as you type. Zero delay, zero server round-trips.
Print-Ready SVG
Download resolution-independent SVG files suitable for any print size.
Fully Customizable
Control bar width, height, margins, colors, and text position to match your brand.
100% Private
Everything runs in your browser. Your data never leaves your device.
15+ Formats
Code 128, EAN, UPC, Code 39, ITF, Codabar, MSI, Pharmacode and more.
No Watermarks
Clean barcodes, every time. No hidden text, no promotional marks.
Supported Barcode Formats

Choose the right format for your application using the reference table below.

FormatCharacter SetTypical UseDigits / Length
Code 128Full ASCII (0–127)Logistics, shipping, serial numbersVariable
Code 39A–Z, 0–9, symbolsAutomotive, defence, inventoryVariable
Code 93Full ASCII (compact)Inventory, complement to Code 39Variable
Code 110–9, dashTelecommunications equipmentVariable
Codabar0–9, A–D, symbolsLibraries, blood banks, FedEx air billsVariable
MSI / Plessey0–9Retail shelving, warehouse binsVariable
ITF-140–9Outer packaging, shipping cartons14 digits
PharmacodeNumericPharmaceutical packaging1–6 digits
EAN-130–9Global retail POS, ISBN, ISSN13 digits
EAN-80–9Small packages, vending machines8 digits
EAN-2 / EAN-50–9Supplement (price, issue number)2 or 5 digits
UPC-A0–9North American retail POS12 digits
UPC-E0–9Small packages (compressed UPC)8 digits
GS1-128ASCII + AIsHealthcare, trade units, traceabilityVariable
GS1 DataBar0–9Fresh foods POS, coupons14+ digits

Free Barcode Generator for EAN-13, UPC, Code 128 & More

This free online barcode generator creates print-ready linear barcodes in 15+ symbologies — Code 128, GS1-128, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Code 39, Code 93, Codabar, MSI and Pharmacode — with a live preview, adjustable size and colors, and instant PNG or SVG download. Everything runs 100% in your browser: no signup, no watermark, and your data never leaves your device. Need a 2D code instead? Try the free QR code generator.

How to Generate a Barcode

Creating a barcode with this free tool takes just a few seconds:

Step 1 – Choose your barcode format

Select the barcode symbology from the left panel. If you are unsure which to use, Code 128 is the safest general-purpose choice. For retail products use EAN-13 (international) or UPC-A (North America).

Step 2 – Enter your data

Type or paste the barcode content into the Barcode Data field. The barcode updates live as you type. Each format has specific data requirements — the tool will show an error if the input is invalid.

Step 3 – Customize appearance

Adjust bar width, height, margin, colors, and text position using the sliders. Changes are reflected in the preview instantly.

Step 4 – Download

Click Download PNG for a raster image or Download SVG for a vector file ideal for print. Both are free with no watermarks.

FAQ — Frequently Asked Questions about Barcode Generator

Frequently Asked Questions — Barcode Generator

Is this barcode generator really free?

Yes, completely free. No account required, no watermarks, no limits on the number of barcodes you can generate. Everything runs in your browser. It is one of the free browser-based tools at jasperbernaers.com.

Which barcode format should I use for retail products?

For international retail (Europe, Asia, rest of world) use EAN-13 (13 digits). For North American retail use UPC-A (12 digits). Small packages that can't fit a full-size symbol can use EAN-8 or UPC-E.

What is Code 128 and when should I use it?

Code 128 encodes the full 128-character ASCII set at high density. It is the most versatile linear barcode and is ideal for shipping labels, serial numbers, inventory tracking, and anywhere you need variable-length alphanumeric data.

Can I download a high-resolution barcode for print?

Yes. The SVG download is a vector file that can be scaled to any size without loss of quality — perfect for print-ready label files, packaging artwork, or large-format printing. The PNG download is rasterized at screen resolution.

What is the difference between EAN-13 and UPC-A?

EAN-13 has 13 digits and is the international standard used in most countries. UPC-A has 12 digits and is the standard in North America. UPC-A barcodes are technically a subset of EAN-13 (with a leading zero). Most modern scanners read both interchangeably.

Is my data private? Is it sent to a server?

Your data never leaves your browser. The barcode is generated entirely client-side using the open-source JsBarcode library. No data is transmitted to any server.

What is ITF-14?

ITF-14 (Interleaved 2-of-5, 14 digits) is used on outer packaging and shipping cartons to encode GTIN-14 product identifiers. It is designed to be readable even on lower-quality corrugated cardboard surfaces.

What is Pharmacode?

Pharmacode (Pharmaceutical Binary Code) is a barcode used exclusively in the pharmaceutical industry. It encodes a number from 3 to 131070 and is used on drug packaging to verify products on high-speed packaging lines.

What is the difference between a barcode and a QR code?

A linear (1D) barcode like Code 128 or EAN-13 stores a short string read in one direction — ideal for retail checkout and logistics. A QR code is a 2D matrix that stores far more data (URLs, Wi-Fi credentials, contact cards) and is read by smartphone cameras. Need a QR code instead? Use the free QR code generator on this site.

Do I need to register with GS1 to use a barcode?

Only for products sold through retail channels. Retailers require a GS1-issued company prefix so your EAN/UPC numbers are globally unique — you cannot invent retail numbers. For internal use (inventory, assets, tickets, membership cards, shipping references) you can generate any barcode freely with this tool at no cost.

Why won't my barcode scan?

The most common causes: too little quiet zone (empty margin) around the bars, printing too small or with low contrast, stretching the image (which distorts bar widths), an invalid check digit, or a scanner that doesn't support the symbology. Download the SVG, print at 100% scale in pure black on white, and leave a margin of at least 10× the narrowest bar width.

What size should a printed barcode be?

For retail EAN/UPC the nominal size is 37.29 × 25.93 mm, and GS1 allows 80–200% scaling. Never scale below 80% or truncate the height more than necessary — both reduce scan reliability. For Code 128 shipping labels, keep the narrowest bar at least 0.25 mm (10 mil) and the height at least 13 mm.

Can a barcode be scanned from a phone or computer screen?

Camera-based (2D imager) scanners read barcodes from screens without problems — that's how digital boarding passes and loyalty cards work. Older laser scanners often fail on screens because of reflection and backlight. Increase brightness and barcode size if a screen scan fails.

Should I use Code 39 or Code 128?

Code 128 in almost all new projects: it is denser, encodes full ASCII and includes a mandatory check character. Code 39 survives in legacy automotive, defence (LOGMARS) and older inventory systems; choose it only when an existing system requires it.

How do I make an ISBN barcode for a book?

An ISBN barcode is simply an EAN-13: select EAN-13 and enter your 13-digit ISBN (it already starts with 978 or 979) without hyphens. Optionally add an EAN-5 supplement for the price. Download the SVG for your cover designer.

Can I generate many barcodes automatically (bulk)?

Yes — the page accepts URL parameters, so you can script or bookmark barcodes: append ?data=YOURDATA&format=EAN13 (or CODE128, UPC, ITF14, …) to the page URL. Generate each barcode from a spreadsheet formula that builds the URL, open it, and download the file.