An advance could make it possible to produce tiny spectrometers that are just as accurate and powerful as their benchtop counterparts but could be mass produced using standard chip-making processes.