The invention discloses phenylpiperazine derivatives and pharmaceutically acceptable salts thereof. The invention is characterized in that: the derivatives have the structure shown as a formula I; and in the formula, R1 refers to -H, -R, -OR, -COOR, halogen or -CN group, R refers to alkyl, the substitution position of R1 on a benzene ring is a para-position, ortho-position or meta-position of piperazine, m is a natural number ranging from 0 to 2, and R2 refers to a substituted or unsubstituted carboxyl group or sulfonic acid group. The phenylpiperazine derivatives and pharmaceutically acceptable salts thereof can be prepared into medicines for inhibiting tumor cell metastasis and tumor angiogenesis, medicines for treating liver cancer, breast cancer, ovarian cancer, gastric cancer, colon cancer, lung cancer or melanoma, tumor chemotherapy medicines and auxiliary medicines in surgical therapy.