Barcode Generator

Encode your data as a real Code 128, EAN-13 or UPC-A barcode and save it as a PNG.

Create a barcode

Symbol: automatic · Modules: 0
Canvas: 640 x 220 px
Export: not created yet
Bars are generated with the published Code 128, EAN-13 and UPC-A tables inside your browser.

How to use the Barcode Generator

  1. Choose Code 128, EAN-13 or UPC-A and type the data you want to encode.
  2. Set the bar width and decide whether to print the human readable digits.
  3. Click Create PNG and save the barcode with the download link.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online barcode generator.

Pick a format, type the digits or text you want to encode, then click Create PNG and save the file. The tool is completely free.
Code 128 in automatic, subset B and subset C modes, plus EAN-13 for retail products and UPC-A for North American products.
Yes. Code 128 uses the standard weighted modulo 103 checksum and EAN-13 and UPC-A use the modulo 10 check digit.
The tool tells you the digit it calculated and stops drawing, so you can correct the number before you print it.
Yes. Click Create PNG to encode the canvas with toBlob, then use the Save PNG link to write the file to your device.
Yes. The bars follow the published symbology tables, so any standard barcode scanner can read a clean print or screen shot.
No. Every bar is drawn locally on a canvas in your browser, so nothing you type is ever sent anywhere.
Use a bar width of at least two pixels for screens. Printed labels should stay above the minimum size the symbology allows.
Yes. The generator is fully responsive and works on phones, tablets and desktops.
No. You can generate and download as many barcodes as you like, with no account and no usage cap.

Last updated: October 10, 2026