The invention discloses a micro integrated CMOS optical fiber spectrometer, which comprises a light source, an optical fiber, a blazed grating, a concave lens, a linear CMOS sensor, an upper computerand the like. When the selected light source is irradiated to a to-be-tested sample and enters the optical fiber spectrometer, due to different absorption and reflection by different substances towards spectrums in different bands, the spectral characteristics of a to-be-tested substance can be detected, and the kind and the concentration of the substance can thus be judged. The spectrometer is characterized in that an incident optical fiber is adopted, and through optical fiber coupling, a modular measurement system can be formed by the light source and the optical fiber spectrometer. On onehand, the optical fiber replaces an incident slit, the used optical fiber core diameter is changed to adjust the slit width, and on the other hand, the optical fiber is used for transmitting light source signals and sample output signals at the same time, the blazed grating and the concave lens carry out splitting and imaging on the tested light source, the sensor adopts the linear CMOS digital sensor, the CMOS sensor can put a driving circuit, an amplification circuit and a signal processing circuit together, and the size of the spectrometer can be greatly reduced.