Playfair Cipher
Encrypt letter pairs with a 5×5 keyword square and digraph rules.
Input text
Output text
Using This Tool: Guide & Notes Show guide
Playfair encrypts pairs of letters using a 5x5 keyword square and row, column, and rectangle rules.
How to use it
- Enter a keyword to build the square.
- Choose the filler letter used for repeated-letter pairs or odd final letters.
- Paste plaintext or ciphertext into the input box.
- Check the prepared digraphs before relying on the output.
Options and settings
- Keyword controls the key square after duplicate letters are removed.
- Filler letter separates repeated letters in a pair and completes odd-length messages.
- I/J handling is required because the 5x5 square has only 25 cells.
- Grouping controls output readability, not the Playfair rules.
Notes
- Playfair works on letter pairs, so prepared plaintext may differ slightly from the raw input.
- The same keyword and filler assumptions are needed for clean decryption.
Related Article
Playfair Cipher guide coming soon
The matching article is not published yet. This tool is ready now, and the guide can be added through the shared article template when it is written.