Gadolinium-doped strontium titanate is a typical perovskite structure material which has been studied due their thermomechanical, termoelectrical and electrochemical properties. In this study, local and electronic structure of Sr1-xGdxTiO3 samples were analyzed through X-ray absorption spectroscopy measurements. The results obtained with the adjustment of extended X-ray absorption fine structure (EXAFS) spectra at Sr K-edge show that crystallographic model of Pm-3m space group is consistent with local structure around Sr atoms, as expected. This same analysis also reveals an increasing of the Debye-Waller as a function of the Gd content in some shells, which is associated with disorder induced by Sr vacancies due to the heterovalent Gd incorporation. EXAFS spectra at Gd LIII-edge for Sr1-xGdxTiO3 samples indicates regular GdO12 dodecahedra without displacement of Gd atoms from centrosymmetric position. A disorder was also identified in the shells beyond the first 12 O neighbors in which neither the crystallographic cubic structure of the SrTiO3 nor the orthorhombic structure of the GdTiO3 fits well. X-ray absorption near edge spectroscopy (XANES) spectrum at Ti LIII,II-edges shows an asymmetric peak because of the splitting between the eg orbitals of 3d band for SrTiO3 sample. The addition of Gd atoms to SrTiO3 structure cause an enlargement of this peak and this split is associated with a small displacement of Ti atoms from their centrosymmetric position. Several features of the XANES spectra at O k-edge for Sr1-xGdxTiO3 samples are affected by the increase of Gd concentration. According to our calculated projected density of states, these transitions are related to a reduction in the number of unoccupied O 2p - Ti 3d states caused by the split of Ti 3d band. Moreover, these XANES spectra also show a dependence of the increasing of the hybridization between O 2p and Gd 5d4f6s states.