The utility model provides an air conditioner which comprises an all-in-one
machine arranged outdoors and internally provided with a first cavity and a second cavity. The all-in-one
machine comprises a
machine shell, a heat exchange air inlet and a first ventilation opening are formed in the machine shell; the indoor
heat exchanger is arranged in the first cavity; the first cavity comprises an air inlet cavity and an air outlet cavity, and the air inlet cavity and the air outlet cavity are located on the two sides of the indoor
heat exchanger. The outdoor space communicates with the air inlet cavity through the heat exchange air inlet; the heat exchange air outlet device is arranged indoors, and a heat exchange air outlet is formed in the heat exchange air outlet device; an air outlet channel is formed in the air outlet
pipe, one end of the air outlet
pipe is connected with the machine shell, one end of the air outlet channel communicates with the air outlet cavity, the other end of the air outlet
pipe is inserted into the wall, and the other end of the air outlet channel communicates with the heat exchange air outlet; the air outlet pipe comprises a length-adjustable telescopic pipe, and the telescopic pipe is a bendable hose; the indoor space occupied by the air conditioner can be reduced, and the problem that the air conditioner cannot be installed in a small space is solved; outdoor
fresh air can be introduced, and the problem that indoor lampblack enters the air conditioner is solved; the air outlet pipe can be bent and stretched out and drawn back, and the all-in-one machine can be conveniently connected with the heat exchange air outlet device.