FM Barcode

Code 39 barcode API

Long-established 1D barcode for capital letters and digits, common on ID badges, parts and government forms.

Code 39 barcode for ABC123

What Code 39 is for

Code 39 is one of the oldest alphanumeric barcodes and is still everywhere: name badges, automotive and defence parts, library cards and internal forms. It is wider than Code 128 for the same text, but nearly every scanner made supports it.

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/code39?text=ABC123&label=true" \
  -H "Authorization: Bearer bc_live_your_key" -o code39.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/code39?label=true&text=" & GetAsURLEncoded ( Items::Code ) ;
  cURL options: "--header \"Authorization: Bearer " & $$BARCODE_KEY & "\"" ]

What it accepts

Capital letters, digits, space and the symbols - . $ / + %. The start and stop asterisks are added for you. Example: ABC123

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 Code 39 with a free key

200 barcodes free every month. No card needed.