We focus on nonlinear optimal control to stabilizable analytic systems. By generalizing Kleinman iteration for linear system, we construct a sequence of nonlinear stabilizing feedback control, which is uniformly converging to an optimal feedback control. We present an algorithm for computing the control sequence. An example is illustrated.