Barcode Generator

Generators REST API MCP

Generate a 1D barcode as an SVG string from text. Supports CODE128 (any printable ASCII) and CODE39 (A-Z, 0-9, space, -.$/+%); EAN13, EAN8 and UPC inputs are digit-validated and drawn with the CODE128 symbology, exactly like the web page. Returns the SVG, the bar/space bit pattern, and the image size.

This page documents the HTTP endpoint POST /api/tools/barcode-generator/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/barcode-generator/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/barcode-generator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "ABC-123",
    "type": "CODE128"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/barcode-generator

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
text string yes Text to encode (1-80 characters).
type string (CODE128 | CODE39 | EAN13 | EAN8 | UPC) no Barcode type. Default "CODE128". Default: "CODE128".
bar_width integer no Width of one module in pixels (1-10). Default 2. Default: 2.
height integer no Bar height in pixels (20-500). Default 100. Default: 100.
show_text boolean no Print the text under the bars. Default true. Default: true.

Example arguments (verified)

{
  "text": "ABC-123",
  "type": "CODE128"
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:barcode_generator after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Barcode Generator →

More Generators tools