Encrypt, decrypt and brute-force a Caesar shift cipher — all 25 shifts at once, ROT13 shortcut, browser-only
- Runs locally
- Category Encoding & Crypto
- Best for Checking small payloads, tokens, hashes, and encoded values quickly.
Shifted text appears here.What this tool does
Free online Caesar cipher tool that encrypts, decrypts and brute-forces a shift cipher right in your browser. Pick any shift from 0 to 25 (negative values and numbers past 25 wrap automatically with modulo 26) and every letter rotates by that amount: shift 3 turns A into D, B into E, and X wraps back to A. Case is preserved, while digits, spaces, punctuation, accented letters and CJK text pass through untouched, because the classic Caesar cipher is defined only on A–Z and a–z. Don't know the key? The brute-force mode lists the plaintext for all 25 shifts in one view with each line labelled by its key, which is how Caesar puzzles and CTF crypto warm-ups get solved when the shift is unknown. A one-click ROT13 shortcut jumps to shift 13, the self-inverse case. Everything is 100% client-side with copy buttons and a shareable link that reopens the same text and shift. No upload, no server round-trip.
Tool details
- Input
- Text + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Encoding & Crypto · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Caesar Cipher Encoder & Decoder fits into your work
Use it for quick browser-side encoding, decoding, hashing, token checks, and share-safe transformations.
Encoding jobs
- Checking small payloads, tokens, hashes, and encoded values quickly.
- Preparing values for APIs, URLs, docs, or support tickets.
- Avoiding account-based tools when the input might be sensitive.
Encoding checks
- Do not paste live secrets unless you are comfortable with local browser handling.
- Confirm whether the operation is reversible before sharing the result.
- For hashes, compare the exact algorithm and casing expected by the receiver.
Good next steps
These links move the current task into a more complete workflow.
- 1 Vigenère Cipher Encoder / Decoder Encrypt and decrypt with a keyword, polyalphabetic shift, case kept, non-letters passed through, browser-only Open
- 2 Atbash Cipher Mirror the alphabet, A↔Z B↔Y, no key, self-reciprocal so the same button encodes and decodes, browser-only Open
- 3 ROT13 Encoder & Decoder ROT13 / ROT47 / Caesar cipher — encode and decode in your browser, instant. Open
Real-world use cases
Crack a Caesar puzzle when you don't know the shift
A crossword clue or escape-room prop hands you "KHOOR ZRUOG" with no key. Paste it into brute-force mode and read all 25 shifts at once. The row at shift 23 reads "HELLO WORLD" in plain English — that line is your answer, and the offset it sits on is the key the puzzle setter used (encrypt shift 3). No trial-and-error retyping, no doing modular arithmetic in your head.
Solve the crypto warm-up in a CTF
Half the beginner CTF crypto challenges are a single Caesar shift wrapped around a flag like CTF{...}. Drop the ciphertext in, switch to brute force, and scan the 25 lines for the one where the braces frame readable text. Because the flag prefix is known, you spot the right shift in a second instead of scripting a loop.
Teach modular arithmetic in a classroom
Showing students how a shift cipher works? Type the alphabet, slide the shift from 0 to 25, and the output updates live so the whole class watches A roll to D and Z wrap back to C. Flip to decrypt to prove the inverse, then open brute force to make the point that 25 keys is no security at all.
Hide a spoiler or punchline the old-school way
Same trick Usenet used for decades: shift a movie spoiler or a joke answer by 13 (the ROT13 shortcut) so it shows up as gibberish until the reader chooses to decode it. One click sets shift 13, paste, copy the scrambled text into your post. Anyone curious runs it back through to read it.
Common pitfalls
Confusing the shift direction. Encrypting "HELLO" with shift 3 gives "KHOOR"; to get it back you decrypt with shift 3 (which moves letters 3 positions backward), not encrypt with 3 again. Use the Decrypt button rather than re-running Encrypt, or the text shifts 6 places total and stays scrambled.
Expecting it to scramble numbers and symbols. A Caesar cipher is defined only on A–Z. "Meet at 9pm!" enciphered with shift 5 becomes "Rjjy fy 9ru!" — the 9, the space and the "!" are untouched by design. If you need digits and punctuation rotated too, that is ROT47, a different scheme.
Treating it as real encryption. With only 25 possible keys, anyone breaks a Caesar cipher by trying them all (this tool does it in one click). It is a puzzle and teaching cipher, not protection for a password, message or file. For that, reach for AES.
Privacy
Every shift runs in plain JavaScript inside your browser tab — the text you type never leaves the page and nothing is logged. One caveat worth stating plainly: a Caesar cipher is not encryption. With 25 keys it is broken instantly (the brute-force mode here proves it), so never use it to protect a real secret, password or private message. It is for puzzles, lessons and spoiler-hiding. The shareable URL encodes your text and shift in the query string, so a link pasted into chat lands those characters in the recipient server's access log — fine for a puzzle, not for anything you actually need kept private.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- 24-Point Solver & Game 24-point solver and game — enter 4 numbers and get every solution instantly, or play random hands against the clock.
- A1C to Blood Glucose Calculator A1C ⇄ estimated average glucose, both ways, mg/dL or mmol/L, with the ADA range — educational, browser-only
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Add Days to Date Calculator Add or subtract days, weeks, months, and years from any date — plus a business-day mode that skips weekends. Runs entirely in your browser.