Escape / Unescape
Escape or unescape strings for JSON, JavaScript, HTML attribute, XML, and SQL contexts.
Escape for use inside a "JSON string"
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/escape-unescape/run \
-H "Content-Type: application/json" \
-d '{
"mode": "escape",
"flavor": "json",
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/escape-unescape/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mode": "escape",
"flavor": "json",
"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_escape_unescapeFull reference: developer docs · OpenAPI spec
You might also like
- Python String Escape / UnescapeEscape arbitrary text to a Python string literal — \x, \u, \U, octal — or decode one back to raw text.
- SQL Escape / UnescapeSafely quote string literals for ANSI, MySQL, or PostgreSQL — and reverse it.
- AES Encrypt / DecryptEncrypt or decrypt text with AES-GCM, deriving a key from a passphrase via PBKDF2 — all in your browser.
- Base64 Encoder / DecoderEncode or decode Base64 strings instantly.