How to clean html?

Hello everyone!

My problem is that when I open the csv extracted in libreoffice I cut the content because they exceed the characters per cell. My question is, is there any way to extract the content by cleaning the html code? If you could remove styles and tags div, font, etc... you would save space not to exceed the limit of libreoffice and excel. Do you know if there is any possibility?

Or, could you open the csv file in some program or tool to clean and leave the html code clean?

Thank you.