Skip to content
Styleof the Barcode component

EAN-13 Barcode

Generate EAN-13 retail barcodes as images from any 13-digit GTIN, swapping the value on every API call. Create EAN-13 barcode images free with imejis.

Updated

EAN-13 Barcode style, sample render

What this style sets

A style is the barcode component with a few properties set. Send these, or start from the style in the editor.

{
  "sku.format": "ean13",
  "sku.value": "5901234123457"
}

Good for

  • Product packaging artwork for international retail
  • Price tags and shelf labels
  • Catalog sheets with per-product barcodes

Try your own data

Change the EAN-13 barcode here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.

Examples

Each example is the same EAN-13 barcode with different values. The JSON is what you send.

Book back-cover ISBN

An ISBN-13 rendered as the EAN barcode printed on a book jacket.

{
  "sku.format": "ean13",
  "sku.value": "9780306406157"
}

Grocery shelf label

A 13-digit GTIN on a supermarket price tag, bars in near-black.

{
  "sku.format": "ean13",
  "sku.value": "4006381333931",
  "sku.barColor": "#111827"
}

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.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with the EAN-13 style of the Barcode component (type "barcode") filled with my data, then give me a render link I can call with new values.”
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": "5901234123457",
    "sku.format": "ean13"
  }' \
  -o image.png

Other barcode styles

EAN-13 Barcode questions

What does the EAN-13 style change on the barcode component?

Retail product barcode used outside North America (13-digit GTIN). It sets 2 properties on the barcode component: format, value. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the EAN-13 barcode through the API?

Add a barcode component to a design, then send its data together with the style's properties as flat overrides (for example sku.format and sku.value) in the render request. Each render can carry different data while keeping the EAN-13 look.

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.

Free tools built on it, guides that use it, and the components that sit beside it.