encoder

noun

A device or program that converts information into a code.