ROT Cipher Encoder
Encode text with ROT13, ROT47, ROT5 or ROT18, the rotation ciphers that move each letter, digit or symbol a fixed number of places, as you type.
Input
Output
Guide
What are ROT ciphers?
ROT, short for rotate, is a family of simple ciphers that move every character a fixed number of places around its own set of characters. Each one moves exactly half way around its set, so rotating twice brings the text back:
- ROT13 moves the letters A to Z by 13 places.
- ROT5 moves the digits 0 to 9 by 5 places.
- ROT18 does both: letters by 13 places and digits by 5.
- ROT47 moves every visible ASCII character from
!to~, letters, digits and punctuation alike, by 47 places.
ROT13 became popular on Usenet newsgroups in the 1980s, to keep spoilers, punchlines and puzzle answers from being read by accident. It isn't encryption: anyone can undo it.
Tool description
Type or paste text into the Plain text box and pick the Rotation variant, which starts on ROT13. The rotated text appears in the Cipher text box as you type, ready to copy. Each variant changes only its own characters: ROT13 and ROT18 keep the case of letters, and no variant changes spaces, line breaks or characters outside ASCII, such as é or emoji. To read ROT text, press the swap button between the boxes, which also moves the result into the input, or use the ROT Cipher Decoder.
Examples
Garden party at 4:30 in each variant:
| Rotation variant | Cipher text |
|---|---|
| ROT13 | Tneqra cnegl ng 4:30 |
| ROT5 | Garden party at 9:85 |
| ROT18 | Tneqra cnegl ng 9:85 |
| ROT47 | v2C56? A2CEJ 2E cib_ |
Good to know
- ROT13 leaves numbers readable. To hide a time or a number too, pick ROT18 or ROT47.
- ROT13 is the Caesar cipher with a shift of 13. For other shifts, use the Caesar Cipher Encoder.
- ROT47 hides digits and punctuation too, but it leaves the spaces, so the word lengths still show.