Rechargeable magnesium batteries (RMBs) hold significant promise for next-generation energy storage, owing to their low cost, high volumetric capacity (3833 mA h cm⁻³), and dendrite-free formation.