Converts plain text into Morse code using standard International Morse Code patterns. Access via MCP in Cursor or Windsurf, or call GET /v1/encode/morse/encode with your text. Returns dots, dashes, and spaces — perfect for radio communication simulations or educational tools. Handles letters, numbers, and common punctuation deterministically.
curl "https://tinyfn.io/v1/encode/morse/encode" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/morse/encode', {
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/encode',
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"
}
}
}
}
Supports A-Z letters, 0-9 numbers, and common punctuation like periods, commas, question marks, and apostrophes. Unsupported characters are typically skipped or replaced with spaces.
Letters within a word are separated by single spaces, while words are separated by multiple spaces (typically 7 spaces in standard Morse). Individual Morse elements use dots (.) and dashes (-).
Yes, it's available as an MCP tool in Cursor, Claude Code, GitHub Copilot, Windsurf, Cline, OpenClaw, and Zed. Your AI can encode text to Morse without hallucinating incorrect patterns.
No, Morse code is case-insensitive. Both 'Hello' and 'HELLO' produce identical output since traditional Morse code doesn't distinguish between uppercase and lowercase letters.
Send a GET request to /v1/encode/morse/encode with your text as a query parameter. The response returns the encoded Morse code string with proper spacing and formatting.
Get your free API key and start using Morse Encode in seconds.
Get Free API Key