We proposed a nearly perfect phase-matching for third harmonic generation (THG) in photonic crystals (PhCs), which is independent of the polarization and propagation direction of the fundamental wave. Taking an AlN-like Kerr medium as an example, equal effective refractive indices of the fundamental and the triple frequencies were achieved for both the TM and TE modes simultaneously by fabricating this dispersive medium into a two-dimensional square-lattice PhC. Furthermore, the THG conversion efficiency were numerically calculated by using the...