- Translator
- ROT13 translator
ROT13 translator
Apply ROT13 to encode or decode text with the same 13-letter shift. Apply it a second time to recover your original; letter case, numbers, punctuation, and spacing are preserved.
Encode or decode ROT13
Your text stays in your browser; this tool sends no text over the network.
Enable JavaScript to use the tool. The alphabet table and worked example below also work without it.
Fixed shift 13. The same operation encodes and decodes.
Up to 10,000 input characters (UTF-16 units; some emoji count as two). Only A–Z and a–z shift. Case, digits, punctuation, letters outside A–Z/a–z, and spacing stay unchanged. An ASCII letter followed by a combining accent still shifts. Use this tool for letter puzzles. It cannot protect private information or translate between languages.
Result
How do I decode ROT13?
Paste the coded text into the input and press Apply ROT13. To encode an ordinary message, enter that instead and press the same button. There is no key to choose: this page always shifts letters by 13 places. The encoding and decoding operations use the same substitution, as in Python’s reference implementation (CPython, ROT13 codec).
Try Uryyb, jbeyq!. The result is Hello, world!. Use Copy result to take the decoded text elsewhere. To check the conversion, press Use result as input to apply ROT13 again. You should recover the text you first entered, including its spaces and punctuation.
Start with a complete line copied from your source. If you are typing from a picture, compare the letters before converting. This tool works with pasted or typed text; it does not read a photograph, a QR code, a sound recording, or a file.
Why is ROT13 its own inverse?
ROT13 swaps the first 13 letters of the A–Z alphabet with the last 13. A becomes N, while N becomes A; M becomes Z, while Z becomes M. UCF’s programming exercise defines exactly this exchange (UCF, Rot13 Encryption).
Two shifts of 13 add up to 26, so the second pass takes each letter once around the alphabet and back to its starting position. That is what “its own inverse” means: applying the operation again undoes it. You do not need a separate backward setting. The shared encode and decode map in (CPython’s implementation) demonstrates the same property.
Follow the example one step at a time: HELLO → URYYB → HELLO. Keep the middle word if you want to share a hidden hint. Keep the final word if you are checking that you can recover the original. Repeated application alternates between those two readings.
What is the ROT13 alphabet?
The full table below gives the fixed ROT13 letter mapping. Read across either way: each pair works in both directions. It follows the uppercase mapping in (CPython’s ROT13 codec), cross-checked against UCF’s first-half/last-half rule (UCF, PDF page 12). The same pairings apply to lowercase letters.
| Plain letter | Encoded letter |
|---|---|
| A | N |
| B | O |
| C | P |
| D | Q |
| E | R |
| F | S |
| G | T |
| H | U |
| I | V |
| J | W |
| K | X |
| L | Y |
| M | Z |
| N | A |
| O | B |
| P | C |
| Q | D |
| R | E |
| S | F |
| T | G |
| U | H |
| V | I |
| W | J |
| X | K |
| Y | L |
| Z | M |
To decode a short word by hand, find its first letter in the plain-letter column and write its partner. Repeat for each letter and retain the original spaces. Then apply the lookup to your result to check the return trip. You can use this table without enabling the interactive tool.
Can a ROT13 translator translate to English?
A ROT13 translator can reveal an English message that was encoded with ROT13. It does not translate a different language into English. The operation substitutes letters; it does not look up words, infer meanings, or change the language.
For example, Bcra gur qbbe becomes Open the door because those were the original words. A coded name will return a name, even if you do not recognize it. Judge the reading against the source or puzzle clue rather than expecting every successful conversion to form an English sentence.
Does ROT13 change numbers and punctuation?
This tool rotates only A–Z and a–z, keeping uppercase and lowercase separate. Characters outside A–Z and a–z, including digits, punctuation, spaces, line breaks, emoji, and letters from other scripts, stay as entered. UCF specifies that only letters are encoded and that punctuation, spacing, and capitalization are retained (UCF, Rot13 Encryption).
Compare Room 42! with Ebbz 42!. The word changes, but the number and exclamation mark remain visible. A precomposed é also stays unchanged here. With an ASCII e followed by a combining accent, the e becomes r and the accent stays, following the character mapping in (CPython’s ROT13 codec). If you want to use an unaccented spelling, enter that spelling yourself; the converter does not choose it for you.
Keep line breaks when they help you compare a multi-line clue. After copying the result into another app, check that the destination retained the layout you need. This converter does not add word spaces or restore text that was missing from the input.
Why is my ROT13 result still unreadable?
First compare your input with the original. A mistyped character remains a different character after conversion. Next, check whether you applied ROT13 to text that was already decoded: another pass will hide that text again. Use the short HELLO example above to check that you understand which box holds which version.
If the letters are accurate and the result still makes no sense, ROT13 may be the wrong transformation. This tool applies one fixed mapping; it does not identify an unknown cipher, test other shifts, or check whether a word is real. An unreadable output alone cannot tell you which alternative to try.
When a clue suggests a different alphabet rotation, the Caesar cipher translator can try all 25 nonzero shifts. Its English-frequency ranking offers candidates for you to inspect.
For a layered clue, work backward through the steps you were given. Record each intermediate result so that you can return to it if the next step fails. Avoid repeatedly transforming the same text without keeping track of the operation.
How do I use ROT13 for a spoiler or hint?
Encode the answer, copy the result, and label it “ROT13” so your reader knows how to reveal it. Include any instructions outside the encoded text. A reader who wants the answer can paste it here and apply the same operation.
This use has a documented precedent: the 1995 Netiquette Guidelines discuss rotating NetNews posts and list rotation as an option for concealing spoilers about books or movies (RFC 1855, section 3.1.3). For your own puzzle, test the shared version before handing it to someone. The useful check is whether their copied text returns exactly the answer you intended.
Can I send ROT13 in Morse code?
Yes. Apply ROT13 to a word, then send the resulting letters in Morse. For this example, HELLO becomes URYYB. The player below sends the latter word. Morse represents letters using short and long signals with timed gaps (ITU, Annex 1, sections 1–2).
- U
- R
- Y
- Y
- B
To reverse this example, decode the Morse first, then paste those letters into the ROT13 tool. Check a character in the Morse code alphabet or use the Morse code translator for another word. If you want to recognize the signals by sound, use the guide to learning Morse code by ear.
Is ROT13 secure encryption?
No. Anyone can reverse the public mapping without a password. ROT13 fixes the key at 13; even a shift cipher with an unknown key has too few possible keys to resist trying them all (Ca’ Foscari, shift cipher). Use this ROT13 cipher translator for an optional reveal or a letter puzzle, not to protect private information.
Is Morse code a cipher? explains the related distinction when you combine a letter substitution with a signaling system.
Sources
- CPython ROT13 character-mapping codec: encoding, decoding, and alphabet map. Python Software Foundation, Python 3.14; checked 11 November 2026.
- Rot13 Encryption, programming contest problem set, PDF page 12. University of Central Florida Programming Team, 1993; checked 11 November 2026.
- RFC 1855, Netiquette Guidelines, section 3.1.3: NetNews Guidelines. Sally Hambridge, RFC Editor, October 1995; checked 11 November 2026.
- Monoalphabetic ciphers: Caesar cipher and shift cipher. Ca’ Foscari University of Venice, Security Group, checked 11 November 2026.
- Recommendation ITU-R M.1677-1, International Morse code. ITU Radiocommunication Sector, October 2009.