One-step conversion from NiFePPc to N-doped carbon supported Ni-Fe nanoparticles. The NiFe@NC exhibits superior catalytic activity and durability for OER. The resultant samples also exhibit high activity for HER. The bi-functional NiFe@NC shows excellent performance in the symmetrical setup.