Barcode Generator Online Free – Code128, EAN, UPC & More

Barcode Generator

universal barcode & 2D code generator

100% client-side · nothing leaves your browser
1 · Type
2 · Data
3 · Style
4 · Preview
1 Choose symbology
2 Enter data
⇩ Drag & drop a .txt or .csv file here to import data
Trim leading/trailing whitespace
Evaluate escapes (\n \t \\)
Batch mode — one code per line
Bulk sequential numbering
3 Style & settings
Appearance
#201c16
#ffffff
Transparent background
Gradient fill
Human-readable text
Show text under barcode
Padding & quiet zone
Uniform padding on all sides
Values in millimeters.
Advanced & export
4 Preview & download
100%
Live preview · ready to download
Code 128
Characters
0
Image size
—
Est. print size
—
Contrast
—

Keyboard shortcuts

Regenerate previewCtrl/⌘ + Enter
Download PNGCtrl/⌘ + S
Undo data fieldCtrl/⌘ + Z
Redo data fieldCtrl/⌘ + Shift + Z
Close fullscreen / dialogsEsc
Show this panel?

How to Generate a Barcode

  1. Choose a barcode format, such as Code 128, EAN-13, or UPC-A.
  2. Enter your data and check that it reads correctly.
  3. Adjust the size, colors, and quiet zone if you like.
  4. Preview the code and download it as PNG, SVG, or PDF.

Barcode Generator – Create Free 1D Barcodes Online Instantly

What is a Barcode?

Try our QR Scanner, Barcode Scanner, and QR Generator to create, scan, and manage QR codes and barcodes online for free.

How Does a Barcode Generator Work?

Features of Our Barcode Generator

Supported Barcode Types and Usage

Bulk Barcode Generator

If you need to create a large number of barcodes at once, our bulk barcode generator saves you time and effort. Simply upload a CSV or Excel file, and generate all your barcodes in one click, whether it's for product listings, inventory, or shipping labels. This tool is especially useful for large stock or growing businesses where making each barcode manually just isn't practical.

Barcode vs QR Code: What's the Difference?

How to Print Barcodes Correctly

Common Barcode Mistakes to Avoid

Why Barcodes Fail to Scan

Frequently Asked Questions

Can I create a barcode for free?

Yes. You can use our free barcode generator to create supported barcode formats without registration or paid software.

Does every product need a different barcode?

For retail products, each unique product or product variation generally needs its own GTIN.

Why is my barcode not scanning?

Common causes include incorrect sizing, poor print quality, low contrast, damaged bars, or using a barcode format that does not support the data you encoded.

Do I need GS1 to create a barcode?

Not for every use case. Internal inventory and asset tracking can use formats such as Code 128 or Code 39 without a GS1-issued number.

Can I scan a barcode with my phone?

Yes. Many modern smartphones can scan common barcodes using the camera or a scanning app.

Do barcodes expire?

A barcode image itself does not normally expire.

Conclusion