Skip to content

Playfair Cipher Encrypt & Decrypt

Encrypt and decrypt text using the Playfair cipher with interactive 5x5 key square and visual step-by-step guide.

Updated

What is the Playfair Cipher Encrypt & Decrypt?

How it works

Examples

Classic Playfair Encryption

Keyword: PLAYFAIR EXAMPLE | Plaintext: Hide the gold in the tree stump
BM OD ZB XD NA BE KU DM UI XM MO UV IF

Decrypt Playfair Ciphertext

Keyword: PLAYFAIR EXAMPLE | Ciphertext: BMODZBXDNABEKUDMUIXMMOUVIF
HI DE TH EG OL DI NT HE TR EX ES TU MP

Double Letters Handling

Keyword: MONARCHY | Plaintext: BALLOON
Prepared: BA LX LO ON | Cipher: IB SU PM NA

Custom Alphabet Rule

Keyword: SECRET | Mode: Omit Q | Plaintext: ATTACK AT DAWN
Prepared: AT TA CK AT DA WN | Cipher: SR TU ST SR CI BV

Frequently asked questions