Magnetars have magnetic field up to 10^15 G. The ultra-strong magnetic field has profound implications for the mechanical, thermal and radiative evolution of magnetars. In this talk, I will discuss the conversion of magnetic energy to radiations inside and outside magnetars.