A galabiose disaccharide building block was synthesized by an efficient pectinase cleavage of polygalacturonic acid and subsequent chemical functional group transformations. Besides the disaccharide, the corresponding trisaccharide was also obtained and modified. The compounds were subsequently conjugated to dendrimers with up to eight end groups using 'click' chemistry. The compounds were evaluated as inhibitors of adhesion of the pathogen Streptococcus suis in a hemagglutination assay and strong inhibition was observed for the tetra- and octavalent galabiose compound with MIC values in the low nanomolar range. The corresponding octavalent trisaccharide was a ca. 20-fold weaker inhibitor.