URL decode transforms percent-encoded strings back to readable text. Call via MCP in Cursor or Windsurf, or REST at GET /v1/slug/url-decode. Input "Hello%20World%21" returns "Hello World!" — essential for processing URLs, form data, and query parameters in AI workflows.
curl "https://tinyfn.io/v1/slug/url-decode" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/slug/url-decode', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/slug/url-decode',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's url/slug tools:
{
"mcpServers": {
"tinyfn-slug": {
"url": "https://tinyfn.io/mcp/slug",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Use the url-decode tool in your MCP-enabled editor like Cursor or Claude Code. Pass the encoded string as input and get the decoded result instantly.
Decodes all percent-encoded characters (%20 for space, %21 for !, %3A for :, etc.) and handles UTF-8 sequences properly. Also converts + symbols back to spaces in form data.
You can decode any URL-encoded string — complete URLs, query parameters, form data, or individual components. The tool processes the entire input string.
Already decoded text passes through unchanged. The tool safely handles mixed content where some parts are encoded and others aren't.
URL decode handles percent-encoding (%20, %3A) used in URLs and forms, while HTML decode handles entities (&, <) used in HTML content. Different encoding schemes entirely.