The invention discloses an automatic packaging device for producing and packaging a digital-to-analog converter. The automatic packaging device comprises a platform and frames, the frames are fixedly connected to the left end and the right end of the front side of the lower end of the platform, and a positioning mechanism is arranged above the frames; the positioning mechanism comprises a first sliding block, an inclined rod, a clamping plate, a first transverse rod, a hydraulic cylinder, a second spring, a supporting rod, a rolling wheel, a base plate and a bottom plate, the bottom plate is fixedly connected to the lower portion of the supporting rod, and the two sides of the second spring are fixedly connected with the bottom plate and the first sliding block correspondingly. The automatic packaging device for production and packaging of the digital-to-analog converter is scientific and reasonable in structure and safe and convenient to use, the circuit board cannot move through cooperation of a hydraulic cylinder, a first sliding block, an inclined rod, a clamping plate, a second conveying belt, a rolling wheel base plate, the digital-to-analog converter and the circuit board, and center positioning of the circuit board is guaranteed through left-right synchronous movement. The problem that position fixation cannot be accurately ensured when packaging and welding between the digital-to-analog converter and the circuit board are carried out is avoided.