The invention relates to the technical field of automatic equipment, in particular to an automatic discharging and overturning system and a box assembling system. The automatic discharging and overturning system comprises a machine frame, a discharging device and a lifting mechanism, wherein the discharging device and the lifting mechanism are arranged on the machine frame; the lower end of the lifting mechanism is connected with an overturning device, and the overturning device is arranged right above the discharging device and comprises a clamping mechanism and a rotating mechanism; and the rotating mechanism is connected to the clamping mechanism and is used for driving the clamping mechanism to turn over. According to the automatic discharging and overturning system and the box assembling system, in the operation process, a product to be overturned is placed on the discharging device, the lifting mechanism descends in place, the clamping mechanism extends out and clamps the product, the rotating mechanism drives the clamping mechanism to rotate so as to overturn the product, the structure is simple and compact, and therefore the equipment cost and space can be saved; and the operation is simple and convenient, the control is convenient, the automation degree is high, the automatic and continuous function can be favorably achieved, in addition, the stability of maintaining the product quality can be facilitated, the automatic discharging and overturning system and the box assembling system can be widely applied to automatic dispensing on a production line and discharging of other industries, and the practicability is high.