Skip to content
BEAD

UTF-8 BOM Stripper / Adder

Detect, strip, or add the UTF-8 byte-order mark (EF BB BF) to text files.

BOM is present— first bytes: EF BB BF
Without BOM
id,name,email
1,Alice,alice@example.com
2,Bob,bob@example.com
With BOM
id,name,email
1,Alice,alice@example.com
2,Bob,bob@example.com
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/bom-tool/run \
  -H "Content-Type: application/json" \
  -d '{
  "action": "detect",
  "input": "your input here"
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/bom-tool/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "action": "detect",
  "input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_bom_tool

Full reference: developer docs · OpenAPI spec

What's a BOM?

A Byte Order Mark — the three-byte sequence EF BB BF at the start of a UTF-8 file. Windows tools often add it; almost everything else either ignores or chokes on it. Showing up as a stray at the start of your file? That's a BOM rendered as latin-1.

You might also like