Spectral characterizations play the important roles in both scientific research and industry. Now, there is a growing demand for spectrometers that have the merits of miniaturized size, high-efficiency, and high spectral resolution. Here, a planar photonic chip containing a photonic band gap (PBG) with tailored dispersion relations is proposed to work as a high-efficient compact spectrographic device, taking advantages of its loading Bloch surface waves (BSWs). When this chip was attached to a prism, the angular dispersion power of the low-loss BSWs enhances the spectra resolving ability of this prism without any need for inversion algorithms or physical slits, thus resulting in high efficiency in utilizing the optical signals and retrieving the spectra. The spectra of various source, such as laser, white light, fluorescence emission, and even the Raman scattering light are characterized with the compact high-efficient spectrographic devices. The achieved spectral resolution can be as high as 0.6 nm.