Optical soliton shaping is the process of changing the waveform of transmitted pulses, and has been applied in optical communication systems to make the pulse fit in their communication channels. In this paper, the concept of optical soliton shaping is introduced in dispersion decreasing fibers with the sine profile. Pulse propagation in dispersion decreasing fibers, which can be described by the variable coefficient higher-order nonlinear Schrodinger equation with the effects of third-order dispersion, self-steepening, and stimulated Raman scattering, is investigated. With the symbolic computation and Hirota method, analytic soliton solutions for the equation are derived. Through adjusting corresponding parameters for obtained solutions, we present the optical soliton shaping, and the influences of parameters are discussed.