Don’t you just love the WordPress editor sometimes? Just when you least expect it, you click the text/html tab and find a heap of div or span tags added to your text or code!
Don’t stress, because I have found the ultimate solution on how to clean them up quickly and easily.
Enter the HTML Tag stripper tool which is a free online solution you can use several ways.
You can simply copy and paste anything into the box or add a file. On top of this, you can remove all HTML tags or exclude the ones you want to keep.
Here’s the before and after shots
Code Containing Unwanted HTML Tags
Code After Removing HTML Tags
Great for cleaning up CSS code and text which contains a heap of span and div tags.
If you want to remove some or all attributes, here’s a tool which enables you to do this.
This tool enables you to keep any of these attributes:
And you can keep any of these HTML tags: