A ventilator system comprising: a ventilator having a first side provided with a first port; a humidifier having a second side engaging with the ventilator and provided with a second port; and a connection device provided on the first side of the ventilator or the second side of the humidifier and used to connect the first port of the ventilator with the second port of the humidifier. The connection device comprises: a first port, a second port and an airflow channel connecting the first port with the second port, wherein when the humidifier is separated from the ventilator, the connection device is capable of rotating from a connection position connecting the first port and the second port to a closed position for preventing foreign objects from falling into the first port and the second port. The ventilator system resolves issues of foreign objects falling into connection ports of a ventilator.