The energy levels, oscillator strengths, spontaneous radiative decay rates, and electron impact collision strengths are calculated for Fe Ⅷ and Fe Ⅸ using the recently developed flexible atomic code (FA3. These atomic data are used to analyse the emission spectra of both laboratory and astrophysical plasmas. The nf-3d emission lines have been simulated for Fe Ⅷ and Fe Ⅸ in a wavelength range of 6-14 nm. For Fe Ⅷ, the predicted relative intensities of lines are insensitive to temperature. For Fe Ⅸ, however, the intensity ratios are very sensitive to temperature, implying that the information of temperature in the experiment can be inferred. Detailed line analyses have also been carried out in a wavelength range of 60-80 nm for Fe Ⅷ, where the solar ultraviolet measurements of emitted radiation spectrometer records a large number of spectra. More lines can be identified with the aid of present atomic data. A complete dataset is available electronically from http://www.astrnomy.csdb.cn/EIE/.