BEALE_CIPHER is a dataset directory which contains the texts of the three Beale Cipher documents.

The three documents that form the "Beale Papers" are supposed to have been left in a box entrusted to an innkeeper in 1822. When opened in 1845, the documents were found, along with a note explaining that they described the location of a hoard of silver and gold. A pamphlet, published in 1885, is the only source of this information.

The second document can be deciphered by taking the Declaration of Independence, numbering each word, and replacing each number in the Beale document by the first letter of the corresponding word in the Declaration.

The first and third documents have never been deciphered, and one may conclude that the entire matter was a hoax.

According to Wikipedia, the following adjustments must be made to the text of the Declaration of Independence:


Finally, in the decoded text there are 4 errors, probably due to wrong transcription of the original paper:


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


  1. Simon Singh,
    The Code Book,
    Anchor, 1999,
    ISBN: 0-385-49532-3,
    LC: Z103.S56.


You can go up one level to the DATASETS directory.

Last revised on 03 May 2011.