MALFEN

GeneratorsNewRuns in your browser

Barcode Generator

Generate EAN, UPC, Code128 and Code39 barcodes as PNG or SVG.

Loading tool…

About Barcode Generator

Create scannable barcodes for inventory labels, retail products, asset tags and shipping. Pick the symbology your scanner expects, type the value, and the barcode is drawn instantly with a validity check — so you find out about a bad EAN check digit here rather than at the till. Download as PNG for labels or SVG for print. EAN-13, UPC-A, Code 128 and Code 39 are all supported, and the check digit is calculated for you where the symbology requires one.

How to use Barcode Generator

  1. 01

    Choose a format

    Pick the symbology your scanner or supplier requires — Code128 is the most flexible general-purpose choice.

  2. 02

    Enter the value

    Type the data to encode. If the format has rules — EAN-13 needs 12 or 13 digits — you will be told immediately.

  3. 03

    Adjust the appearance

    Set the bar dimensions and colours, and decide whether to print the text below.

  4. 04

    Download

    Save as PNG for label printers or SVG for design software.

Features

  • EAN-13, EAN-8, UPC-A, Code128 and Code39 symbologies
  • Live validation with clear messages about length and allowed characters
  • Adjustable bar width, height and font size
  • Show or hide the human-readable value
  • Custom foreground and background colours
  • Download as PNG or SVG

Frequently asked questions

Everything people ask about the Barcode Generator.

Code128 handles letters and numbers and is the usual pick for internal inventory and shipping. EAN-13 and UPC-A are for retail products sold in shops and require a registered company prefix. Code39 is older but widely supported by legacy scanners.

For testing, yes — the tool will generate anything structurally valid. For products sold in shops you need a genuine prefix issued by GS1, otherwise your code may collide with another company’s product.

The last digit of an EAN or UPC is calculated from the others so scanners can detect misreads. Enter 12 digits for an EAN-13 and the correct check digit is added for you.

Usually it is printed too small, at too low a resolution, or with insufficient contrast. Print at 300 DPI or higher, keep the bars pure black on white, and leave clear space either side.

Yes, completely. There is no account to create, no trial that expires, no watermark on the output and no feature held back behind a paywall. The site is supported by unobtrusive advertising, not by charging you.

No. Barcode Generator runs entirely inside your browser, so your input never leaves your device. You can confirm this by opening your browser's network tab — there is no upload request.

Yes. Because processing happens locally, there is no copy of your data on any server to leak, subpoena or lose. Nothing is logged and nothing is stored.

Yes. The interface is built mobile-first, with touch-friendly controls and layouts that adapt to small screens. Everything that works on a desktop works on a phone.

Once the page has loaded, yes. All processing is local, so you can carry on working if your connection drops.

Any current version of Chrome, Edge, Firefox, Safari or Opera, on desktop and mobile. If something behaves oddly, updating your browser resolves it in almost every case.

Yes. Whatever you produce here is yours — use it in client work, products, packaging or publications. There is no watermark, no licence to accept and no attribution required.

No. There is nothing to keep: your data is never transmitted, and it is cleared from memory as soon as you close or reload the page.