Skip to content
BEAD

HTML Entity Encoder / Decoder

Encode HTML special characters or decode named and numeric entities back to text.

Output

🔒 Runs entirely in your browser.

</>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/html-entities/run \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "encode",
  "input": "your input here",
  "includeNonAscii": false
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/html-entities/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "mode": "encode",
  "input": "your input here",
  "includeNonAscii": false
}),
});
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_html_entities

Full reference: developer docs · OpenAPI spec

About this tool

Encoding escapes the five characters that can break HTML (&, <, >,", '). Decoding handles named entities (&copy;) and numeric ones (&#169;, &#xA9;) using the browser's native HTML parser.

You might also like