cryptosolve -- solve standard cryptograms


cryptosolve [-w wordlist] [-D] [-E] [cryptogram]


cryptosolve finds solutions to standard cryptograms, using an optimized brute force approach.

The cryptogram may be passed on the command line or via standard input. To solve a cryptogram stored in a file, the file should be directed to standard input, e.g. cryptosolve < cryptogram.txt.


cryptosolve accepts the following options:

-w wordlist
By default, cryptosolve looks for a file named 'wordlist' in the same directory as the executable. Use the -w option to specify the path to an alternate word list.

By default, cryptosolve treats uppercase letters as base letters to be translated and lowercase letters as final letters. This allows you to use it on a partially translated cryptogram. Use the -u option when you want to force all letters to uppercase; this saves you from having to modify the input.

Use the -D option to turn on debugging output.

Normally, cryptosolve will repeatedly eliminate words until it reaches a point where no more words can be eliminated. Use the -E option to have only one round of elimination performed. This may be useful for debugging purposes.


The list of words, found with the executable.

For a comprehensive word list, the author recommends the ENABLE word list, with more than 172,000 words, which can be found at


Still takes an inordinate amount of time to solve some cryptograms.


Ronald J Kimball <>


This program is copyright 2001, 2002 by Ronald J Kimball.

This program is free and open software. You may use, modify, or distribute this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.