Barcode Generator

Make Code 128, EAN-13, UPC-A and Code 39 barcodes; download PNG or SVG.

Enter text or numbers to see the barcode

Print at 100% size, keep the white margins, use dark bars on a light background and test-scan before using a barcode on products or labels.

About this tool

Type text or numbers, choose a barcode type and the barcode appears instantly. Download it as PNG or SVG, or print it and save as PDF. Paste one value per line to make many barcodes at once. Everything runs in your browser and nothing is uploaded.

How to use it

  1. 1

    Type or paste your text or numbers. Use one line per barcode for bulk.

  2. 2

    Choose the barcode type. The barcode updates instantly; adjust bar width, height and colours if needed.

  3. 3

    Download SVG or PNG, or print / save as PDF. Test-scan a printout before you use it.

Main features

  • Code 128, Code 39, EAN-13, EAN-8 and UPC-A, with check digits calculated for you.
  • Bulk mode: one barcode per line, downloaded as one sheet or one by one.
  • Vector SVG for print and design tools, high-resolution PNG, or print to PDF.

Practical example

Paste three product codes, one per line, and keep the type on Code 128. You get three barcodes, a combined sheet to download, and an SVG or PNG for each one.

Which barcode type to use

Code 128: any standard keyboard text, very compact. Good for web addresses, serial numbers, shipping labels and inventory. The tool switches between character sets automatically to keep the barcode short.

Code 39: capital letters, digits and a few symbols. Common on older systems and ID badges.

EAN-13, UPC-A and EAN-8: numbers only, with a built-in check digit, used on retail products. EAN-13 is used worldwide and UPC-A in North America. Enter 12 digits (11 for UPC-A, 7 for EAN-8) and the check digit is added.

Tips for barcodes that scan

Print at actual size (100%), leave the white margins, use dark bars on a light background and avoid glossy or curved surfaces. Make the narrow bars wide enough for your printer: if a scan is unreliable, raise Bar width. Always test one printed copy with the scanner you will use before printing a full batch.

Frequently asked questions

What is a barcode generator and why would I need one?

A barcode generator turns text or a number into a pattern of bars that a scanner can read. You need one to label products, shelves, files, tickets, equipment or inventory, or to test a scanner, without buying special software.

Is there a free way to generate barcodes?

Yes. This tool is free, needs no account and adds no watermark. Download PNG or SVG and use it anywhere. One caution: to sell products in shops you need official EAN or UPC numbers from GS1. A free generator draws the barcode correctly but cannot register a number for you.

Why might a printed barcode fail to scan?

Common reasons are a barcode that is too small or too low in contrast, missing white margins (quiet zones), a stretched or blurry image, a glossy or curved surface, a wrong check digit, or a scanner that has not enabled that type. Print at 100% size, use dark bars on a light background, keep the margins, and test with the scanner you will use. If scanning is unreliable, increase the bar width.

Can I make barcodes in bulk or from several lines?

Yes. Put one value per line, up to 200 lines. Download one sheet as SVG or PNG, or download each barcode on its own. It is free and runs locally.

Which barcode type should I choose?

Use Code 128 for general text, IDs and links, Code 39 for simple capital-letter codes, EAN-13 or UPC-A for retail products, and EAN-8 for very small packs.

Can I use the barcodes in Excel, PDF or Illustrator?

Yes. Download the SVG (vector) and open it in Adobe Illustrator, Inkscape or Affinity, or insert the PNG or SVG into Excel and Word. You can also use Download EPS or Print / Save as PDF.

Is this an AI barcode generator or a Google barcode generator?

No. It does not use AI and it is an independent site, not connected to Google. Barcodes are produced from the standard encoding rules, so the same text always gives the same barcode.

Can I make a barcode from a link?

Yes. Paste the link as text with Code 128. Remember that a barcode only stores the text. A phone scanner reads the text, but opening a link usually needs a QR code, which is a different format that this tool does not make.