ROT13 Encoder

Apply ROT13 to any text — the letter-rotation that is its own undo — right in your browser. Great for hiding spoilers in plain sight, but it is not encryption.

Security Tools Free No upload Instant

Loading ROT13 Encoder…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Type text and the tool returns its ROT13 version — every letter shifted 13 places along the alphabet, so A becomes N, B becomes O, and so on. Because 13 is exactly half of 26, applying ROT13 again turns it back: the same operation encodes and decodes. Digits, spaces and punctuation are left untouched. It is perfect for hiding spoilers or answers in plain sight, but it offers no security at all. It runs entirely in your browser.

What the ROT13 Encoder Does

This tool transforms text with ROT13, rotating each letter 13 positions through the alphabet while leaving everything that is not a letter as it is. The result looks scrambled but is trivially readable to anyone who applies ROT13 again.

It is the classic way to hide text that you do not mind being revealed — a film spoiler, a joke's punchline, a quiz answer — so that a reader has to make a deliberate choice to decode it rather than seeing it by accident.

How It Works

ROT13 is a Caesar cipher with a fixed shift of 13. Each letter is moved 13 places forward, wrapping around the end of the alphabet, so A to M map onto N to Z and vice versa. Case is preserved, and any character that is not a letter — a number, space or symbol — passes through unchanged.

The neat property is that 13 plus 13 is 26, a full loop of the alphabet. So encoding and decoding are the same action: run ROT13 on ROT13 text and you are back where you started. That is why the tool needs only one button and no key.

Data source & conversion logic

  1. Scan each character. Walk through the text one character at a time.
  2. Rotate the letters. Shift each letter 13 places along its case's alphabet, wrapping past Z.
  3. Leave the rest alone. Pass numbers, spaces and punctuation through unchanged.
  4. Return the result. Output the ROT13 text — run it again to decode.

ROT13 rotation

for each letter: new = (position − base + 13) mod 26 + base (base is A for capitals, a for lowercase; non-letters unchanged) ROT13 of ROT13 = the original — same operation both ways
Worked example
Hello World → Uryyb Jbeyq → Hello World

A becomes N, M becomes Z, N becomes A. Because 13 is half of 26, encoding and decoding are identical — there is no key and no secret.

Standards & references

  • ROT13 — A special case of the Caesar cipher with a shift of 13. Its self-inverse property made it a Usenet convention for hiding spoilers and offensive jokes, where the goal was to make reading a deliberate act, not to keep a secret.
  • Caesar cipher — A substitution cipher that shifts letters by a fixed amount. ROT13 is the shift-13 version; the Caesar tool lets you pick any shift.
  • Not encryption — ROT13 has no key and is reversed by anyone instantly. It is obfuscation, not encryption — never use it to protect anything that actually needs to stay private.

Accuracy & Limitations

The transformation is exact and standard, so ROT13 here matches ROT13 anywhere, and decoding is guaranteed because the operation is its own inverse.

It only affects the 26 letters of the basic Latin alphabet. Numbers are unchanged (a variant called ROT5 rotates digits, and ROT47 covers more characters, but this tool is plain ROT13), and accented or non-Latin letters pass through untouched.

It provides zero confidentiality. The whole point is that anyone can decode it in a second, so treat ROT13 text as effectively public — it merely stops casual, accidental reading.

Case and formatting are preserved, so the output keeps the shape of the input. That makes it readable as scrambled text but also means word lengths and punctuation still leak the structure of the message.

Real-World Use Cases

Hiding spoilers

Encode a plot twist or ending so readers reveal it on purpose.

Concealing answers

Post a quiz or puzzle answer that is not visible at a glance.

Light obfuscation

Keep a punchline or surprise out of plain sight in a forum post.

Learning ciphers

See a Caesar-style substitution and its self-inverse in action.

When to use it — and when not to

Good for

  • Hiding spoilers and punchlines
  • Concealing quiz or puzzle answers
  • Light, reversible obfuscation
  • Learning how a Caesar cipher works

Not the best choice for

  • Protecting anything private or sensitive
  • Passwords, messages or real secrets
  • Any situation needing actual security
  • Hiding numbers (ROT13 leaves digits as-is)

ROT13 is obfuscation only. For genuine confidentiality, use real encryption with a key. For a different shift, use the Caesar cipher tool; to hide a value casually, ROT13 is fine — just never rely on it for security.

Frequently Asked Questions

How do I decode ROT13?
Apply ROT13 again. Because each letter moves 13 places and 13 plus 13 is a full 26-letter loop, running ROT13 on ROT13 text returns the original. The same button encodes and decodes.
Is ROT13 encryption?
No. It has no key and anyone can reverse it instantly, so it offers no security. It is obfuscation — a way to hide text from casual reading, not to protect a secret.
What does ROT13 do to numbers and symbols?
Nothing — they pass through unchanged. ROT13 rotates only the 26 letters A to Z. A related variant called ROT5 rotates digits, but this tool is plain ROT13.
Why is ROT13 used for spoilers?
Because it makes reading a deliberate choice. On forums and Usenet, people posted spoilers and punchlines in ROT13 so others would not see them by accident but could decode them if they wanted.
Does ROT13 keep capital and lowercase letters?
Yes. Case is preserved — a capital stays capital and lowercase stays lowercase — so the output keeps the shape of the original text.
What is the link between ROT13 and the Caesar cipher?
ROT13 is a Caesar cipher with a shift of exactly 13. The Caesar cipher can use any shift; ROT13 is the special one whose shift makes it its own inverse.
Can ROT13 be broken?
It is not meant to resist anyone. There is nothing to break — applying ROT13 reveals the text. It hides nothing from a determined reader, only from accidental glances.
Will it handle accented or non-English letters?
Those are left unchanged. ROT13 here works on the basic Latin A to Z only, so accented characters and other scripts pass through as they are.
Is my text uploaded anywhere?
No. The transformation runs entirely in your browser. Nothing is sent to a server, though since ROT13 is not secret this matters less than it would for real encryption.
Can I ROT13 text that is already ROT13?
Yes — and that decodes it. Since the operation is its own inverse, encoding ROT13 text simply returns the original plain text.
Does ROT13 change the length of the text?
No. Each letter maps to exactly one other letter, so the output is the same length as the input, with the same spaces and punctuation in the same places.
What is ROT47?
A larger variant that rotates 94 printable ASCII characters, including digits and symbols, by 47 places. It hides more than ROT13 but is still obfuscation, not encryption. This tool is plain ROT13.

References

Rotates each letter 13 places, the same operation in both directions; honest that ROT13 is obfuscation for spoilers and puzzles, with no security whatsoever.

PopularHot

Password Generator

Password Generator computed locally with Web Crypto — your secrets never leave the page.

SecurityOpen Tool
Popular

Password Strength Checker

Use Password Strength Checker for stronger security hygiene — private, instant and free.

SecurityOpen Tool
Popular

Random Number Generator

Random Number Generator computed locally with Web Crypto — your secrets never leave the page.

SecurityOpen Tool
Trending

SHA-256 Hash Generator

SHA-256 Hash Generator computed locally with Web Crypto — your secrets never leave the page.

SecurityOpen Tool
Trending

Passphrase Generator

Passphrase Generator computed locally with Web Crypto — your secrets never leave the page.

SecurityOpen Tool

MD5 Hash Generator

Use MD5 Hash Generator for stronger security hygiene — private, instant and free.

SecurityOpen Tool

Ready to try the ROT13 Encoder?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.