Potassium-ion batteries (PIBs) have garnered considerable attention as a potential alternative to lithium-ion batteries. However, the larger radius of K+ poses challenges, including slow kinetic processes and significant volume changes, which adversely affect the rate performance and cycling stability of electrode materials. Herein, N, S co-doped carbon nanosheets (xNS-HC) are synthesized as anode materials of PIBs by carbonization of citric acid and CH₄N₂S precursors in LiCl/KCl molten salts. Of these, 5NS-HC possesses a high N content of 20.19 at.% with 90.90 % of edge N-species and a S content of 2.53 at.%. The 5NS-HC material exhibits a high specific K+ storage capacity of 368.2 mAh g−1 at 0.1 A g−1, superior rate capability (106.1 mAh g−1 at 10 A g−1), and long-term cycling stability (205.8 mAh g−1 after 2800 cycles at 1 A g−1). In-depth analysis via in-situ XPS and DFT calculations reveals that the active sites doped with edge-N/S exhibit a profound affinity towards K+, thus contributing to the outstanding electrochemical K+ storage performance observed in 5NS-HC. The full cell of K0.4Mn0.9Li0.1O2·0.33H2O||5NS-HC exhibits a high specific capacity of 141.2 mAh g−1, supporting a high energy density of 147.1 Wh kg−1. These compelling results illustrate that edge-N/S co-doping can significantly enhance the K+ storage of carbon anode materials.