ROT13 Encoder

Apply ROT13 to any text. The letter rotation is its own undo, so the same step hides and reveals. Use it for spoilers in plain sight; 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 works well for hiding spoilers or answers in plain sight, but it offers no security at all. Your browser does all the work.

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.

People use it to hide text they don't mind being revealed, such as a film spoiler, a joke's punchline or a quiz answer. The reader has to choose to decode it and can't see 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 needs to stay private.

Accuracy and limits

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. Anyone can decode it in a second, so treat ROT13 text as public. It only 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.

Where people use it

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 it fits, and when it doesn't

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. If something must stay confidential, use real encryption with a key. For a different shift, use the Caesar cipher tool. ROT13 is fine for hiding a value casually, as long as you 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, because 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. Your browser does the transformation and sends nothing 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. ROT13 is obfuscation for spoilers and puzzles and gives no security at all.

PopularHot

Password Generator

A random password at the length and character mix you set.

SecurityOpen
Popular

Password Strength Checker

An entropy estimate in bits, with tips to make it stronger.

SecurityOpen
Popular

Random Number Generator

Whole numbers in any range from a cryptographic source.

SecurityOpen
Trending

SHA-256 Hash Generator

The SHA-256 hash of any text, computed in your browser.

SecurityOpen
Trending

Passphrase Generator

Random words joined into a passphrase you can remember.

SecurityOpen

MD5 Hash Generator

The MD5 checksum of any text.

SecurityOpen

Back to the ROT13 Encoder

Your browser generates and checks everything locally, so nothing secret is sent. No account needed.