Skip to content
Styleof the Barcode component

UPC-A Barcode

Generate North-American UPC-A retail barcodes from 12-digit codes, overriding the value on every API call. Create UPC barcode images free with imejis.

Updated

UPC-A 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": "upca",
  "sku.value": "036000291452"
}

Good for

  • US and Canada retail packaging
  • Point-of-sale labels
  • Product listing images with scannable UPCs

Try your own data

Change the UPC-A 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 UPC-A barcode with different values. The JSON is what you send.

US retail packaging

A 12-digit UPC placed on packaging artwork for North-American retail.

{
  "sku.format": "upca",
  "sku.value": "042100005264"
}

Point-of-sale price tag

A compact UPC-A strip for a checkout-scannable shelf price tag.

{
  "sku.format": "upca",
  "sku.value": "012345678905"
}

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 UPC-A 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": "036000291452",
    "sku.format": "upca"
  }' \
  -o image.png

Other barcode styles

UPC-A Barcode questions

What does the UPC-A style change on the barcode component?

North-American retail barcode (12-digit UPC). 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 UPC-A 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 UPC-A 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.