Skip to main content

What does this node do?

Converts HTML content to Markdown format. Ideal for preparing content for AI processing.

Configuration

html
string
required
HTML content to convert.

Output

{
  "markdown": "# Heading\n\nParagraph text...",
  "word_count": 500
}

Why use Markdown?

  • AI models work better with Markdown
  • Cleaner, more readable format
  • Preserves document structure
  • Smaller token usage

Example

Input HTML:
<h1>Title</h1>
<p>This is a <strong>paragraph</strong>.</p>
<ul>
  <li>Item 1</li>
  <li>Item 2</li>
</ul>

Output Markdown:
# Title

This is a **paragraph**.

- Item 1
- Item 2