Skip to content
Book of Riddles

Encrypt and decrypt in your browser

Cipher decoder and encoder

Four classic ciphers, each as a tool that encrypts and decrypts at once: the Caesar cipher with a turning wheel and a cracker, the Vigenère cipher with its table, Atbash, and the pigpen cipher with symbols you can download.

Everything runs in your browser. Your text is not sent anywhere, and the share links carry only the settings. If you want to try yourself first, the secret codes puzzles use the same ciphers.

The tools

Which cipher is which

CipherKeyHow it worksCracked by
Caesar cipherA shift from 1 to 25Every letter moves the same number of placesTrying all 25 shifts
ROT13None (shift 13)Caesar cipher that undoes itselfApplying it again
AtbashNoneThe alphabet turned round: A becomes ZApplying it again
Vigenère cipherA keywordA different Caesar shift for each letter of the keywordFinding the key length, then counting letters per column
Pigpen cipherThe picture of the gridEach letter is drawn as a piece of a grid or crossReading it, or counting symbols if shuffled

Questions about cipher tools

Are these tools free?

Yes. No sign-up, no ads, no limit on the text.

Is my text uploaded?

No. Everything is calculated in your browser, and links to share carry only the settings.

Which cipher is the safest?

None of these is safe by today’s standards. They are classic ciphers for learning, puzzles and games. Of the four, the Vigenère cipher is the hardest to crack by hand, because simple letter counts fail on it until the key length is known.

Can I crack a cipher without the key?

A Caesar cipher yes: the Caesar page tries all 25 shifts. For Vigenère the page estimates the key length and suggests a keyword. Atbash and ROT13 have no key to find.

Try the ciphers as puzzles

Forty secret messages in the family “Cryptograms and secret codes”, from easy to expert, each with exactly one solution.