ABO 3 -type perovskite relaxor ferroelectrics (RFEs) have emerged as the preferred option for dielectric capacitive energy storage. However, the compositional design of RFEs with high energy density and efficiency poses significant challenges owing to the vast compositional space and the absence of general rules. Here, we present an atomic-level chemical framework that captures inherent characteristics in terms of radius and ferroelectric activity of ions. By categorizing A/B-site ions as host framework, rattling, ferroelectrically active, and blocking ions and assembling these four types of ions with specific criteria, linear-like relaxors with weak locally correlated and highly extendable unit-cell polarization vectors can be constructed. As example, we demonstrate two new compositions of Bi 0.5 K 0.5 TiO 3 -based and BaTiO 3 -based relaxors, showing extremely high recoverable energy densities of 17.3 and 12.1 J cm −3 , respectively, both with a high efficiency of about 90%. Further, the role of different types of ions in forming heterogeneous polar structures is identified through element-specific local structure analysis using neutron total scattering combined with reverse Monte Carlo modeling. Our work not only opens up new avenues toward rational compositional design of high energy storage performance lead-free RFEs but also sheds light on atomic-level manipulation of functional properties in compositionally complex ferroelectrics.