The following is a family tree of Chinese emperors from the Northern and Southern dynasties period, of first half of the fifth century AD, till the conquest of China by the Mongols under Kublai Khan, and the sequel end of the Southern Song dynasty in 1279.
Chinese emperors family tree (ancient) → Chinese emperors family tree (early) → Chinese emperors family tree (middle) → Chinese emperors family tree (late)
The following is a simplified family tree for the Sui dynasty (隋朝), which ruled China between AD 581 and 618. The dynasty was named for the family title: the Yang (楊) family were the Dukes of Sui.
Those who became emperor are listed in bold, with their years of reign large. The names given for emperors are posthumous names, the form by which Sui emperors were most commonly known.
The following is a simplified family tree for the Tang dynasty (唐朝), which ruled China between AD 618 and 907. The Tang dynasty was interrupted by the reign of Empress Wu Zetian (AD 690—705), who after deposing her sons, declared herself the founder of a second Zhou (周) dynasty; the Tang dynasty was resumed by her sons following her abdication. The dynasty was named for the family title: the Li (李) family were the Dukes of Tang.
The names given in bold for emperors are temple names, the form by which Tang emperors were most commonly known (with the exception of Shangdi/Shaodi (殤帝 / 少帝), whose posthumous titles mean simply "died young" and "the young emperor", and Aidi (哀帝), also known as Zhaoxuan (昭宣), neither of whom were awarded temple names). It should be noted that the names of Xuanzong I (玄宗) and Xuanzong II (宣宗) are different in the original Chinese, but are rendered the same in Pinyin English transliteration (once the accents have been removed).