🔄

ROT13 Encoder / Decoder

Encode or decode text with the ROT13 cipher. ROT13 is its own inverse - applying it twice returns the original text. Conversion happens live as you type.

How it works: ROT13 rotates each letter by 13 positions in the alphabet. A→N, B→O, … Z→M. Non-letter characters (numbers, punctuation, spaces) are unchanged. Encoding and decoding are identical operations.
Input: 0 chars Output: 0 chars

About ROT13 Encoder / Decoder

ROT13 (Rotate by 13) is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the Latin alphabet. Because there are 26 letters, applying ROT13 twice returns the original text - making encode and decode the same operation.

Common Uses

ROT13 is commonly used to obscure spoilers in forums, hide puzzle answers, and obfuscate offensive content in Usenet posts. It is not a security cipher - it provides no real protection and is trivially reversible.

Frequently Asked Questions

No. ROT13 provides no cryptographic security whatsoever. It is a simple obfuscation technique, not encryption. Anyone who sees ROT13-encoded text can decode it in seconds. For real encryption, use AES-256.
Because the alphabet has 26 letters, shifting by 13 positions twice returns to the start. ROT13(ROT13(x)) = x for all letters. This is a unique property of ROT13 among all ROT-n ciphers.
No. Only ASCII letters (A–Z and a–z) are rotated. Digits, spaces, punctuation, and all non-ASCII characters pass through unchanged.
Yes, case is preserved. Uppercase letters map to uppercase letters and lowercase to lowercase. 'A' becomes 'N', 'a' becomes 'n', 'Z' becomes 'M', etc.

About ROT13 Encoder Decoder Online

ROT13 encoder decoder online is a free, instant tool for applying the ROT13 substitution cipher to any text. ROT13 rotates each letter 13 positions forward in the 26-letter Latin alphabet, turning A into N, B into O, and so on. Because 13 + 13 = 26, encoding and decoding are the same single operation — paste encoded text to decode it, or paste plain text to encode it. Writers, puzzle makers, forum moderators, and developers who need lightweight text obfuscation use this tool regularly.

Common real-world applications include hiding spoilers on Reddit and Usenet so readers must actively choose to reveal them, obfuscating puzzle answers in escape rooms and crossword communities, masking mildly offensive jokes in moderated forums, and quick sanity-checking of ROT13 implementations during software development. Because ROT13 provides no real cryptographic protection, it is always used for readability control rather than security.

How to Use the ROT13 Encoder Decoder

  1. Type or paste your text into the Input Text area on the left — the ROT13 output updates live in the right panel as you type.
  2. Read the transformed text in the ROT13 Output panel. The character counts for both sides are shown below the panels.
  3. To decode ROT13 text back to plain text, click Swap — this moves the output into the input field and re-encodes it (which is equivalent to decoding, since ROT13 is its own inverse).
  4. Click Copy Output to copy the result to your clipboard for use elsewhere.
  5. Click Clear to reset both fields and start fresh.

ROT13 Cipher Details

ROT13 is a specific case of the Caesar cipher, which shifts letters by a fixed number of positions. ROT13's special property — being its own inverse — is unique among all 25 possible single-alphabet shifts.

  • Letters only: Only ASCII letters A–Z and a–z are rotated. Digits, spaces, punctuation, and any non-ASCII characters pass through completely unchanged.
  • Case preserved: Uppercase letters map to uppercase and lowercase to lowercase. 'A' → 'N', 'a' → 'n', 'Z' → 'M', 'z' → 'm'.
  • Self-inverse: Applying ROT13 twice to any string always returns the original. ROT13(ROT13("Hello")) = "Hello" for every possible input.

Tips for Getting the Best Results

