Repository navigation
Initial release
html2text 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).
It is a PHP port of Alir3z4/html2text with few fixes and updates.
Functionality parity is checked via the test suite, which contains all the test cases from the original and more.
Most of the code was translated with AI with a lot of refactoring and fixes.