Encoding Utilities

Ascii Decode

Converts ASCII numeric codes back into readable text characters. Use via MCP in Cursor or Windsurf, or call GET /v1/encode/ascii/decode directly. Pass comma-separated codes like "72,101,108,108,111" to get "Hello". Essential for data parsing, protocol debugging, and reversing ASCII-encoded transmissions in AI workflows.

API Endpoint

GET /v1/encode/ascii/decode

Code Examples

curl "https://tinyfn.io/v1/encode/ascii/decode" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/ascii/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/ascii/decode',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

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"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I convert ASCII codes to text using this tool?

Send comma-separated ASCII codes like "65,66,67" to get "ABC". The tool accepts standard ASCII values 0-127 and returns the corresponding characters.

Can I decode extended ASCII or Unicode with this decoder?

This tool handles standard ASCII (0-127) only. For Unicode or extended character sets, you'll need a different decoder that supports those ranges.

What happens if I pass invalid ASCII codes?

Invalid codes (negative numbers, values above 127, or non-numeric input) will return an error. Control characters (0-31) decode to their actual values but may not display visibly.

How can AI agents use ASCII decode in MCP workflows?

Perfect for parsing network protocols, debugging data streams, or processing legacy systems that transmit text as ASCII codes. Agents can chain this with other encoding tools for complete data transformation.

What's the input format for multiple ASCII codes?

Use comma-separated values without spaces: "72,101,108,108,111" not "72, 101, 108, 108, 111". Each number represents one ASCII character to decode.

Try Ascii Decode Now

Get your free API key and start using Ascii Decode in seconds.

Get Free API Key