Workspace

Non-English letters will be translated to English.

Encrypt = plaintext to ciphertext

Duplicates are removed and only letters from A-Z are used.

Options

Playfair uses 25 letters. English typically merges J into I.

Used to split duplicates and pad odd-length text.

Applies when encrypting only.

See also:

Skip Cipher - Transposition cipher encryption

A0Z25 Cipher - Letter to number conversion

Your data won't be stored by us

Letters to Numbers Logo

Letters to Numbers

Trusted Conversion Tools

Playfair Cipher Solver

The Playfair Cipher Solver lets you encode and decode messages using the Playfair digraph substitution cipher, one of the most historically significant manual encryption systems, widely used during World War I and World War II for field communications. Unlike simple letter-for-letter substitution ciphers, Playfair encrypts letters in pairs using a 5x5 key square constructed from a custom keyword, which dramatically increases resistance to basic frequency analysis attacks. You can supply any keyword to generate a unique cipher grid and then encrypt or decrypt arbitrary plaintext, with the tool automatically handling the standard Playfair rules for duplicate letters and end-of-message padding. This makes the Playfair Cipher Solver an ideal learning tool for students of cryptography history as well as a practical instrument for anyone solving cipher challenges or recreating historical encryption techniques.

Who Is It For?

Cryptography Students

Learning the Playfair cipher algorithm used historically in WWI and WWII communications.

Puzzle Solvers

Deciphering Playfair-encoded messages in mystery games, escape rooms, and puzzle hunts.

History Enthusiasts

Exploring classical cryptography and the role of the Playfair cipher in military history.

Teachers

Demonstrating digraph substitution ciphers in cryptography and mathematics classes.

How It Works

Enter your keyword to generate the 5×5 Playfair key square. Then type your plaintext to encrypt it, or paste ciphertext to decrypt. The tool handles I/J merging and the digraph substitution rules automatically, showing the full key square and step-by-step output.

Features

  • Encrypt and decrypt with any Playfair keyword
  • Automatic 5×5 key square generation
  • Handles I/J equivalence and double-letter rules
  • Displays the full key square visually
  • Step-by-step digraph breakdown
  • Supports uppercase and lowercase input

Your Privacy Matters

All processing happens in your browser. We never store, send, or log your data. Completely private and secure.