Barcode Generator

CODE128, EAN, UPC, CODE39 & more — rendered locally to PNG or SVG.

Free barcode generator for CODE128, EAN, UPC & CODE39 — make a barcode online and download it as PNG or SVG. Runs in your browser, nothing uploaded.

About Barcode Generator

Barcode Generator is a free, in-browser tool that turns text or numbers into a scannable 1D (linear) barcode and exports it as a PNG or SVG. It supports nine symbologies — CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, MSI, Codabar, and Pharmacode — and validates your input per format, auto-adding or correcting check digits where they apply. Everything runs locally via JsBarcode with no signup; your data is never uploaded.

How to use Barcode Generator

  1. Pick a symbology (CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, MSI, Codabar, or Pharmacode) from the picker — each shows a hint for what its data must look like.
  2. Type or paste the data to encode, or click "Use example" to start from a valid sample; the tool validates as you type and flags any format error.
  3. Adjust the look: bar width (1–6px), bar height (20–240px), quiet-zone margin (0–40px), and toggle showing the value text under the bars.
  4. Set the bar and background colors, or switch on a transparent background for overlaying on other artwork.
  5. Preview the live barcode on the right, then download it as PNG or SVG, copy the SVG markup or a PNG data URL, or print it.

Frequently asked questions

Is it free, and do I need an account?
Yes, it's completely free with no signup. Open the page and start generating barcodes immediately.
Are my barcodes or data uploaded to a server?
No. Everything runs locally in your browser using the JsBarcode library — your input never leaves your device, and the PNG/SVG are generated entirely on your machine.
Which barcode formats are supported?
Nine linear (1D) symbologies: CODE128, EAN-13, EAN-8, UPC-A, CODE39, ITF-14, MSI, Codabar, and Pharmacode. It does not generate QR codes or other 2D barcodes.
Do I need to calculate the check digit myself for EAN/UPC?
No. For EAN-13, EAN-8, UPC-A, and ITF-14 you can enter just the data digits and the check digit is appended automatically. If you enter the full code with a wrong check digit, the tool corrects it and tells you.
Can I export as a vector file?
Yes. You can download a scalable SVG (resolution-independent, ideal for print), download a PNG bitmap, or copy the raw SVG markup or a PNG data URL to paste elsewhere.
Why won't my barcode generate?
Each symbology has strict input rules — for example UPC-A needs 11 or 12 digits, CODE39 allows only A–Z, 0–9 and a few symbols, and Pharmacode must be a whole number from 3 to 131070. The tool shows a specific message explaining what the chosen format expects.

People also search for

Barcode Generator is also known as code128 barcode generator, make a barcode online, barcode for price tag, ean upc barcode maker, how to create a barcode, barcode to svg or png, code39 barcode generator.