A flexible semiconductor gas sensor of hydrogen is presented. The sensor is based on a TiO2 thin film on polyimide foil. The sensor is capable of room-temperature operation with response of 104 for 1% H2. Bending the sensor 1000 times over diameter of 10 mm did not reduce its performance.