The aim of this paper is to present solitary wave solutions of two different forms of Klein–Gordon equations with full nonlinearity. The (G′G) -expansion method is applied to solve the governing equations and then exact 1-soliton solutions are obtained. It is shown that this method provides us with a powerful mathematical tool for solving nonlinear evolution equations in mathematical physics.