Skip to content

Barcode Generator

Generate CODE128, EAN-13, EAN-8, UPC-A, CODE 39 and ITF-14 barcodes in your browser. Check digits are computed and verified for you.

What should it encode?

Check digit appended: 5901234123457

Preview

Enter a valid value to render the barcode.

Print at actual size and verify with your scanner — a barcode you cannot scan is decoration.

Your file is never sent to a server. It is read and processed by your own browser, and the results are not stored.

How to use it

  1. Choose the symbology.
  2. Enter the value; if you already have the check digit, the tool verifies it.
  3. Adjust size and human-readable text; download PNG or SVG.

Limits worth knowing

  • CODE128 encodes printable ASCII 32–126, up to 48 characters.
  • EAN-13, EAN-8, UPC-A and ITF-14 validate and compute the check digit — a wrong digit is refused.
  • CODE 39 allows A–Z, 0–9 and - . _ / + % $ * and space.
  • SVG is vector and scales losslessly; PNG is rasterised at the chosen pixel width.

The check digit is the contract

Every retail symbology ends with a check digit: the rest of the digits are weighted and summed, and the last digit makes the total a multiple of ten. Scanners use it to notice misreads. This tool computes it before drawing, and refuses values whose check digit is wrong rather than drawing bars nobody can scan.

The same math applies to ITF-14 cases, EAN-8 short codes and UPC-A in the US — one algorithm, three weights, one digit on paper.

Choosing a symbology

CODE128 is the catch-all: anything printable fits, dense and self-checking. EAN-13 and UPC-A are what the retail world actually scans at checkout; ITF-14 is what your case of 24 units carries. CODE 39 is older, wider and loved by industrial and medical tooling because it needs no check digit and tolerates imperfect print.

Frequently asked questions

Does Barcode Generator upload my files to any server?

No. Barcode Generator runs in your browser, and the file is read there rather than sent to a server for processing. Our host still sees ordinary page-request metadata, which is described on the privacy page.

Is Barcode Generator free to use?

Yes, Barcode Generator is free, with no paid tier, no account, and no watermark added to your output. The limits are technical rather than commercial: file size, page count and supported formats are listed on this page.

What file formats and sizes are supported?

Barcode Generator supports .txt files up to 0MB directly in your browser.

Will it work for retail?

It renders standards-compliant bars and computes the correct check digits. Whether a specific retailer accepts your value (GS1 prefix ownership) is a separate question of who owns the number, not of the barcode.

What if my check digit is wrong?

If you type 13 digits and the last one is not the computed check digit, the tool tells you the expected value instead of drawing an unscannable barcode.

Can I use it for a warehouse?

For internal CODE128 or CODE 39 labelling, yes. Print at sufficient size and verify with your scanner; scanning is the only real test of print quality.

Is anything uploaded?

No. The barcode is drawn in this tab and offered as PNG or SVG.