Data
- Components
- Codes
- Barcode
Barcode
type: "barcode"4 styles · 12 propertiesRenders 1D/linear barcodes (Code 128, EAN-13, UPC-A and other bwip-js symbologies) with optional human-readable text — ideal for tickets, SKUs and shipping labels.
Updated




Try your own data
Change the barcode here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
4 styles
Pick one to preview itExamples
Each example is the same barcode with different values. The JSON is what you send.
Parcel tracking label
A shipping label strip with the carrier tracking number in Code 128.
{
"sku.value": "1Z999AA10123456784"
}Warehouse bin label
A bin location code printed for rack labelling, text kept below the bars.
{
"sku.value": "BIN-A12-045",
"sku.barColor": "#1E3A8A"
}Good for
- Shipping labels with the tracking number encoded per parcel
- Event and cinema tickets with unique entry codes
- Retail shelf labels and price tags with product SKUs
- Warehouse bin and asset labels generated in bulk
New values, every render
Encode a different SKU/ticket per render via '<key>.value'; format and colors can also be overridden. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sku.value": "SKU-2026-0715"
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"sku.value": "SKU-2026-0715"
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"sku.value": "SKU-2026-0715"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Properties
Every property works the same in the editor, in design JSON and as an API override.
12 properties shown
| Property | Type | Default | What it does |
|---|---|---|---|
| Data | |||
value | string | — | The raw value encoded into the barcode. |
format | string | "code128" | Barcode symbology (bwip-js bcid), e.g. 'code128', 'ean13', 'upca'. |
| Look | |||
barColor | color | "#000000" | Color of the bars (dark modules). |
backgroundColor | color | "#ffffff" | Background color behind the barcode. |
displayValue | boolean | true | Show the human-readable text below the bars. |
textColor | color | — | Human-readable text color (defaults to barColor). |
| Frame | |||
opacity | number | 1 | Overall component opacity from 0 (transparent) to 1 (opaque). |
borderWidth | number | 0 | Border thickness in pixels around the component. |
borderColor | color | "transparent" | Border color (any CSS color). |
borderStyle | 'solid' | 'dashed' | 'dotted' | 'double' | 'none' | "solid" | Border line style. |
borderRadius | number | 0 | Corner radius in pixels. |
boxShadow | string | — | CSS box-shadow applied to the component, e.g. "0 4px 6px rgba(0,0,0,0.1)". |
Barcode questions
Which barcode formats are supported?
The format property accepts any bwip-js symbology id (bcid) — 'code128' by default, plus 'ean13', 'upca' and the rest of the bwip-js catalog.
Can I encode a different value on each API call?
Yes — pass '<key>.value' in the modifications JSON; the format and colors can be overridden per render too.
Can I hide the human-readable text under the bars?
Set displayValue to false to render bars only; when shown, textColor styles the text and defaults to barColor.
Where the barcode component fits
Free tools built on it, guides that use it, and the components that sit beside it.