Metal-containing dyes in the textile industry release heavy metal ions into wastewater, posing significant environmental risks and complicating treatment processes. Among various removal methods, chemical adsorption through functional groups that form stable complexes is one of the most effective. Tannic acid (TA), renowned for its strong chelation of metal ions via phenolic hydroxyl groups, faces challenges in operation and recycling in its powdered form. Electrospun polyamide 6 (PA6) nanofiber membranes, characterized by high surface area and structural stability, offer a promising platform. However, achieving an optimal TA loading remains a technical hurdle for industrial applications. To address this, we developed an arginine (l-Arg) bridging strategy to enhance the TA loading on PA6 nanofibers. Additionally, we implemented an NH3 escape foaming technique to increase membrane porosity by 20% and quadruple pore size, enhancing surface roughness and resulting in a 70% increase in TA loading. The optimized adsorbent demonstrated the effective removal of various heavy metal ions, achieving over 95% removal efficiency for five different metals. Even after five adsorption-desorption cycles, the membrane retained over 92% efficiency, translating to a treatment capacity of 12.5 tons of wastewater per kilogram of foaming fiber, underscoring its potential for practical wastewater treatment applications.