Free tools · Barcodes

Every barcode the shelf needs.

Retail EAN/UPC and logistics 1D codes — validated, check-digit verified and self-test decoded, rendered on your device, never uploaded.

Barcode generator

Type text, get a symbol.

Runs locally in your browser. Nothing is uploaded; the field clears after ten idle minutes.

Content

Dense general-purpose 1D code for logistics and labels.

Printable ASCII (A–Z, a–z, 0–9 and symbols), 1–80 characters.

Advanced (GS1)
Style (readable text, bar height, export size)

Bar height stretches bars vertically, which scanners ignore (only horizontal timing matters). The SVG download keeps the engine's exact geometry.

How it works

Three steps, all on your device.

The same engine that reads barcodes writes them — every symbol is decoded again before you see it.

01

Pick a symbology

Retail EAN/UPC for products, Code 128 or Code 39 for labels and logistics. Each format shows its charset and length rules.

02

Type the payload

Check digits for EAN, UPC-A and EAN-8 are computed or verified automatically, and every symbol is read back by the on-device decoder to prove it scans.

03

Download and print

Take a resolution-independent SVG for print or a PNG at your chosen module size. Both are generated on your device — nothing is uploaded.

Questions

Generating barcodes, answered.

If you manage servers by hand, see the engineering services behind this tools series.

Is my text uploaded anywhere?

No. Encoding runs entirely in your browser via a self-hosted decoding engine — the page makes no network requests with your data, stores nothing, and wipes the field after ten idle minutes. You can verify this in your browser's developer tools or disconnect from the network after the page loads.

Which formats can I generate?

Nineteen linear symbologies: EAN-13, EAN-8, UPC-A, UPC-E and ISBN for retail (plus GS1 DataBar Omni, Limited, Expanded and Expanded Stacked); Code 128, Code 39, Code 39 Extended, Code 93, ITF, Codabar, Code 32, PZN, Telepen Alpha and Telepen Numeric for industrial and logistics labels. For 2D codes — QR, Data Matrix, Aztec, PDF417 and MaxiCode — use the 2D code generator; QR codes with styling and logos have their own dedicated QR generator.

How do EAN and UPC check digits work here?

Type 12 digits for EAN-13 (7 for EAN-8, 11 for UPC-A) and the check digit is computed for you; type the full 13, 8 or 12 digits and it is verified before encoding, with the expected digit named on mismatch. Short or mistyped retail codes are rejected with an explanation instead of a broken symbol.

What does the self-verify readout mean?

Every generated symbol is decoded again on your device before it is shown. Some symbologies normalize input — Code 39 folds lowercase to uppercase, ITF pads odd input with a leading zero, EAN adds the check digit, UPC-E scans back zero-expanded — and the readout shows the exact decoded form so there are no surprises at the scanner.

PNG or SVG — which download should I use?

SVG for print, packaging and anything that gets resized: it stays razor sharp at any size and includes the human-readable text under 1D bars when enabled. PNG for quick sharing and apps that need raster images; the module-size slider controls its resolution. Both are generated on your device.

Why is there white space around the symbol?

That white margin is the quiet zone — empty space scanners need to tell where the code starts and ends. It is part of the symbol, not decoration: keep it calm and uncluttered when you print or screenshot, or scanners will struggle. The preview blends into the page around it; the white tight to the bars is doing real work.

How large should I print a barcode?

Retail EAN/UPC symbols scan reliably from about 30 mm wide (roughly 80% magnification) with a calm light margin on both sides. Keep bars pure black on white — the SVG export is the safest choice for print.

Related tools

More from the free-tools series.

Every tool runs entirely in your browser — no accounts, no uploads.

TOOL / 07

2D CODE / GENERATE

2D Code Generator

Generate QR, Data Matrix, Aztec, PDF417 and MaxiCode with error-correction, color and frame controls — validated and scan-verified in your browser.

Open the tool
TOOL / 01

SSH / KEYS

PPK to OpenSSH Converter

Convert private keys between PuTTY .ppk, OpenSSH and legacy PEM formats — both directions, encrypted keys supported. Your key never leaves your browser.

Open the tool
TOOL / 02

SSH / KEYGEN

SSH Key Generator

Generate fresh Ed25519, RSA or ECDSA keypairs with your browser's audited crypto, emitted as OpenSSH. Your key never leaves your browser.

Open the tool