{"category":"web","endpoint":"https://setget.net/v1/tools/html-to-text","examples":[{"input":{"links":true,"text":"<html><head><title>Demo</title><style>p{color:red}</style></head><body><nav>Menu</nav><h1>Hello &amp; welcome</h1><p>Read the\n <a href=\"/docs\">docs</a>.</p><ul><li>One</li><li>Two</li></ul></body></html>"},"output":{"text":"Hello & welcome\n\nRead the docs (/docs).\n\n- One\n- Two","title":"Demo"}},{"input":{"text":"<table><tr><th>Name</th><th>Age</th></tr><tr><td>Sam</td><td>31</td></tr></table>"},"output":{"text":"Name\tAge\nSam\t31","title":null},"title":"Table rows become tab-separated lines"}],"input_schema":{"additionalProperties":false,"properties":{"links":{"default":false,"description":"Add each link address in brackets after its text.","type":"boolean"},"text":{"description":"The HTML to convert.","examples":["<h1>Hello &amp; welcome</h1><p>Read the <a href=\"/docs\">docs</a>.</p>"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["html to text","strip html","strip tags","plain text","extract text","remove html","readable text","scrape text"],"related":["html-extract-links","html-to-markdown","og-tags-extract","html-minify"],"slug":"html-to-text","summary":"Extract readable plain text from HTML: headings, paragraphs, list bullets and table rows, without scripts or menus.","tier":"inline","title":"HTML to plain text","url":"https://setget.net/tools/html-to-text"}
