The invention discloses an environment-friendly window type fresh air ventilator capable of ascending and descending. The environment-friendly window type fresh air ventilator comprises a machine body, a motor, a first rotating shaft, a cross-flow fan, a filter element, a notch, a lysozyme filter column, a second rotating shaft, a bearing seat, a bearing, a dust outlet, a baffle, a first mountingseat, a brush, a limiting groove, a second mounting seat, a second electric push rod, a rack, a sliding groove, a guide rod, a stop block, a heating piece, an activated carbon filter screen, sound-absorbing cotton, a high efficiency filter screen, an air inlet and a primary effect filter screen. Compared with the prior window type fresh air ventilator, designed louver can automatically adjust theopening and closing angle, control the air direction and is convenient to use, designed air purification system adopts the multi-stage treatment design, harmful substances in air can be effectively removed, and real clean air is exhausted. According to the environment-friendly window type fresh air ventilator capable of ascending and descending, an automatic cleaning function is designed, automatic dust removal in the equipment can be achieved, the maintenance cost is reduced, and the user satisfaction is improved.