We demonstrate the production of glycolic acid, an industrially important alcoholic compound, via the electrochemical reduction of oxalic acid, which is procurable from biomass, and electro-oxidation of water with the help of renewable light energy for the first time.