Polarization-dependent X-ray absorption spectroscopy is combined with density functional calculations and atomic multiplet calculations to determine the crystal field parameters 10Dq, Ds, and Dt of transition metal phthalocyanines and octaethylporphyrins (Mn, Fe, Co, Ni). The polarization dependence facilitates the assignment of the multiplets in terms of in-plane and out-of-plane orbitals and avoids ambiguities. Crystal field values from density functional calculations provide starting values close to the optimum fit of the data. The resulting systematics of the crystal field can be used for optimizing electron-hole separation in dye-sensitized solar cells. © 2014 AIP Publishing LLC.