Cipher encoder and decoder
Solve puzzles, CTF challenges and homework with eight classic ciphers in one place. Shift letters with Caesar or ROT13, rotate every printable character with ROT47, mirror the alphabet with Atbash, use a keyword with Vigenère, XOR text or hex with a repeating key, translate Morse code and rearrange letters with the rail fence zigzag. Don’t know the Caesar shift? The decoder tries all 25 and ranks them by how closely the letters match English. Results update as you type, and nothing leaves your browser.
Cipher
Shifts each letter a fixed number of places along the alphabet.
Direction
Runs in your browser. These are puzzles, not real encryption.
How to use the Cipher Encoder & Decoder
- 1
Pick a cipher
Caesar, ROT13, Vigenère, Morse and more.
- 2
Set the key
Shift, keyword, rails or XOR key as needed.
- 3
Type or paste
The result updates instantly; copy it.
When to use it
- Solve CTF and escape-room cipher puzzles.
- Teach how substitution and transposition ciphers work.
- Decode ROT13 spoilers and Morse messages.
Limits
- These ciphers are easy to break and must never be used to protect real data; use AES encryption instead.
- The brute-force ranking works best on English text of a sentence or more.
Privacy
All encoding and decoding happens in your browser; nothing you type is sent anywhere.
Frequently asked questions
How do I decode a Caesar cipher without the shift?
Choose Caesar, select Decode and paste the text. All 25 shifts are tried and the most English-looking results are listed first.
Is ROT13 encryption?
No. ROT13 is a Caesar shift of 13 used to hide spoilers. Applying it twice gives back the original, and anyone can undo it.
How does the Vigenère cipher work?
Each letter is shifted by the matching letter of a repeating keyword (A = 0, B = 1 ...). Non-letters are kept and don’t use up key letters.
Why does XOR give hex?
XOR output is raw bytes, which often aren’t printable, so encoding shows hex. Decoding takes that hex back to text with the same key.
Which Morse code standard is used?
International Morse code (ITU-R M.1677-1). Letters are separated by spaces and words by a slash.
Are these ciphers secure?
No. They’re historical or teaching ciphers and can be broken in seconds. For real secrets use modern encryption such as AES-256-GCM.
Related tools
People also use
- Phishing URL CheckerCheck a suspicious link for phishing tricks such as look-alike brand names and punycode, without opening it.
- SSH Key GeneratorMake an Ed25519 or RSA SSH key pair in OpenSSH format, with its fingerprint, without installing anything.
- 2FA / TOTP Code GeneratorGet 6-digit 2FA codes from a secret or QR code, create test secrets and check codes, all in your browser.
- Bcrypt & Argon2 Hash GeneratorCreate and check bcrypt and Argon2 password hashes, with parameters compared to OWASP guidance.
Last updated November 23, 2026 · How we build and test our tools