Resonant photoemission spectroscopy was performed on CeIn 3 and CeSn 3 at the 4d-4 f and 3d-4 f core thresholds. Using the different surface sensitivity between the two photon energies, surface and bulk 4 f -photoemission spectra were derived for both compounds. With the noncrossing approximation of the Anderson impurity model, the 4d-4 f resonant spectra together with the surface and bulk spectra were selfconsistently analyzed to obtain the microscopic parameters such as the 4 f -electron energy and the hybridization strength with conduction electrons. The result shows a substantial difference in these parameters between the surface and the bulk, indicating that it is important to take into account the surface effect in analyzing photoemission spectra of Ce compounds. It is also found that the 4 f surface core-level shift is different