This paper provides a novel fuzzy PI controller design for LLC resonant converters that make use of the sparrow search algorithm optimization. The LLC resonant converter is a complex nonlinear and time-varying system. As the trend in lithium battery energy conversion systems shifts toward high-power applications, they frequently encounter wide load variations. When employing traditional linear PI controllers of LLC resonant converters, the transient response is slow and fails to adapt effectively to the requirements of wide load changes. In this proposed approach, fuzzy control and PI control are combined to enhance the controller’s flexibility and transient response characteristics. The PI controller parameters are continuously adjusted online, incorporating fuzzy control outputs to improve the controller’s performance. Furthermore, the sparrow search algorithm is applied to optimize the proportional and quantization factors, minimizing the impact of improper parameter selection on the performance of the fuzzy PI controller. This method successfully addresses the challenges posed by the LLC resonant converter, improving adaptability and transient response characteristics in varying load conditions by combining fuzzy control and PI control, online parameter modification, and utilizing the sparrow search algorithm to optimize proportional and quantization factors.