The invention relates to an intelligent type shredding machine with a collecting function. The machine comprises a base, a machine frame, a shredding chamber, a hopper and a shredding mechanism, and further comprises a collecting mechanism and a compacting mechanism, wherein the collecting mechanism comprises a detection assembly and two conveyors; the compacting mechanism comprises an adjusting component and two compacting components. According to the intelligent type shredding machine with the collection function, collecting boxes can be placed on the collecting mechanism in sequence, through starting the collecting mechanism, materials can be continuously collected in the collecting boxes in sequence, and compared with the mode of manual collection, time and labor are saved, labor intensity of workers is relieved, automatic collection is achieved, and the collection efficiency is high; and next, the compacting mechanism is used for compacting the materials, so that a certain gap exists among the materials, and then the waste of the space of the collection box is avoided, and the collection efficiency of the materials is improved.