Zero Signup ToolsFree browser tools

Converter Tools

Caesar Cipher Encoder / Decoder

Encode or decode Caesar shift ciphers in your browser. Pick any shift, try ROT13, or brute-force all 26 shifts ranked by English frequency.

Settings

Pick a direction, set the shift, then paste your text below.

Direction

Alphabet mapping

AD0
BE1
CF2
DG3
EH4
FI5
GJ6
HK7
IL8
JM9
KN10
LO11
MP12
NQ13
OR14
PS15
QT16
RU17
SV18
TW19
UX20
VY21
WZ22
XA23
YB24
ZC25

Top row is the original letter. Bottom row is what it becomes. Non-letters (digits, spaces, punctuation) are passed through unchanged.

0 chars

0 letters will be shifted.

Cipher text

Result will appear here as you type.

Each letter shifted forward by 3 positions.

All shifting and frequency analysis run entirely in your browser. Nothing is uploaded.

How to use

  1. Pick a direction: Encode shifts plain text forward, Decode shifts cipher text backward, and Brute force tries every shift from 0 to 25 at once.
  2. Set the shift with the slider, the number box, the quick preset buttons (1, 3, 5, 7, 13, 25), or the dedicated ROT13 button.
  3. Paste your text into the input box. Letters shift, while digits, spaces, and punctuation pass through untouched.
  4. Read the result panel for encode and decode, or read the ranked candidate list in brute force mode where the best English match is highlighted at the top.
  5. Click Copy result, Copy on any brute-force row, or Use as input to round-trip the result back into the input box.

About this tool

Caesar Cipher Encoder / Decoder is a complete, browser-only toolkit for the classic shift cipher. Pick any shift from 0 through 25 and the tool maps every letter forward (encode) or backward (decode) by that many positions while leaving digits, spaces, and punctuation untouched. Case is preserved automatically, so 'Hello' becomes 'Khoor' at shift 3, not 'KHOOR'. A live alphabet map below the controls shows the exact A-to-Z translation that the current shift produces, with shifted letters highlighted, so you can sanity-check the wiring before you hit copy. Quick presets jump straight to the shifts you actually use in the wild: shift 1 (the gentlest puzzle), shift 3 (Caesar's original), shift 5 and 7 (common CTF and homework variants), shift 13 (ROT13, the symmetric encode-and-decode), and shift 25 (effectively a back-shift of 1). The dedicated ROT13 button does the same job in one click. Brute-force mode is the standout feature when you have ciphertext and no key. The tool computes all 26 candidate decodings at once and ranks them by chi-squared distance to the expected English-letter frequency distribution. Real plaintext lands at the top almost every time and is highlighted as the best guess, so you can read the answer instead of squinting at 26 alternative grids. Each candidate row shows its shift, its chi-squared score, the decoded text in a copyable mono-spaced block, and a copy button so you can grab the right one without selecting text by hand. The input box stays in place across modes, so switching between encode, decode, and brute force does not lose your work, and a Use as input button lets you round-trip the result back into the input to confirm encode/decode pairs cleanly. Sample buttons load known plaintext and known ciphertext so you can see the cipher in action in two clicks. Useful for school cryptography assignments, capture-the-flag puzzles, escape-room props, programming interview practice, geocaching clues, ARG and puzzle-hunt clue construction, ROT13-obfuscated spoilers and puzzle answers, and any time you encounter a string of jumbled letters and want a fast, dependable way to read it. Everything from the alphabet shifting to the frequency analysis runs locally in your browser, so cipher text and any sensitive notes you paste here never leave your device.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsConverter Tools