Converts hexadecimal strings back to readable text using deterministic decoding. Access via MCP in Cursor or Windsurf, or call GET /v1/encode/hex/decode directly. Input "48656c6c6f20576f726c64" returns "Hello World". Handles both uppercase and lowercase hex formats, making it essential for debugging encoded data in AI workflows.
curl "https://tinyfn.io/v1/encode/hex/decode" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/hex/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/hex/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"
}
}
}
}
Call the hex decode tool with your hex string as input. Works in Cursor, Windsurf, and other MCP-enabled editors for instant conversion without manual calculation.
Standard hexadecimal format — pairs of characters 0-9 and A-F (case insensitive). No 0x prefix needed, spaces optional between pairs.
Invalid characters or odd-length strings will return an error. Each pair must be valid hex digits to decode properly to ASCII/UTF-8 text.
Hex uses 16 characters (0-F) with 2 chars per byte, while base64 uses 64 characters with ~1.33 chars per byte. Choose based on your encoded format.
Yes, it decodes any valid UTF-8 byte sequence. Multi-byte characters like emoji will decode correctly if the hex represents valid UTF-8 encoding.