Molecular imprinting within cross-linked micelles using 4-vinylphenylboronate derivatives of carbohydrates provided water-soluble nanoparticle receptors selective for the carbohydrate templates. Complete differentiation of d-aldohexoses could be achieved by these receptors if a single inversion of hydroxyl occurred at C2 or C4 of the sugar or if two or more inversions took place. Glycosides with a hydrophobic aglycan displayed stronger binding due to increased hydrophobic interactions.