wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are cowritten by multiple authors. To create this article, 34 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 385,200 times.
Learn more...
Julius Caesar was one of the first people to write in code. He invented the Caesar cipher, in which each letter is replaced with another letter that's a fixed number of positions down the alphabet. The following cipher is not the Caesar cipher, but rather what cryptographers call a "columnar transposition cipher" or "Caesar's Box" though it is unclear if the code was ever actually used by Caesar.
Steps
Sample
Method 1
Method 1 of 1:Decoding Instructions
Download Article

1Count the number of characters in the code. Here we have 16: G T Y O R J O T E O U I A B G T^{[1] X Research source }

2Determine how many rows you can divide the letters into equally^{[2] X Research source } (Find the square root of the number you found in step 1. If the square root isn't a whole number, round up). We can put 16 into 4 rows of 4 (I.e. the square root of 16 is 4). If we had 25 letters we could put them into 5 rows of 5 (square root of 25 is 5) and so on. In cases where the number doesn't divide so neatly, use the number of rows for the next "boxable" (perfect square) number up. The "boxable" (square) numbers are 9, 16, 25, 36, 49, etc. If the code has 22 letters (square root of 22 is 4.69), the next number up is 25, which would mean 5 rows (4.69 rounds up to 5).Advertisement

3Write the letters out into rows.^{[3] X Research source } With the example given, it'd be written out as such:
GTYO
RJOT
EOUI
ABGT 
4Start from the top left letter and read down, then start at the top of the next column and read down again, and so on.^{[4] X Research source } This example has the message: "GREAT JOB YOU GOT IT".

5Finished.Advertisement
Community Q&A

QuestionHow do I write a Caesar Cypher?Community AnswerUsing the alphabet start by counting 3 backwards. Example, A is to X, B is to Y, C is to Z, D is to A, E is to B.

QuestionIs a Caesar box the same as a Caesar cipher?Community AnswerNo. A Caesar Cipher is very simplepick a number, N. Then substitute each letter for the letter N places in the alphabet from it. For example, if N = 3, A would become D, B would become E, etc. Note that this isn't at all secure and can be broken very easily by frequency analysis.

QuestionShould the code always be 16 characters?Community AnswerNo. It can be any number of characters, but the more you have, the harder it is to decode.

QuestionDoes this have to be even numbers?Rena WachsmanCommunity AnswerNo, it has to be a square root, as in 25, 5x5, 81, or 9x9, because when you decipher it, it has to be a box.
Tips
 When turning these codes into "boxes" you won't always have exactly enough letters to make a perfect square. Simply count the letters and which ever perfect square it's closest to, use that number. For example:Thanks!
 Here is another example: h a e a n d v i a e c yThanks!
 This will decode as "have a nice day"Thanks!
H U H U
E D A P
Y E T
D W SThanks! "Hey dude what's up" is only 14 letters long. The closest number (always round up) is 4x4 = 16. So pretend you have 16 letters... H U H U E D A P Y E T D W SThanks!
Warnings
 This code is usually not very difficult to decode. Do not put highly important information in this format.Thanks!
References
About This Article
The Caesar Box code is a cipher in which each letter is replaced with another letter that’s a fixed number of positions down the alphabet. To decode one, start by counting the number of characters in the code. Then, determine the square root of that number. For example, if there are 16 characters in the code, the square root of 16 is 4. If your answer isn’t a whole number, round up. Then, write the characters out in rows, according to the square root you found. In this case, you’d write out the 16 characters in 4 rows, so there’d be 4 characters in each row. Now, starting from the top left letter in the lefthand column, read down through each column. For example, if your code was “GTYORJOTEOUIABGT,” the message would say “Great job you got it!” To see other samples of the Caesar Box code, read on!