The application discloses a glycosylhydrolase, a gene, a carrier, a host cell and an application. The glycosylhydrolase is (a) or (b): (a) a glycosylhydrolase with an amino acid sequence shown in SEQ ID NO:1; (b) a glycosyl hydrolase with equivalent functions derived from (a) by replacing, deleting or adding one or more amino acids in the amino acid sequence shown in SEQ ID NO:1. The glycosyl hydrolase of the application can selectively hydrolyze the glucosyl on the 3rd carbon of PPD type ginsenoside.