With the rise of wearable devices, it is important but challenge to develop flexible energy storage materials that combine excellent mechanical properties, good electrochemical properties, and other functions. Here, a polypyrrole (PPy)/carbon nitride (C