Text Tools

ROT13 & Caesar Cipher

Encode and decode text using ROT13 or any Caesar cipher shift (1–25). Works on letters only, preserves case.

Runs in your browser

Input
Output
Characters:
Letters shifted:
Shift:

Alphabet Mapping (shift = )

A–M
N–Z

What is the ROT13 Cipher?

ROT13 ("rotate by 13 places") is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Because the English alphabet has 26 letters, applying ROT13 twice returns the original text, making encoding and decoding the same operation. It is commonly used in online forums and puzzle communities to hide spoilers or punchlines without true encryption.

How to use the ROT13 Cipher

  1. Type or paste the text you want to encode or decode into the input field.
  2. The output updates in real time ROT13 is applied immediately as you type.
  3. Because ROT13 is its own inverse, the same operation encodes and decodes. Paste encoded ROT13 text into the input to reveal the original.
  4. Numbers, punctuation, and spaces are passed through unchanged.
  5. Click Copy to copy the result to your clipboard.

When to use the ROT13 Cipher

Use the ROT13 / Caesar Cipher when you need Simple cipher without extra setup.

  • cleaning pasted text from documents, emails, or spreadsheets
  • checking a draft before publishing
  • transforming names, lists, citations, or notes into a usable format

ROT13 Cipher examples

Example input: Apply ROT13 to “Hello World”.

Example result: The result is “Uryyb Jbeyq”.

Formula, method, or logic

The ROT13 / Caesar Cipher treats your input as plain text and applies a predictable transformation or analysis. Depending on the task, it may count tokens, change casing, remove characters, compare lines, detect duplicates, or generate a formatted output.

Text tools are deterministic, but language is nuanced, so review output for names, abbreviations, punctuation, and context-specific wording.

Common mistakes to avoid

  • publishing transformed text without proofreading
  • removing useful punctuation or line breaks
  • changing names, acronyms, or citations unintentionally
  • using one text metric as a complete quality judgment

Privacy, accuracy, and limits

The ROT13 / Caesar Cipher is designed for quick practical use. Inputs are handled according to the tool type; browser-based tools keep work local, while live lookup tools may need server-side checks.

Frequently asked questions

No. ROT13 provides zero security it is trivially reversible and was never intended as encryption. It is only useful for obscuring text from casual view, such as hiding spoilers.
No. ROT13 preserves case: uppercase letters rotate within A–Z, and lowercase letters rotate within a–z. The output case matches the input case.
ROT47 is a variant of ROT13 that also rotates digits and punctuation characters, operating on the 94 printable ASCII characters (codes 33–126). It is useful when you also want to obfuscate numbers and symbols.

Display preferences

Font size