Flexible and transparent electronics, such as interactive digital products and human-friendly health-care monitors, are expected to fundamentally change the way of our daily life. Inorganic semiconductors, as a class of important functional materials, are key components of electronic devices. However, their applications in soft electronics are severely confined due to the brittleness. We demonstrate that by structural design of a nanobelt network, extraordinary mechanical flexibility and high optical transparency can be achieved in conventionally fragile ceramics. High-performance photodetectors based on this inorganic nanobelt network are demonstrated on multiple flexible substrates, which strongly indicates its great potential in soft electronics.