In this study, we have fabricated a fiber-optic pH sensor which is composed of a light source, plastic optical fibers and a spectrometer. As an indicator, a phenol red is used, and a pH liquid solution is prepared by mixing of phenol red and various kinds of pH buffer solutions in these experiments. The emitting light from a light source is guided by plastic optical fibers to the pH liquid solution, and the optical characteristic of a light is changed in the pH liquid solution according to its color change. Therefore, we have measured the intensities and wavelength shifts of the modulated lights, which are changed due to the color variations of phenol red at different pH values, by using of a spectrometer for spectral analysis. Also, the relationships between the pH values of liquid solutions and the optical properties of modulated light according to the change of color of phenol red are obtained.