The colorimetric gas sensor offers an opportunity for the simple and rapid detection of toxic gaseous substances based on visually discernible changes in the color of the sensing material. In particular, the accurate detection of trace amounts of certain biomarkers in a patient's breath provides substantial clues regarding specific diseases, for example, hydrogen sulfide (H 2 S) for halitosis and ammonia (NH 3 ) for kidney disorder. However, conventional colorimetric sensors often lack the sensitivity, selectivity, detection limit, and mass-productivity, impeding their commercialization. Herein, we report an inexpensive route for the meter-scale synthesis of a colorimetric sensor based on a composite nanofiber yarn that is chemically functionalized with an ionic liquid as an effective H 2 S adsorbent and lead acetate as a colorimetric dye. As an eyereadable and weavable sensing platform, the single-strand yarn exhibits enhanced sensitivity supported by its high surface area and well-developed porosity to detect the breath biomarker (1 ppm of H 2 S). Alternatively, the yarn loaded with lead iodide dyes could reversibly detect NH 3 gas molecules in the ppm-level, demonstrating the facile extensibility. Finally, we demonstrated that the freestanding yarns could be sewn into patterned textiles for the fabrication of a wearable toxic gas alarm system with a visual output.