1. View Source on an HTML page.
2. Select all and copy to clipboard
3. Paste in HTML textarea
4. Hit Strip
The stripped box will just contain the raw text.