Generators / Barcode Generator

Barcode Generator

Free online Barcode Generator — fast, no install, runs in your browser. Part of the I5P toolbox.

Each symbology accepts different input — see the reference below

Supported symbologies

SymbologyCharacter setLengthTypical use
Printable ASCII Any length Logistics, warehousing, general IDs
Digits 12 or 13 digits (check digit auto) Retail products worldwide
Digits 7 or 8 digits Small retail packages
Digits 11 or 12 digits Retail in North America
Digits, A–Z, - . space $ / + % Any length Industrial, defense, asset tags
Digits Even count (auto-padded) Cartons and shipping cases
Digits and - $ : / . +, A–D as start/stop Any length Blood banks, libraries, couriers

Free API

A GET request returns the barcode directly as an image/png image, ready for an <img> tag or server-side use. Anonymous calls are rate limited.

Endpoint: //www.i5p.com/bar/?data=...&type=code128

ParameterDescriptionRequired
dataBarcode content (URL-encoded)Required
typeSymbology: code128 / ean13 / ean8 / upca / code39 / itf / codabar. Default code128Optional
wModule width in pixels, 1–8, default 2Optional
hBarcode height in pixels, 20–400, default 100Optional
fgForeground color, e.g. %23000000 (escape # as %23)Optional
bgBackground color, e.g. %23ffffffOptional
text1 shows the readable text (default), 0 hides itOptional
marginQuiet zone in modules, 0–40, default 10Optional
formatpng (default, returns the image) or base64 (returns a JSON data URI)Optional

Examples:

<!-- CODE128 product code -->
<img src="//www.i5p.com/bar/?data=I5P-20260909">

<!-- EAN-13 retail barcode, taller and wider -->
<img src="//www.i5p.com/bar/?data=6901234567892&type=ean13&w=3&h=140">

Note: for EAN-13 / EAN-8 / UPC-A you may supply just the first 12 / 7 / 11 digits — the check digit is appended automatically. ITF pads a leading zero when the digit count is odd.