Wen Dalin (575–637), courtesy name Yanbo, better known as Wen Yanbo, posthumously known as Duke Gong of Yu, was a Chinese official who lived in the early Tang dynasty. He was a key advisor to the Tang dynasty's founding emperor, Emperor Gaozu, and served as a chancellor during the reign of Gaozu's successor, Emperor Taizong. He was captured by the Göktürks and lived among them for years. After he was freed, he drew on his experiences to provide advice to Emperor Taizong on the Tang Empire's policies towards the Göktürks.