A hydraulic system for a leveling apparatus in excavator and forestry equipment is provided, whereby an upper frame of the equipment is kept in a horizontal state even if a lower frame of the equipment is on an inclined ground against a horizontal surface H. The hydraulic system a pair of first and second actuators and a pair of third and fourth actuators for rocking the lower part of the upper frame, first leveling control valves for simultaneously controlling extension and contraction of the first and second actuators, second leveling control valves for simultaneously controlling extension and contraction of the third and fourth actuators a reducing valve for discharging a reducing pilot signal pressure, and flow control valves for discharging the pilot signal pressure for the spool shifting of the first and second leveling control valves when a control signal is applied from a preset leveling controller.