ROT13 and Caesar cipher
Apply ROT13, a Caesar shift of any size, or ROT47 to text. Run it again to decode.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/rot13 \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"Hello, World!"}}'
import json, urllib.request
body = {'input': {'text': 'Hello, World!'}}
request = urllib.request.Request("https://setget.net/v1/tools/rot13", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/rot13", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"Hello, World!"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "rot13",
"input": {
"text": "Hello, World!"
}
}
{
"input": {
"text": "Hello, World!"
}
}
Endpoint: POST /v1/tools/rot13. Over MCP: run_tool with slug: "rot13".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | The text to shift. |
shift |
integer | no | Places to move each letter along the alphabet. 13 is ROT13. Use a negative number to undo a shift. Default: 13. From -1000 to 1000. |
rot47 |
boolean | no | Use ROT47, which also rotates digits and punctuation. The shift is ignored. Default: false. |
Examples
Input
{
"text": "Hello, World!"
}Result
{
"text": "Uryyb, Jbeyq!"
}A Caesar shift of 3
Input
{
"text": "Attack at dawn",
"shift": 3
}Result
{
"text": "Dwwdfn dw gdzq"
}ROT47
Input
{
"text": "Hello, World!",
"rot47": true
}Result
{
"text": "w6==@[ (@C=5P"
}Questions
- Is ROT13 secure?
- No. It is a puzzle and spoiler-hiding trick, not encryption. Anyone can undo it instantly.
- How do I decode?
- ROT13 and ROT47 undo themselves: run the result through again. For another shift, use the same number with a minus sign.
- What happens to accented letters?
- Only the letters A-Z and a-z move. Everything else, including accented letters, is left as it is.
Related tools
- Morse code translatorTranslate text to international Morse code and back, with "/" between words.
morse - Base64 encoder and decoderEncode text to Base64 or decode it back, in the standard or URL-safe alphabet.
base64 - Text to binary converterConvert text to binary, octal or decimal byte values and back again.
binary-text - All hashes at onceCompute every supported hash of one input at once: MD5, SHA-1, SHA-2, SHA3-256 and BLAKE2b.
hash-all - Base32 encoder and decoderEncode text to Base32 (RFC 4648) or decode it back, with or without padding.
base32 - Base58 encoder and decoderEncode text or bytes to Base58 with the Bitcoin alphabet, or decode Base58 back.
base58