Converts HTML-encoded text back to readable characters, transforming entities like & to & and < to <. Use via MCP in Cursor or Claude Code, or call GET /v1/encode/html/decode with your encoded text. Essential for processing web scraped content, form data, or XML parsing. Returns clean, human-readable text from HTML entities.
curl "https://tinyfn.io/v1/encode/html/decode" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/html/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/encode/html/decode',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's encoding tools:
{
"mcpServers": {
"tinyfn-encoding": {
"url": "https://tinyfn.io/mcp/encoding",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Decodes all standard HTML entities including &, <, >, ", ', plus numeric entities like € (€) and hexadecimal ones like €.
Connect via MCP in Cursor or Windsurf, then pass your HTML-encoded string. Perfect for cleaning scraped web data or processing form submissions before analysis.
Only decodes valid, complete HTML entities. Malformed entities like &am or incomplete ones are left unchanged in the output.
HTML decode handles entities like & and < from web content, while URL decode handles percent-encoded characters like %20 for spaces in URLs.
Yes, processes entire HTML documents or large text blocks efficiently. Useful for cleaning scraped content or processing XML feeds with embedded HTML.