An exceptional oxidizing behavior of sodium cyanoborohydride is observed where electron-withdrawing heterocyclic aldehydes are directly converted to their corresponding esters on treatment of sodium cyanoborohydride in methanol. The spectral analysis and single-crystal structure confirm the formation of esters.