Rotation Encryption
Enter text and choose a rotation. The result is computed in your browser as you type — nothing is sent to a server.
Rotational ciphers
Rotation ciphers have a long history. The best-known example is the Caesar cipher (also Caesar's code or Caesar's shift): a substitution cipher that encodes a message by replacing each letter with one a fixed number of positions further along the alphabet.
Applying ROT13 twice shifts by 26, which returns the original text — the same as no encryption at all. This is sometimes jokingly called 2ROT13 or ROT26.
Decrypting a rotationally encrypted message needs no key; it only needs the knowledge that a rotation was used. To reverse ROTn, apply ROT(26−n). ROT13 is its own inverse.
Interesting words in ROT13
| Original | ROT13 |
|---|---|
| ant | nag |
| balk | onyx |
| bar | one |
| barf | ones |
| be | or |
| envy | rail |
| flap | sync |
| fur | she |
| gel | try |
| gnat | tang |
| irk | vex |