Simple letter-shift encryption and decryption
The Caesar cipher is one of the oldest substitution ciphers: every English letter is moved a fixed number of places along the alphabet, and anyone who knows the shift can move the letters back to recover the original. This tool does exactly that and nothing more. You type some text, drag a slider to pick the shift, and the page shows two lines at once, 'Encrypted (shift forward)' and 'Decrypted (shift backward)'. A collapsible panel also lists the backward result for every shift from 1 to 25, so you can find the plaintext by eye when you don't know the shift. It is a learning aid and a puzzle-making toy, not a way to keep anything secret, and the reasons are explained below.
With the default input 'Hello World' and a shift of 3, the encrypted line is 'Khoor Zruog'. Moving 'Khoor Zruog' backward by 3 gives 'Hello World' again. A second example with punctuation and digits: 'Attack at Dawn! 2024' with a shift of 13 becomes 'Nggnpx ng Qnja! 2024'. The exclamation mark, spaces and the digits 2024 are untouched, and upper and lower case are preserved. As a side note, a shift of 13 applied twice returns the original, because 13 plus 13 is 26. These outputs were produced by running the same shifting logic the tool uses.
No. There are only 25 possible shifts, so even trying them by hand cracks it quickly, and a computer lists them all instantly. It also keeps the letter-frequency pattern of the original language intact. Do not use it for passwords, personal data or anything that genuinely needs protection. For real confidentiality, use a modern, well-reviewed encryption tool.
The Caesar cipher is defined as rotating through a 26-letter alphabet. Chinese characters have no such fixed order, so the tool only affects English letters and leaves everything else as it is. That is what 'only affects English letters' in the input label means. This tool does not provide a Chinese variant.
To encrypt plaintext, read 'Encrypted (shift forward)'. If you received ciphertext and know the shift, paste it in and read 'Decrypted (shift backward)'. Both use the same shift in opposite directions, so running a forward result through a backward shift of the same size gets you back to the original.
A shift of 0 changes nothing, and a shift of 26 goes all the way around the alphabet and also changes nothing, so only the shifts 1 to 25 are actually different. Listing all 25 is guaranteed to include the right answer, which is exactly why the cipher is so easy to break.
Yes. Write your clue, pick a shift, encrypt it and hand over the ciphertext. Players who know the shift can decrypt directly, and those who don't can still use a brute-force list. If you want the puzzle to require thinking rather than trial and error, give a hint about the shift, such as 'the shift is the month of my birthday'.
All shifting is done in your browser by a few lines of JavaScript as you type. The tool makes no network requests, so your text is not sent to a server, and it is not stored; reloading the page resets it to the default 'Hello World'. Still, please don't treat it as a way to protect sensitive information, for the reasons given above.