May be associated with endosporulation. Random endo-hydrolysis of N-acetyl-beta-D-glucosaminide (1->4)-beta-linkages in chitin and chitodextrins. Belongs to the glycosyl hydrolase 18 family. Chitinase class III subfamily.