The newly synthesized PC was tested for adsorption of cationic dye (MB) and an anionic dye (EY) from aqueous solutions. The entire investigations in this paper prove that the PC obtained from TW carbon precursor possesses extremely high susceptibility for the batch removal at three studied temperature and acts as a powerful scavenger for the eradication of both dye from wastewater.