Novel conversion of aldopyranosides into 5-thioaldopyranosides via acyclic monothioacetals with inversion and retention of configuration at C-5. The strategy for L enantiomers was applied to the synthesis of thio-L-galactose with inhibitory effect of 5-thio-L-galactose toward α-L-fucosidase (Ki 960 μM).