A horizontal type automatic profiling pineapple peeling machine comprises a lead screw drive mechanism, a knife system, a cam mechanism, a synchronous belt drive mechanism, a clamp system and a rack, wherein the lead screw drive mechanism comprises a lead screw motor, a lead screw, a coupler, an A-shaped key, a sliding rail, a sliding block and a fixing block. The knife system comprises a knife, a sleeve, a knife rest, an adjusting screw and a fixing boss. The cam mechanism comprises a profiling cam frame, a cam rod, a supporting rod, a supporting sleeve and a compression spring. The synchronous belt drive mechanism comprises a stepping motor, a small belt wheel, a synchronous belt, a clamp wheel and a B-type key. The clamp system comprises a clamp wheel, a retainer cup, a conical chuck and a telescopic spring. The cam rod of the peeling machine can drive the knife to telescope along an arc line outline of the profiling cam frame, so that the peeling machine can adapt to different shapes of drum-shaped pineapples.