Skip to content
ZeroServer.tools

Playfair Cipher

Encrypt and decrypt text with the 5×5 Playfair digraph substitution cipher.

Key square (I = J):
P
L
A
Y
F
I
R
B
C
D
E
G
H
K
M
N
O
Q
S
T
U
V
W
X
Z
EBIMQMGHVRCZ

How the Playfair cipher works

The Playfair cipher encrypts pairs of letters (digraphs) using a 5×5 key square built from a keyword. I and J share a cell. Pairs in the same row shift right; same column shifts down; otherwise each letter moves to the opposite corner of the rectangle they form. It was used by the British and Australians in World War I and World War II.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Encoders & Decoders tools