An electrochemical cell with sapphire windows for operando synchrotron X-ray powder diffraction and spectroscopy studies of high-power and high-voltage electrodes for metal-ion batteries.