Continuous-flow formic acid production from the hydrogenation of CO2 without any base, and the concentration of formic acid by electrodialysis was tested both offline and online.