uuutil ← all tools

Barcode generator

Enter a value and read it as a scannable barcode, generated entirely in your browser. Code 128 covers full ASCII with the subset chosen automatically — unsupported characters are named in the error — while EAN-13 takes digits only: 12 digits gain the computed check digit, 13 have it verified with the correct digit stated on mismatch. Download as SVG or PNG, adjust bar width, height and the quiet zone — clamped to the spec minimums so scanners keep working — and toggle the value printed under the bars. The encoders are unit-tested against published encoding vectors, the same regime as the QR generator.

Privacy ledger

Data acquired None.
Libraries used Lit 3 — bundled into the tool file itself.
Data stored None.
Data transmitted None.

Use it on your own page

Download the tool as a single self-contained HTML file: readable source with the Lit library included, zero network requests — it works opened straight from your disk, and you can customize everything.

Prefer the hosted widget? One script tag embeds it and stays up to date:

<script type="module" src="https://uuutil.com/tools/barcode-generator.js"></script>
<uu-barcode-generator lang="en"></uu-barcode-generator>

Source license: MIT — free to use, modify and redistribute; keep the license notice in copies.