X-ray absorption spectroscopy (XAS) is a powerful characterization technique for probing the local chemical environment of absorbing atoms. However, analyzing XAS data presents with significant challenges, often requiring extensive, computationally intensive simulations, as well as significant domain expertise. These limitations hinder the development of fast, robust XAS analysis pipelines that are essential in high-throughput studies and for autonomous experimentation. We address these challenges with a suite of transfer learning approaches for XAS prediction, each uniquely contributing to improved accuracy and efficiency, as demonstrated on simulated K-edge X-ray absorption near-edge structure (XANES) spectra database covering eight 3d transition metals (Ti-Cu). This database contains FEFF and VASP K-edge XANES spectra of 3d transition metal-containing oxide materials used to develop the above machine learning models. The materials structures are sourced from the Materials Project, corresponding to primary, secondary, ternary and quaternary oxide materials. Specifically, FEFF9 was used to compute the spectra of Ti, V, Cr, Mn, Fe, Co, Ni and Cu compounds; VASP 6.2.1 was used to compute the spectra of Ti and Cu compounds.