intelligent-utilities/html-to-markdown-or-text 📝✓ → 📝
About
Convert HTML to plain text or markdown, optionally keep links

Example Output
Output
Welcome to My Website
Home Section
This is a sample paragraph with some text content.
Featured Article
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Read More
About Us
We are a company dedicated to creating amazing web experiences.
- Quality service
- Customer satisfaction
- Innovation
Contact Form
Name:
[text input]
Email:
[email input]
Message:
[textarea]
[Send Message]
© 2024 My Website. All rights reserved.
Performance Metrics
2.37s
Prediction Time
2.71s
Total Time
All Input Parameters
{ "html": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>My Sample Page</title>\n <style>\n body {\n font-family: Arial, sans-serif;\n max-width: 800px;\n margin: 0 auto;\n padding: 20px;\n line-height: 1.6;\n }\n .highlight {\n background-color: #ffeb3b;\n padding: 2px 4px;\n }\n .card {\n border: 1px solid #ddd;\n border-radius: 8px;\n padding: 15px;\n margin: 10px 0;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n }\n </style>\n</head>\n<body>\n <header>\n <h1>Welcome to My Website</h1>\n <nav>\n <ul>\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n </header>\n\n <main>\n <section id=\"home\">\n <h2>Home Section</h2>\n <p>This is a <span class=\"highlight\">sample paragraph</span> with some text content.</p>\n \n <div class=\"card\">\n <h3>Featured Article</h3>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <a href=\"#\" class=\"btn\">Read More</a>\n </div>\n </section>\n\n <section id=\"about\">\n <h2>About Us</h2>\n <img src=\"placeholder.jpg\" alt=\"Company photo\" width=\"300\" height=\"200\">\n <p>We are a company dedicated to creating amazing web experiences.</p>\n \n <ul>\n <li>Quality service</li>\n <li>Customer satisfaction</li>\n <li>Innovation</li>\n </ul>\n </section>\n\n <section id=\"contact\">\n <h2>Contact Form</h2>\n <form action=\"#\" method=\"POST\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n \n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n \n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" rows=\"4\" required></textarea>\n \n <button type=\"submit\">Send Message</button>\n </form>\n </section>\n </main>\n\n <footer>\n <p>© 2024 My Website. All rights reserved.</p>\n </footer>\n\n <script>\n document.querySelector('form').addEventListener('submit', function(e) {\n e.preventDefault();\n alert('Form submitted! (This is just a demo)');\n });\n </script>\n</body>\n</html>", "base_url": "", "keep_links": false, "to_markdown": true }
Input Parameters
- html (required)
- HTML to strip
- base_url
- Optional base URL for resolving relative links
- keep_links
- Append (URL) after link text
- to_markdown
- Convert HTML to Markdown instead of plain text
Output Schema
Output
Version Details
- Version ID
06047e696c7770905c4746912cef76306877a25832b9f2b56133b2827d043fdd
- Version Created
- August 14, 2025