Catalysis of the reaction: xyloglucan + H2O = xyloglucan oligosaccharides. This reaction is the endohydrolysis of (1->4)-beta-D-glucosidic linkages in xyloglucan.
xyloglucan endo-beta-1,4-glucanase activity