In computer science and information theory, Tunstall coding is a form of entropy coding used for lossless data compression.