Electrocatalytic nitrate reduction holds significant promise for generating green ammonia and mitigating pollution, reducing energy input, and exhibiting zero-carbon emissions. However, the intricate multiple electron and proton transfer processes complicate the pathways from nitrate to ammonia, hindering the development of electrocatalysts with high activity and selectivity for practical use. The primary side reactions, such as the conversion of nitrate to gaseous nitrogen species and the hydrogen reduction reaction, limit the Faradaic efficiency of nitrate-to-ammonia conversion. In this work, we have developed a controllable methodology for preparing highly active Cu-based nanocatalysts. These nanocatalysts exhibit remarkable activity and selectivity in the electrochemical nitrate reduction reaction within a flow-cell device, with a high ammonia yield and high Faradaic efficiency.