An encoder/decoder, also known as a codec, is a program or algorithm that is used to convert data from one format to another. In the case of URL encoding and decoding, the encoder/decoder tool is used to convert between a string of text and its percent-encoded form.