FM Barcode

Interleaved 2 of 5 barcode API

Dense digits-only barcode used on cartons and in warehouses, the basis of ITF-14.

Interleaved 2 of 5 barcode for 1234567890

What Interleaved 2 of 5 is for

Interleaved 2 of 5 encodes digits in pairs, one in the bars and one in the spaces, which makes it compact. It is printed straight onto corrugated cartons (as ITF-14) and used widely in warehousing and distribution.

Make one from a URL

Send the text and get the image back. Your API key goes in a header.

curl
curl "https://barcode.fmdeploy.com/v2/barcode/interleaved2of5?text=1234567890&label=true" \
  -H "Authorization: Bearer bc_live_your_key" -o interleaved2of5.png

Add &output=svg for a vector image that stays sharp at any print size.

From FileMaker

Insert from URL
Insert from URL [ Select ; With dialog: Off ; Target: Items::Barcode ;
  "https://barcode.fmdeploy.com/v2/barcode/interleaved2of5?label=true&text=" & GetAsURLEncoded ( Items::Code ) ;
  cURL options: "--header \"Authorization: Bearer " & $$BARCODE_KEY & "\"" ]

What it accepts

Digits only. An odd number of digits is given a leading zero, because digits are encoded in pairs. Example: 1234567890

If the text can’t be encoded, the API answers with a clear message instead of a broken image.

Options

Set the bar width with scale, the bar height with thickness, and turn the text under the bars on with label. You can also choose the label font and size, rotate the image in quarter turns, set the DPI stored in a PNG, or ask for SVG. The documentation lists every parameter and its default.

Related formats

Try Interleaved 2 of 5 with a free key

200 barcodes free every month. No card needed.