Playfair Cipher: How to Encode & Decode It
Playfair cipher explained: how to build the 5x5 key square, the row/column/rectangle encoding rules, and a full worked example by hand.
Encode or decode text with a classic shift cipher. Free, private — nothing leaves your device.
Your Caesar-shifted text will appear here.The result updates instantly as you type — no button to click.
Drag the slider to any shift amount, not just the classic shift-3.
Swap the output back into the input and flip the mode to check your work.
Runs entirely in your browser. Nothing you type is uploaded or stored.
Enter the plain text you want to encode, or the ciphertext you want to decode.
Choose how many letters to shift (1-25) and whether you're encoding or decoding.
The shifted text updates live as you type — copy it or download it as a .txt file.
A Caesar cipher is one of the oldest and simplest substitution ciphers — useful for teaching, puzzles, and historical curiosity, not for real security.
See substitution ciphers work in real time — a common first topic in intro crypto and CS courses.
Caesar ciphers are a staple of puzzle hunts and escape-room clues — decode one in seconds.
Verify a hand-worked shift cipher answer instantly instead of re-counting the alphabet.
Try the exact technique attributed to Julius Caesar for secret military correspondence.
A Caesar cipher shifts every letter in a message forward through the alphabet by a fixed number of positions. Shift 3 turns A into D, B into E, and so on — named for Julius Caesar, who reportedly used it for military messages.
Try each shift from 1 to 25 — there are only 25 possible shifts, so it's fast to check by eye, or look for a shift that produces readable English words. This tool doesn't auto-detect the shift; move the slider until the output makes sense.
Yes — only letters A-Z and a-z are shifted. Numbers, spaces, and punctuation pass through unchanged, and letter case is preserved.
No — it's a classical, educational cipher with only 25 possible shifts, so it can be broken instantly by brute force or letter-frequency analysis. Don't use it to protect anything sensitive.
No. Everything runs in your browser — nothing you type is sent to a server.
ROT13 is a Caesar cipher with the shift fixed at 13. Because 13 is half of 26, applying ROT13 twice returns the original text — a property most other shifts don't share.
Playfair cipher explained: how to build the 5x5 key square, the row/column/rectangle encoding rules, and a full worked example by hand.
Polybius cipher explained: the full 5x5 grid, how letters become row-column coordinate pairs, and worked encode/decode examples by hand.
Bacon cipher explained: the full A/B encoding table, a worked encode/decode example, and how Francis Bacon hid messages inside ordinary text using typeface.
Scytale cipher explained: how the ancient Spartan rod-and-strip transposition cipher worked, how it differs from substitution, plus a hand-worked example.
Free, no account needed.