Playfair Cipher Calculator (Encrypt & Decrypt)

Encrypt or decrypt text with the Playfair cipher using a keyword — the 5 × 5 key square, the letter pairs and the result.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Same row → take the letters to the right; same column → the letters below; otherwise swap columns (rectangle rule). J is merged with I and X separates doubled letters.

Example

Example: "hide the gold in the tree stump" with key PLAYFAIR EXAMPLE → BM OD ZB XD NA BE KU DM UI XM MO UV IF.

Assumptions

Classic Playfair rules.

Frequently Asked Questions

Is the Playfair cipher secure?

No — it was used in WWI but is easily broken today. It's for learning and puzzles.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile