Youxia (simplified Chinese: 游侠; traditional Chinese: 遊俠; pinyin: Yóu Xiá, [jǒʊɕjǎ]) was a type of ancient Chinese folk hero celebrated in classical Chinese poetry and fictional literature. It literally means "wandering vigilante", but is commonly translated as "knight-errant" or less commonly as "cavalier", "adventurer", "soldier of fortune" or "underworld stalwart".
Of the two characters of the term, yóu (遊) literally means to "wander", "travel" or "move around", and xiá (俠) means someone with power who helps others in need. The term refers to the way these men solely travelled the land using physical force or political influence to right the wrongs done to the common people by the powers that be, often judged by their personal codes of chivalry. Youxia did not come from any social class in particular. Various historical documents, wuxia novels and folktales describe them as being princes, government officials, poets, musicians, physicians, professional soldiers, merchants, monks and even humble farmers and butchers. Some were just as handy with a calligraphy brush as others were with swords and spears.
According to Dr. James J. Y. Liu (1926–1986), a professor of Chinese and comparative literature at Stanford University, it was a person's temperament and need for freedom, and not their social status, that caused them to roam the land and help those in need. Dr. Liu believes this is because a very large majority of these knights came from northern China, which borders the territory of "northern nomadic tribes, whose way of life stressed freedom of movement and military virtues". Many knights seem to have come from Hebei and Henan provinces. A large majority of the characters from the Water Margin, which is considered one of China's best examples of knight-errant literature, come from these provinces.