Turn HTML into equivalent Markdown-structured text html2text is a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format). all GPLv3 https://github.com/Alir3z4/html2text http://alir3z4.github.io/html2text/