The portable data recorder comprises a recorder body, a mainboard and a wiring board, a protection plate is installed on the outer side of the recorder body, a fixing cylinder, a first spring and a base are installed at the bottom end of the recorder body, a fixing base is installed in the middle of the bottom end of the recorder body, and a suction cup is installed at the bottom end of the fixingbase; filter screens are arranged on the left and right sides of the recorder body; fans are mounted on the outer sides of the filter screens; a supporting column is installed at the bottom end of aninner side of the recorder body, a second spring is installed at the upper end of the supporting column, a cylinder is installed on the outer side of the second spring, and a main board is installedat the top end of the cylinder; a wiring board is installed on the rear side of the recorder body, a rotating shaft is installed outside the wiring board, a cover plate is installed outside the rotating shaft, a magnet is installed inside the bottom end of the cover plate, a limiting groove is formed in the outer side surface of the wiring board, and an iron sheet is installed inside the limitinggroove. The data recorder is reasonable in structure and simple to operate, data can be conveniently recorded, the data recorder is convenient to carry and place, and the working efficiency of data recording is effectively improved.