Home › Generators › Barcode Generator

Free Barcode Generator

Create a barcode from any number or text and download it as PNG or SVG.

Private by design: your files and text are processed in your browser and are not uploaded to our servers.

About this tool

Choose a barcode type, type your value and the barcode draws instantly. Code 128 accepts almost any text and numbers, which makes it a good default for inventory, asset tags and shipping labels. EAN and UPC are the retail product codes.

Download the result as a PNG for documents or an SVG for printing at any size. The tool checks the value for you and tells you if it does not fit the type.

Code 128 barcode generator

Choose CODE128 for general labels. It accepts letters, numbers and common symbols, so it suits inventory, asset tags and shipping labels.

How to use it

  1. Pick the barcode type that your system or shop needs.
  2. Type your value. The tool shows an error if the length or characters are not valid for that type.
  3. Adjust the bar width and height, then download PNG or SVG.

Good to know

Key features

Limitations

Privacy and security

Runs in your browser and your file is not uploaded. The first time you use this tool, your browser downloads JsBarcode (an open-source library) from a public CDN to draw the barcode; the library provider may see your IP address, but never your file. Your text stays on your device.

Frequently asked questions

How do I make a Code 128 barcode?

Choose CODE128 as the type, type your value and download the barcode.

Which barcode type should I use?

Use Code 128 for inventory, assets and shipping because it takes any text. Use EAN-13 or UPC-A when a retailer asks for a product code.

Can I use these barcodes on products I sell in shops?

Retail barcodes are linked to numbers issued to your company by the standards body. Check with the issuing organisation before you use an EAN or UPC on products you sell.

Why does it say my value is invalid?

Each type has rules. EAN-13 needs 12 or 13 digits, EAN-8 needs 7 or 8, UPC-A needs 11 or 12, and Code 39 allows only capital letters, digits and a few symbols.

Can I print the barcode?

Yes. Download the SVG for the sharpest print at any size.

More tools you may need

Related guides

Last reviewed: 2026-11-22. Found a mistake? Tell us. See our tool accuracy policy.