Formation of β-lactoglobulin nanofibrils by microwave heating gives a peptide composition different from conventional heating.