The invention discloses an automatic palletizing machine. The automatic palletizing machine is provided with a board receiving mechanism mainly composed of a board receiving device, a downward pressing device and temporary board receiving devices symmetrically arranged on two sides of the output end of a conveying mechanism. When the machine is in work, a transmission shaft is driven to rotate bya third driving device, so that a crank connection rod component connected with a rotation shaft drives clamping boards to do reciprocating actions of opening or closing, and thus a board can be accurately clamped, meanwhile the arranged downwards pressing device presses downwards, the board is effectively pressed down and palletized, and the board is prevented from blocking the machine. Therefore, the board receiving mechanism adopted by the invention can accurately carry and effectively level the boards, automatically and orderly palletize the boards, and also can solve the technical problems that the boards cannot be palletized due to the fact that the surfaces of the boards are uneven, and the boards deviates during a conveying process; and palletizing of the boards adopts a way of receiving the boards from the bottom up, so that the machine has the advantages of being good in palletizing effect, prevented from being blocked, not easy to wear and high in security performance.