ROT13 and ROT47 Cipher
ROT13 and ROT47 Text Cipher Tool
Apply the ROT13 or ROT47 cipher to your text. Both ciphers are their own inverse, so the same action both encodes and decodes.
About ROT13 and ROT47
ROT13 ("rotate by 13 places") is a simple letter-substitution cipher that replaces each letter with the one 13 positions later in the alphabet. Because the basic Latin alphabet has 26 letters, applying ROT13 twice returns the original text, which makes encoding and decoding the exact same operation. ROT13 only affects the letters A-Z and a-z; digits, spaces, and punctuation are left unchanged.
ROT47 is a related cipher that rotates the 94 printable ASCII characters (codes 33 to 126) by 47 places. Because it covers digits and punctuation as well as letters, ROT47 scrambles text more thoroughly than ROT13 while remaining its own inverse. Neither cipher provides real security; they are used to lightly obscure text such as spoilers, puzzle answers, or offensive jokes so they are not read accidentally.