If you have frequent voltage spikes a surge protector will be handy. It depends.
Matters little how 'clean' or 'dirty' power is. Because a first thing electronics do is convert those spikes to high voltage DC. And then converts that to high voltage radio wave spikes. 'Dirtiest' power to electronics is created inside the power supply - regardless of how 'clean' AC power is. 'Sensitive electronics' is mostly urban fable since electronics even 40 years ago were required to withstand over 600 volts. Today's electronics are even more robust.
Output from this 120 volt UPS is 200 volt square waves with a spike of up to 270 volts. Due to superior conditioning required inside all electronics, even that UPS is ideal power. BTW, it was promoted as a pure sine wave UPS. Because square waves and spikes are nothing more than a sum of pure sine waves. Others recite that advertising myth by ignoring the numbers.
Most conditioning is recommended on hearsay, fear, and wild speculation. If needed, the recommendation came with specification numbers and numbers that define 'dirty' power. Then we learn that most spike removers (ie Tripplite) and other conditioners are inferior to what already exists inside electronics.
First it converts 'clean' power into 'dirtiest' in the house. Then superior filters and other conditioners convert that 'dirtiest' power into rock solid and stable, low voltage DC. Matters little what adjacent and expensive magic boxes do. Best line conditioner is often inside electronics. But then conditioners were recommended to cure something that was not even defined by numbers. No numbers is typical of junk science reasoning.
Some rare anomalies can overwhelm superior conditioning inside electronics. One might occur once every seven years. Those solutions do not work properly when adjacent to electronics. And are beyond what the OP asked for.