Practical applications of Zn-airb atteriesa re usually limited by sluggish kinetics of oxygen reduction reaction. Replacing Pt-basedc atalysts with convenient, efficient and low-cost materials to boost oxygen reductionr eaction is highly desirable. Herein, ac lass of FeÀNc o-doped carbon nanofibers is successfully synthesized by pyrolysis of polyacrylonitrile/metal-containing ionic liquid-based electrospun films. The ionic liquidsa ct as porogen to provide multiscale pores as well as activator to bring carbon nanofibers active sites. The catalyst possessing appropriate actives ites and unique 3D porous architecture exhibits remarkable longterm stability and electrocatalytic activity.P articularly,t he catalystm aintains as hape of membrane after carbonization, manifesting its direct use as air electrode without binders. It is notable that an all solid-state Zn-air battery based on the carbon nanofibers exhibitsg ood flexibility,i ndicating its promising applicationasw earable devices.