ToolBirch

Barcode Generator

Render scannable barcodes in eight formats as PNG downloads.Generators

Barcode Generator

Render a scannable barcode with JsBarcode and download it as a PNG. Each format has its own character and length rules, validated before drawing.

Any ASCII text, 1–48 characters.

About this tool

Retail and logistics formats each have strict alphabet and length rules, so this tool validates your value against the chosen format before drawing — with the rules stated plainly. Rendering uses JsBarcode and exports a print-ready PNG.

How to use the Barcode Generator tool

  1. Choose the format. CODE128 for general use; EAN/UPC for retail; ITF-14 for cartons; pharmacode for pharma.
  2. Enter a valid value. The format's rules are shown next to the input, and invalid values are explained on generate.
  3. Generate and download. A PNG with the human-readable value printed underneath.

Supported formats

Input

  • Format-specific value strings

Output

  • A PNG barcode with printed value

Inputs are validated before anything is processed. Invalid values and unsupported files are rejected with a clear error instead of failing silently.

Frequently asked questions

Which format should I pick?

CODE128 accepts any ASCII and suits internal use. EAN-13/UPC are retail standards with fixed lengths and computed check digits.

Are check digits computed?

Yes for EAN and UPC — you enter one digit fewer and the library calculates the check digit.

Why was my value rejected?

Each format has alphabet and length rules, shown beside the input; the generator explains exactly which rule failed.

Can I print these?

Yes. The PNG is drawn at 2× module width, which scans reliably on standard printers.

Privacy

Everything you enter stays in this browser tab. There is no upload endpoint for tool inputs, no account, and no server-side copy of your text or files. Results are produced locally and disappear when you close the page.

No account is required and no file is ever uploaded. See the privacy policy for details about analytics and the limited data this site stores.

Known limitations

  • Eight formats only; QR codes are handled by the dedicated QR tool.
  • No vector (SVG) export for barcodes.
  • Colours are fixed black-on-white, which is what scanners expect anyway.

Other free tools from the same collection.