In this paper we prove some new identities for multiple zeta values and multiple zeta star values of arbitrary depth by using the methods of integral computations of logarithm function and iterated integral representations of series. By applying the formulas obtained, we can prove that multiple zeta star values whose indices are the sequences (1, {1} m ,1) and (2, {1} m ,1) can be expressed polynomially in terms of zeta values, polylogarithms and ln(2). Finally, we also evaluate several restricted sum formulas involving multiple zeta values.