I’ve found myself having to convert HTML to plain text a few times in a row now and thought I would post my very simple solution for it.

It’s got a few caveats, for example it won’t handle <pre> tags or margins on divs and such thing. Not even paragraphs. But I just wanted a simple conversion so it was enough for me, feel free to extend it. You can try it out using this dotnetfiddle.