Barcode Generator

Generate common barcode formats.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter the value, choose a barcode format and press Generate. You get a barcode PNG with the value printed beneath it.

How to use

1
Step 1
Enter the data to encode.
2
Step 2
Choose CODE128, CODE39, EAN13, UPC or ITF14.
3
Step 3
Press Generate and use Download PNG.

How it works

Barcodes are drawn with the JsBarcode library in black on white, with 2-pixel bars and a height of 100 pixels. CODE128 accepts general text. CODE39 allows capital letters, digits and a few symbols. EAN13, UPC and ITF14 are numeric and check their length and check digit, so wrong data produces an error instead of a barcode.

Worked example

A shelf label

Input
ITEM-20417, CODE128
Output
A CODE128 barcode image with ITEM-20417 printed below
Walkthrough
CODE128 can encode letters, digits and the hyphen, so the value is accepted as typed.

Limitations

  • Bar width, height and colours cannot be changed.
  • Retail formats (EAN, UPC) need valid numbers; the tool does not issue official product codes.
  • CODE128 accepts basic Latin text only; accented letters and non-Latin scripts give an error.
  • PNG download only.
  • Always scan-test printed labels.

Questions

How do I make a barcode?
Enter the value, choose a format and press Generate.
Which format should I use?
CODE128 for general text. EAN13 or UPC only for retail numbers assigned to you.
Why did I get an error?
The value does not fit the format, for example letters in an EAN13 code or the wrong number of digits.
Can this make a real EAN for my product?
No. Official product numbers come from your GS1 organisation.

Features

  • Five barcode formats
  • PNG download
  • Private, in-browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • How do QR Codes Work: Explained in Minutes

    Scanova

    Short overview before generating or reading codes.

    Watch on YouTube
  • Reduce image size with srcset

    Chrome for Developers

    QR codes often sit on posters—keep companion images light.

    Watch on YouTube