Caesar Cipher Decoder & Encoder

Encode and decode Caesar shift, ROT13, ROT47 and Atbash text, or brute-force all 25 shifts at once. Everything runs in your browser.

The Caesar Cipher Decoder runs entirely in your browser. The plaintext and ciphertext you type or paste stay on your device and are never uploaded to ArrayKit.

Open the Morse Code Translator

About Caesar Cipher / ROT13

The Caesar Cipher Decoder encodes and decodes the classic shift cipher and its well-known cousins — ROT13, ROT47 and Atbash — from one panel. Pick Caesar and choose any shift from 1 to 25 to encode a message or turn it back to plaintext; the shift and Encode/Decode toggle do the arithmetic for you. ROT13, ROT47 and Atbash are keyless and self-inverse, so a single click transforms and untransforms them. When you have ciphertext but not the key, the Brute-force panel lists all 25 Caesar rotations side by side so you can eyeball the readable one instantly. Case and every space, digit and punctuation mark are preserved. It is built for CTF players, puzzle hunters, students and anyone learning cryptography — and it runs entirely on your device, so the text you paste is never uploaded.

Features

How to use the Caesar Cipher / ROT13

  1. Choose a cipher: Caesar, ROT13, ROT47, Atbash or Brute-force
  2. For Caesar, set the shift (1–25) and pick Encode or Decode
  3. Type or paste your text into the input pane
  4. Read the transformed result on the right and copy it
  5. Unsure of the key? Open Brute-force and pick the readable line

Example

Input

Attack at dawn

Output

Dwwdfn dw gdzq

A Caesar shift of 3 moves each letter three places forward; decode by shifting 3 back.

Common errors & troubleshooting

Frequently asked questions

How do I decode a Caesar cipher without knowing the shift?
Switch to the Brute-force panel and paste the ciphertext. It lists all 25 possible Caesar rotations at once, so you can scan them and copy the line that reads as normal words — no guessing one shift at a time.
Why is ROT13 the same for encoding and decoding?
ROT13 is a Caesar shift of 13, and the alphabet has 26 letters. Shifting by 13 twice moves a letter a full 26 places, back to where it started, so applying ROT13 again perfectly reverses it.
What is the difference between ROT13 and ROT47?
ROT13 only rotates the 26 letters A–Z and leaves digits and punctuation alone. ROT47 rotates 94 printable ASCII characters — letters, digits and symbols — by 47, so it scrambles far more of the text while staying self-inverse.
How does the Atbash cipher work?
Atbash mirrors the alphabet: A becomes Z, B becomes Y, and so on down to Z becoming A. It has no numeric key and is its own inverse, so encoding and decoding are the same operation.
Is a Caesar cipher secure enough to protect real data?
No. Caesar, ROT13, ROT47 and Atbash are historical or obfuscation ciphers with at most 25 keys, trivially broken by brute force. Use them for puzzles, CTFs and learning — never for real secrets. For that, use hashing or proper encryption.
Does the tool keep the original letter case and punctuation?
Yes. Uppercase stays uppercase and lowercase stays lowercase, and every space, digit and punctuation mark passes through unchanged, so the shape of your message is preserved after encoding or decoding.

Related tools

All ArrayKit tools