Encoding Utilities

Morse Decode

Converts Morse code sequences back to readable text using standard International Morse Code mappings. Access via MCP in Cursor or Claude Code, or REST at GET /v1/encode/morse/decode. Pass "... --- ..." and get "SOS" back. Handles letters, numbers, and common punctuation with proper space separation between characters.

API Endpoint

GET /v1/encode/morse/decode

Code Examples

curl "https://tinyfn.io/v1/encode/morse/decode" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/morse/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/morse/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 decode Morse code using MCP in my AI editor?

Use the morse_decode tool in Cursor, Claude Code, or other MCP-enabled editors. Pass your dot-dash sequence as input and get the decoded text back instantly.

What Morse code characters are supported for decoding?

Supports all standard International Morse Code characters: A-Z letters, 0-9 numbers, and common punctuation like period, comma, question mark, and exclamation point.

How should Morse code be formatted for proper decoding?

Separate individual characters with spaces (e.g., '.- -... -.-.' for 'ABC'). Use forward slashes or multiple spaces to separate words if needed.

Can this decode non-standard or custom Morse sequences?

No, it only decodes standard International Morse Code mappings. Invalid sequences will return an error or partial results.

What's the difference between morse encode and decode endpoints?

Encode converts text to Morse code dots and dashes, while decode converts Morse sequences back to readable text. Both use the same character set.

Try Morse Decode Now

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

Get Free API Key