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
| Symbology | Character set | Length | Typical 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
| Parameter | Description | Required |
|---|---|---|
| data | Barcode content (URL-encoded) | Required |
| type | Symbology: code128 / ean13 / ean8 / upca / code39 / itf / codabar. Default code128 | Optional |
| w | Module width in pixels, 1–8, default 2 | Optional |
| h | Barcode height in pixels, 20–400, default 100 | Optional |
| fg | Foreground color, e.g. %23000000 (escape # as %23) | Optional |
| bg | Background color, e.g. %23ffffff | Optional |
| text | 1 shows the readable text (default), 0 hides it | Optional |
| margin | Quiet zone in modules, 0–40, default 10 | Optional |
| format | png (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.