Cipher Table

About

A quiet desk for secret writing

Cipher Table is a free set of tools for writing, reading and breaking the classical ciphers: the ones worked with pencil and paper from ancient Sparta to the Second World War.

Why it exists

These ciphers are a wonderful way into a deep subject. Each one is a small, clever idea, and each was eventually undone by a slightly cleverer one. Most cipher tools online will give you an answer; fewer show you why the answer is what it is. This site tries to do both, and to be pleasant to use while it does.

Privacy

Everything runs in your browser. There is no server receiving what you type, no account, and no record of your messages. Once a page has loaded, the tools work without a connection.

How the breakers work

The automatic solvers judge candidate decryptions with a table of English four-letter sequence frequencies, and search for the key that scores best: by trying every key where there are few, and by hill climbing where there are many. The cryptogram solver page describes the method in more detail. A second pass checks the result against a list of common English words. They assume the message is in English.

Credits

Word frequencies come from the OpenSubtitles-based lists compiled by Hermit Dave (FrequencyWords, CC BY-SA 4.0), filtered through the SCOWL word lists. The typefaces are Instrument Serif and IBM Plex.

A caution

Nothing here is fit for protecting real secrets. Every cipher on the site is broken, most of them trivially, and the site itself shows how. They are for learning, puzzles and play.

Corrections

If you find a mistake, in the history or in the code, it should be fixed. This site is meant to be right.