Output will appear here...Brute-force all 25 shifts
What is the Caesar Cipher?
The Caesar cipher is a substitution cipher that replaces every letter in a message with another letter a fixed number of positions further along the alphabet. Shift by three and A becomes D, B becomes E, and Z wraps around to C. It is named after Julius Caesar, who according to the Roman historian Suetonius used a shift of three to protect his military correspondence. This tool encodes plain text into ciphertext, decodes ciphertext back to plain text, and can try every possible shift at once when you do not know the key.
A Caesar cipher has only 25 usable keys, one for each shift from 1 to 25, which is what makes it easy to learn and easy to break. Because the number of keys is so small, an attacker can simply try them all, an approach called brute force. The tool builds that full list for you: paste an intercepted message, and it shows all 25 candidate decodings so you can read down the column and spot the one that turns into real words. This is why the Caesar cipher is a teaching example today rather than real security.
Two well-known special cases are included. ROT13 is a Caesar cipher with a shift of exactly 13, and because 13 is half of 26, applying it twice returns the original text, so the same button both scrambles and unscrambles. It is used on forums and in Usenet posts to hide spoilers and punchlines without truly encrypting them. ROT47 extends the idea to 94 printable ASCII characters, so it also rotates digits and punctuation. Everything here runs entirely in your browser: your text is never uploaded, logged, or stored, the tool works offline once loaded, and it is free with no account required.
How to use the Caesar Cipher tool?
Enter your text
Type or paste the message you want to encode into the input box, or paste ciphertext you want to decode.
Choose the cipher and key
Pick standard Caesar and set a shift from 1 to 25, or select the ROT13 or ROT47 preset which needs no key.
Encode or decode
Switch between Encode and Decode. Encoding shifts letters forward; decoding shifts them back by the same amount.
Copy the result or crack the key
Copy the output with one click, or open the brute-force list to see all 25 possible decodings when the key is unknown.
Key Features
Any shift from 1 to 25
Set the exact key you need. Letters wrap around the alphabet and case is preserved on both encode and decode.
ROT13 and ROT47 presets
One-click ROT13 for spoiler-style scrambling and ROT47 to rotate digits and punctuation as well as letters.
Brute-force cracker
See all 25 possible decodings at once to recover a message when you do not know which shift was used.
Preserves everything but letters
Spaces, numbers, punctuation, and symbols pass through unchanged, so formatting and layout stay intact.
Frequently Asked Questions
Related Tools
HTML Entity Encoder/Decoder
Encode and decode HTML entities - named (&), decimal (&), and hex (&) forms, with XSS-safe special-character escaping
Image to Base64 Converter
Convert images to Base64 data URIs and decode Base64 back to images.
Unicode Converter
Convert text to and from Unicode code points, HTML entities, JavaScript escapes, and CSS escapes. Emoji and astral characters handled correctly.
URL Encoder/Decoder
Encode and decode URLs, query strings, and form data with encodeURIComponent, encodeURI, or form-urlencoded modes
Comments
0 comments
No comments yet. Be the first to share your thoughts!