Modern industry urgently needs air quality detectors, which are used to detect air pollutants, such as; CO, CO2, SO2, and NO2, which are not good for the health of living beings and the environment. In this study, we created a tool that can monitor the gas and provide results in PPM (parts per million). Sensors will collect parameter data and environmental data will be output to the server.The conclusions as follows: first, The design of the air pollution detection device uses the MQ-135 gas sensor with IOT-based technology to detect CO2, SO2, and NO2 gases. The input from the gas sensor is processed through the ESP-8266, will produce an air quality index output, thus displaying the index in various places/locations, which will be displayed on the monitor, and, the second is The latest implementation of this air pollution detection tool using the MQ-135 can identify hazardous air levels of CO2, SO2, and NO2 gases, which then provide indications and information to android application users and computers, with an air quality index/value.