ToolHub
_striped

Barcode Generator

CODE128, EAN-13, UPC barcodes as PNG.

About the Barcode Generator

Render retail and logistics barcodes as crisp PNGs in six symbologies: CODE128 for any text, EAN-13, UPC-A, CODE39, ITF-14 and Pharmacode. Bar width and height are adjustable, the human-readable value can be shown under the bars, and invalid input for the chosen format is flagged with a specific error.

How to use the Barcode Generator

  1. Type the value to encode and pick a symbology matching it.
  2. Adjust bar width and height for the size you need.
  3. Toggle Show value under bars for printed labels.
  4. Download the PNG once the preview looks correct.

Barcode Generator FAQ

Which symbology fits my data?

CODE128 accepts any text, EAN-13 needs 12 or 13 digits, UPC-A 11 or 12, CODE39 takes A-Z 0-9 and a few symbols, ITF-14 is for shipping containers, and Pharmacode encodes numbers 3 to 131070.

Why do I get an error for my value?

Each format has strict character and length rules โ€” a letter in an EAN-13, for example, cannot be encoded, and the message tells you what the format allows.

Will the barcode scan from the PNG?

Yes, provided the bars are printed or displayed at a reasonable size; keep the height above 30 pixels and avoid aggressive image compression.