Any enzyme that breaks or degrades the long chainlike molecules of proteins into shorter fragments (peptides) and eventually into their components, amino acids.