The electroreduction of carbon dioxide (CO2) into valuable chemicals and fuels typically operates under alkaline or neutral conditions, but the carbonation side reaction causes carbon loss. In addition, the main product is formate, which requires additional treatment such as acidification to obtain formic acid.