Through single-particle tracking of protein filaments, plasmids, storage granules, and foreign particles of different sizes, we find that the bacterial cytoplasm displays properties that are characteristic of glass-forming liquids and changes from liquid-like to solid-like in a component size-dependent fashion