The invention relates to logistics sorting equipment, in particular to an automatic sorting device for box-shaped articles. The automatic sorting device comprises an adjustable sorting mechanism, a swinging mechanism and a pushing mechanism. The upper portion of the swinging mechanism is connected with the adjustable sorting mechanism, and the lower portion of the swinging mechanism is connected with the pushing mechanism. The automatic sorting device is installed on a goods carrying table of a stacking machine, is matched with a gravity-type shelf in use, and corresponds to a discharge port of the gravity-type shelf. The automatic sorting device is reasonable in structure and strong in functionality; several articles can be picked out once according to sorting requirements, and compared with a traditional sorting machine, sorting efficiency is obviously improved; and the automatic sorting device is driven by a step motor, and compared with a traditional electromagnetic drive mode and a cylinder drive mode, the automatic sorting device is high in motion precision, precise and reliable in sorting motion, easy to operate, stable in operation, high in speed, low in noise, free of damage to the articles, wide in applicable range for the sorted articles and strong in practicability.