Local · Private · Free

Barcode Generator

Create Code 128 and EAN-13 barcodes with a live preview. Encoded on your device, exported as PNG or SVG.

Encoded in your browser. Nothing is uploaded or stored.

Two real standards, encoded from scratch

Code 128 packs any ASCII text and auto-switches between code set B (text) and C (pairs of digits) for compact numeric runs, with the required modulo-103 check symbol. EAN-13 takes 12 digits, computes the modulo-10 check digit (or verifies it if you supply all 13), and lays out the left/right guard and centre patterns. The encoders are written in plain JavaScript right on this page: no library, no server.

About Barcode Generator

Barcode Generator is a free, private tool by Digital Heroes that runs entirely in your web browser. Generate Code 128 and EAN-13 barcodes and download them as PNG or SVG. Everything happens locally on your device. Your data is never uploaded to a server, there is no sign-up or installation required, and it works offline. It is 100% free with no limits.

What you can do

How to use Barcode Generator

  1. Choose a symbology: Code 128 for any text or numbers, EAN-13 for retail product codes.
  2. Type your data into the input field. The barcode preview updates instantly.
  3. Adjust bar width, bar height, colors, and the human-readable text toggle to suit your label.
  4. Click Download PNG or Download SVG to save, or Copy SVG markup to paste directly into your design tool.

Frequently asked questions

Is Barcode Generator free?

Yes. Barcode Generator is completely free for everyone. No sign-up, no account, and no usage limits.

Is it private? Are my files uploaded anywhere?

No. Barcode Generator runs entirely in your browser on your own device, so your data never leaves your computer and nothing is uploaded to a server.

Does it work offline?

Yes. The Digital Heroes free tools suite is a Progressive Web App. Once the page has loaded it keeps working offline, and you can install it as an app from your browser.

Do I need to install anything or create an account?

No. Just open the page and start using it. Installing it as an app is optional and only adds offline convenience.

What does Barcode Generator do?

Generate Code 128 & EAN-13 barcodes and download as PNG or SVG.