In this work, a new heterocyclic compounds containing a 1,2,4-triazole moiety were designed, manufactured from modifying the antibiotic Levofloxacin, and their structures were ascertained by measuring their melting point, FTIR, and 1HNMR, as well as their physical characteristics. These compounds are used to assess ftheir antimicrobial activity of gram positive and negative bacteria: S. aureus, S. epidermidis, and E. coli, Klebsiella and other fungi like Candida albicans, as well as at a concentration of 100 mg/mL, the tests were conducted. The 1,2,4-triazoles are a preferred structural motif among heterocyclic compounds that include three nitrogen heteroatoms and have drawn a lot of interest from both academia and medical applications. Despite not occurring in nature, 1,2,4-triazole moiety have numerous uses in the fields of organic synthesis, chemical biology, polymer chemistry, supramolecular chemistry, and drug development. Therefore, it is of notable importance to create a simple and straightforward approach for the synthesis of 1,2,4-triazoles derivatives. When compared to traditional antibiotics, the results showed that all of these compounds have good antibacterial properties. Finally, the antioxidant activity of each produced molecule was tested, revealing varying levels of activity.