ROT13 is simple, but a few practical details help avoid confusion when using it in the real world.

  • Paste entire paragraphs at once: ROT13 is purely letter-by-letter, so pasting a large block of text is just as accurate as encoding one word. Processing large amounts of text at once is faster and less error-prone than doing it section by section.
  • Use Swap to verify round-trip correctness: After encoding, click Swap to decode and confirm the output matches your original. If it does, your encoding is correct. This is especially useful when testing ROT13 in code.
  • Remember ROT13 does not protect passwords or secrets: Anyone who recognises ROT13 can decode it in seconds without any tool. For actual security, use a proper encryption algorithm such as AES-256. Use ROT13 only for its intended purpose: casual obfuscation.
  • Format matters for spoilers: Many forum platforms have a built-in spoiler tag. If your platform supports native spoiler formatting, prefer that over ROT13. Use ROT13 for platforms that only support plain text, where it remains a well-understood convention.
  • Non-Latin scripts are not affected: If your text contains Cyrillic, Arabic, Chinese, or other scripts, those characters will pass through untouched. Only the 26 standard Latin letters are rotated.

Why Use ROT13 Encoder Decoder Online

Running ROT13 in a browser tool means no software installation, no file upload, and no account registration. The conversion runs entirely in JavaScript on your device — no text is ever sent to any server. This makes it safe for encoding content you might prefer to keep local, such as internal puzzle answers or forum drafts. The live conversion as you type removes the friction of clicking a button and waiting for a result.

Developers testing ROT13 implementations, puzzle designers preparing printed material, and moderators drafting content policies all benefit from an always-available, zero-install ROT13 tool they can reach from any browser tab.

Frequently Asked Questions about ROT13 Encoder Decoder

No. ROT13 provides zero cryptographic security — it is trivially reversible by anyone who recognises the pattern, and numerous online tools decode it instantly. It is a social convention for casual obfuscation of spoilers, puzzle answers, and mildly offensive content, not a method for protecting sensitive information. For real security, use a proper encryption standard such as AES-256 or TLS.
Because the Latin alphabet contains 26 letters, shifting by 13 positions twice returns every letter to its original position — 13 + 13 = 26. This makes ROT13 its own mathematical inverse. No other ROT-n cipher (ROT1 through ROT25) shares this property, which is why ROT13 specifically became a cultural standard rather than, say, ROT7 or ROT11.
No. ROT13 only rotates the 52 ASCII letters (A–Z and a–z). Digits 0–9, spaces, punctuation marks, and all non-ASCII characters — including accented letters, emoji, and non-Latin scripts — pass through completely unchanged. If you need to obfuscate numbers as well, you would need ROT5 for digits (a separate convention) applied on top of ROT13 for letters, sometimes called ROT18.
ROT13 originated on Usenet in the 1980s as a way to hide spoilers, punchlines of offensive jokes, and puzzle answers so readers must consciously choose to decode them. It remains common on Reddit (r/riddles, r/findit), crossword forums, and escape room communities. Developers also use it when writing examples of Caesar ciphers or testing text-processing pipelines that should handle arbitrary byte values.
No. The ROT13 transformation runs entirely in your browser using JavaScript. Your input text is never transmitted to any server, stored in any database, or logged in any way. Once you close the tab, the text is gone. This makes the tool safe to use even with content you prefer to keep private, such as internal puzzle scripts or draft forum posts.
Yes. The tool is fully responsive and works in all modern mobile browsers including Chrome for Android and Safari for iOS. The live conversion updates as you type on a mobile keyboard just as it does on desktop. The two-panel layout stacks vertically on small screens so both the input and output remain visible and accessible without horizontal scrolling.
There is no enforced character limit. The tool processes text entirely in the browser, so performance is limited only by your device. In practice it handles tens of thousands of characters instantly. If you are processing a very large document, pasting the full text at once is faster than feeding it section by section, since the conversion cost is linear in the number of characters.
ROT13 was once used as a basic email obfuscation technique — displaying a ROT13-encoded address that a human could decode while hoping bots would not. Modern spam bots are sophisticated enough to handle ROT13, so this approach is no longer reliable for protecting email addresses. Prefer CSS obfuscation, contact forms, or image-based email display if spam protection is your goal.