Turndown icon

Turndown

Convert HTML in Markdown

Turndown

AI-generated

Summary

Convert provided HTML content into Markdown format and store the result in a specified output field.

Inputs

  • HTML (required) — The HTML string to be converted into Markdown.
  • Destination Key (required) — The JSON key path where the converted Markdown output is saved, supporting nested keys using dot notation (e.g., 'level1.level2.newKey').

Output shape

a list of JSON objects

Each input JSON item is returned with the Markdown result placed at the specified destination key; original input fields are preserved. Errors are returned as objects with an 'error' message if 'continueOnFail' is set.

Examples

Example 1: Convert raw HTML input to Markdown

Provide HTML in the 'HTML' parameter and specify the output field name (default 'data'). The node outputs the original JSON with the Markdown converted content added at that field.

Discussion