Polymeric carbon nitride (pCN) has attracted increasing interest as a metal-free photocatalyst because of its high efficiency in reactive oxygen species (ROS) generation. However, due to poor solubility, compounding pCN at the molecular level into more advanced nanocomposites remains a challenge. Herein, we report