Other forms: encoding; encoded; encodes
To encode something is to put it into a coded form. During World War II, countries would encode messages so that if they were intercepted, their enemies couldn't understand them.
There are various reasons why information might need to be written in code: spies and secret agents need to encode messages so that only people who know the code can decipher their meanings. Computer languages are also thought of as codes, and when you convert information into one of these languages, you also encode it — although this modern meaning is usually shortened to the verb code.