~/online-free-barcode-generator apps ← back to terminal
Barcode Generator
Generate high-quality linear barcodes instantly · 15+ formats · download as PNG or SVG
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

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.