Volatile fatty acids (VFAs), which are largely generated during the anaerobic acidification process, are considered to be reliable indicators of the stable process operation. However, the common methods for monitoring VFAs are offline, and they are typically manual requiring time-consuming, costly and complex instruments. This study aims to develop a novel online analyzer for automatic measuring VFAs, which was based on the 5-pH point titration, embedded with a proportional-integral-derivative (PID) feedback control system. The results show that it can achieve accurate and rapid monitoring of VFAs ranging between 0-400 mg/L (<9 min/sample) but simultaneously faces the problems of overtitration and interference of complex characteristics of wastewater. In order to improve its accuracy and stability, the effects of three general coefficients (KI, KP, and KD) of PID on the titration were investigated, and the optimal values of KI, KP, and KD were found to be 1.5, 1.0, and -1.0~0.5, respectively. Besides, the initial titration speed was set at 0.06 mL/min, equal to the minimum speed of the peristaltic pump, and the dichotomy approach was integrated into the PID feedback controller. Owing to the above improvements, the relative mean deviation and standard deviation of measuring VFAs in both synthetic and real wastewaters were mostly lower than 5.0% and 5.0 mg/L, proving the online analyzer is rapid, accurate and reliable.