Encoding Utilities

Rot13

ROT13 cipher shifts each letter 13 positions in the alphabet, making encoding and decoding identical operations. Access via MCP in Cursor or Windsurf, or call GET /v1/encode/rot13 directly. Pass "Hello World" and get "Uryyb Jbeyq" — apply ROT13 again to decode back. Numbers and symbols remain unchanged, only A-Z letters rotate.

API Endpoint

GET /v1/encode/rot13

Code Examples

curl "https://tinyfn.io/v1/encode/rot13" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/encode/rot13', {
  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/rot13',
    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 does ROT13 encoding work?

ROT13 shifts each letter 13 positions forward in the alphabet (A→N, B→O, etc.). Since there are 26 letters, applying ROT13 twice returns the original text.

Can I use ROT13 for actual encryption?

No, ROT13 is trivially reversible and provides no security. It's used for spoiler text, puzzle solutions, or basic obfuscation where you want easily reversible transformation.

What characters does ROT13 transform?

Only A-Z and a-z letters are transformed. Numbers, punctuation, spaces, and special characters remain unchanged. Case is preserved (A→N, a→n).

How do I decode ROT13 text using MCP tools?

Apply ROT13 again to the encoded text. Since it's a 13-position shift in a 26-letter alphabet, encoding and decoding are the same operation.

Does ROT13 work with non-English characters?

No, ROT13 only works with ASCII A-Z letters. Accented characters, emojis, and non-Latin scripts pass through unchanged.

Try Rot13 Now

Get your free API key and start using Rot13 in seconds.

Get Free API Key