The present invention relates to an O-glycosyl hydrolase cel2-KG97 gene derived from a black goat rumen microorganism and its use, and more particularly to a novel o-glycosyl hydrolase cel2-KG97 gene selected from a black goat rumen microorganism, To a feed additive, a detergent composition and a method for producing a biofuel.본 발명은 흑염소 반추위 미생물 유래의 O-글리코실 가수분해효소 cel2-KG97 유전자 및 이의 용도에 관한 것으로, 보다 구체적으로 흑염소 반추위 미생물로부터 선별한 신규한 O-글리코실 가수분해효소 cel2-KG97 유전자 및 이의 단백질 산물을 제공하고, 이를 이용하여 사료첨가제, 세제 조성물 및 바이오연료를 제조하는 방법에 관한 것이다.