Arithmetic coding is a form of entropy encoding that encodes the entire file into a single fractional number between 0 and 1, rather than assigning individual variable-length codes to each character.
Arithmetic Coding Visualizer
Interactive fractional number range compression