URL Encoder / Decoder
Percent-encode and decode URL components safely.
Output
🔒 Encoding 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/url-encoder/run \
-H "Content-Type: application/json" \
-d '{
"mode": "encode",
"scope": "component",
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/url-encoder/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mode": "encode",
"scope": "component",
"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_url_encoderFull reference: developer docs · OpenAPI spec
Component vs. full URI
encodeURIComponent escapes characters that would have special meaning inside a URL component (like ?, &, =, /) — use it when you're building a query value.
encodeURIescapes only the characters that can't appear in a URL at all, leaving structural characters intact — use it when escaping a whole URL.
You might also like
- HTML Entity Encoder / DecoderEncode HTML special characters or decode named and numeric entities back to text.
- Base64 Encoder / DecoderEncode or decode Base64 strings instantly.
- URL ParserBreak a URL into protocol, host, path, query parameters, and fragment.
- JWT DecoderDecode and inspect a JSON Web Token's header, payload, and expiry.