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_entitiesFull reference: developer docs · OpenAPI spec
About this tool
Encoding escapes the five characters that can break HTML (&, <, >,", '). Decoding handles named entities (©) and numeric ones (©, ©) using the browser's native HTML parser.
You might also like
- URL Encoder / DecoderPercent-encode and decode URL components safely.
- Base64 Encoder / DecoderEncode or decode Base64 strings instantly.
- Escape / UnescapeEscape or unescape strings for JSON, JavaScript, HTML attribute, XML, and SQL contexts.
- HTML & CSS Formatter / MinifierBeautify or minify HTML and CSS — pretty-print messy markup, or shrink it for production.