Wastewater contaminated with antibiotics is a major environmental challenge. We developed here the green synthesis of bio-graphenes by using natural precursors (Xanthan, Chitosan, Boswellia, Tragacanth). The use of these precursors can act as templates to create 3D doped graphene structures with special morphology. Also, this method is a simple method for in-situ synthesis of doped graphenes. The elements present in the natural polymers (N) and other elements in the natural composition (P, S) are easily placed in the graphene structure and improve the catalytic activity due to the structural defects, surface charges, increased electron transfers, and the high absorption. In this mechanism, O2 dissolved in water absorbs onto the positive charged C in doped graphenes to create oxygenated radicals, which enables the degradation of antibiotic molecules. Light irradiation increases the amounts of radicals and rate of antibiotic removal. The results have shown that the hollow cubic Chitosan-derived graphene has shown the best performance due to the doping of N, S, and P. The Boswellia-derived grapheme shows the highest surface area, but lower catalytic performance, which indicates the more effective role of doping in the catalytic activity. The effect of oxygen and light were also studied to accelerate the degradation process.