A spray-applied nanocomposite coating kills over 99.99% of bacteria on touchscreens while resisting scratches, combining glass-like hardness with the flexibility needed for emerging foldable displays.