The foil-excited the spectrum of highly stripped titanium ions between 12-40 nm has been studied. Titanium ions of 80 and 120 MeV were provided by the HI-13 tandem accelerator at the China Institute of Atomic Energy. GIM-957XUV-VUV monochromator was refocused to get highly-resolved spectra. Our experimental results and the published spectral data of laser-produced plasma show agreement in nearly all cases within ±0.03 nm. The spectra contained some weak or strong lines previously unclassified. These spectral lines mainly belong to 2s2p2 for TiⅩⅧ, 2p3 for TiⅩⅧ, 2s2p3 for TiⅩⅦ, 2p64p for Ti Ⅻ and 2p63d for Ti Ⅻ transitions.