Encoding

Encoding is the process of converting data from one form to another. While "encoding" can be used as a verb, it is often used as a noun, and refers to a specific type of encoded data. There are several types of encoding, including image encoding, audio and video encoding, and character encoding.

Media files are often encoded to save disk space. By encoding digital audio, video, and image files, they can be saved in a more efficient, compressed format. Encoded media files are typically similar in quality to their original uncompressed counterparts, but have much smaller file sizes. For example, a WAVE (.WAV) audio file that is converted to an MP3 (.MP3) file may be 1/10 the size of the original WAVE file. Similarly, an MPEG (.MPG) compressed video file may only require a fraction of the disk space as the original digital video (.DV) file.

Character encoding is another type of encoding that encodes characters as bytes. Since computers only recognize binary data, text must be represented in a binary form. This is accomplished by converting each character (which includes letters, numbers, symbols, and spaces) into a binary code. Common types of text encoding include ASCII and Unicode.

Whenever data is encoded, it can only be read by a program that supports the correct type of encoding. For audio and video files, this is often accomplished by a codec, which decodes the data in real-time. Most text editors support multiple types of text encoding, so it is rare to find a text file that will not open in a standard text editor. However, if a text editor does not support the encoding used in a text document, some or all of the characters may appear as strange symbols rather than the intended text.

Updated September 23, 2010 by Per C.

quizTest Your Knowledge

Which of the following is considered a brute force attack?

A
Trying multiple username/password combinations to find a valid login.
0%
B
Sending repeated pings to overload a web server.
0%
C
Installing a virus in the root user account of a computer.
0%
D
Hacking a computer through a direct USB connection.
0%
Correct! Incorrect!     View the Brute Force Attack definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Encoding on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.