The CBr4-photoirradiation in methanol generates a controlled source of HBr, which can chemoselectively deprotect commonly used hydroxyl-protecting groups in saccharides and nucleosides, such as tert-butyldimethylsilyl, isopropylidene, benzylidene and triphenyl ethers in the presence of other acid-labile functional groups.