This research makes the first attempt to apply Ultra High Performance Liquid Chromatography (UHPLC) coupled to both Photodiode Array detection (PDA) and Electrospray Ionisation Mass Spectrometer (ESI–MS) to the chemical characterisation of common textile dyes in ancient China. Three different extraction methods, respectively involving dimethyl sulfoxide (DMSO)-oxalic acid, DMSO and hydrochloric acid, are unprecedentedly applied together to achieve an in-depth understanding of the chemical composition of these dyes. The first LC-PDA-MS database of the chemical composition of common dyes in ancient China has been established. The phenomena of esterification and isomerisation of the dye constituents of gallnut, gardenia and saffron, and the dye composition of acorn cup dyed silk are clarified for the first time. 6-Hydroxyrubiadin and its glycosides are first reported on a dyed sample with Rubia cordifolia from China. UHPLC-PDA-ESI–MS with a C18 BEH shield column shows significant advantages in the separation and identification of similar dye constituents, particularly in the cases of analysing pagoda bud and turmeric dyed sample extracts.