Pt-, Pd-, and Zr-doped SnO2 thin films and dopant-free VOx films were fabricated by planar magnetron sputtering. Tests for sensitivity to SO2 for all samples were conducted at 180Â°C, and the sensitivities were investigated exsitu with photometric and ellipsometric methods at room temperature. It was found that the optical sensitivities as well as the sensitive wavelength region for SnO2 films could be tuned by doping. The Pd-doped SnO2 films had good sensitivity in the visible range, and the Zr-doped in the near IR. The dominant sensitive wavelength region for VOx films fell into the visible range, and the ratio of the sensitivity in the visible to that in the near IR increased with O2/Ar in the depositing atmosphere.