Quinoline derivatives showing anticancer activities against cancer cell lines of hepatocellular carcinoma (Hep3B), lung carcinoma (A549), esophageal squamous cell carcinoma (HKESC-1, HKESC-4 and KYSE150). The quinoline derivatives have a backbone structure of the following formulas: