Barcode Generator

Generate 30+ linear and 2D barcode formats, batch them, and export PNG, JPG, SVG or a ZIP — all in your browser.

Content & options

One barcode per line; separate the caption with a Tab
Barcode type
Show text
Width
mm
Height
mm
Bar color
Background

Width is in mm; PNG is exported at 8 px per mm. Too little height makes the bars look flat.

Loading barcode engine…

Barcode info

Format
Code 128
Characters
0
Width
50 mm
Height
14 mm
Export size
400 × 112 px

Universal linear code that switches character sets automatically.

How to use

Pick a format, type your content and the barcode appears instantly. Everything is generated locally — nothing is uploaded.

30+ formats

Linear: Code 128, EAN/UPC, Code 39, ITF, MSI and GS1 DataBar. 2D: QR, Data Matrix, PDF417 and Aztec.

Batch generation

One line per barcode; add a Tab to give each code its own caption.

Vector export

PNG at 8 px per mm, or mm-based SVG for print and layout work.

Fully local

All drawing happens in your browser; shared links only carry the text.

  1. 1 Choose a format in the left column
  2. 2 Type content in the middle column, one line per barcode
  3. 3 Adjust width, height and colors
  4. 4 Download PNG / JPG / SVG, or grab the ZIP

A barcode that is too narrow cannot be scanned. Set the width to your real print size and keep dark bars on a light background.

FAQ

The barcode will not scan — why?

Usually the size or contrast is too low. Set the width to the real print size (30–50 mm is common), keep dark bars on a light background, and check that the data satisfies the format rules.

Why is my content reported as invalid?

EAN-13, UPC-A and ITF-14 enforce strict lengths and check digits. EAN-13, for example, needs 12 digits plus a check digit, or the full 13 digits.

Can I generate several barcodes at once?

Yes. Put one value on each line and every line becomes a barcode. The ZIP download contains both PNG and SVG files.

May I use the barcodes commercially?

They are drawn locally by open-source engines (BWIPP and JsBarcode), so you are free to use them. For print, prefer the vector SVG or a PNG at 300 dpi or more.