Glycans in the intestinal peptide transporter PEPT1 contribute to function and protect from proteolysis.