What this tool does
Convert common HTML elements to Markdown text. The browser parses the supplied HTML. The converter walks the resulting nodes and maps headings, paragraphs, emphasis, links, lists, code blocks, blockquotes and basic tables to Markdown conventions. Scripts and styles are omitted from the Markdown output.
How to use HTML to Markdown Converter
- Prepare the input. Paste HTML markup.
- Run or configure the tool. Select Convert to Markdown.
- Check and use the output. Review the Markdown and test it in the target renderer before use.
How this tool works
The browser parses the supplied HTML. The converter walks the resulting nodes and maps headings, paragraphs, emphasis, links, lists, code blocks, blockquotes and basic tables to Markdown conventions. Scripts and styles are omitted from the Markdown output.
Worked example
Input: <h1>QA</h1><p><strong>Bold</strong> text.</p>
Output: # QA
**Bold** text.
Limits, assumptions and interpretation
Layout, CSS, interactive behavior and complex tables cannot be represented faithfully as plain Markdown.
- Conversion is not a security sanitizer for later Markdown rendering; validate link schemes and sanitize in the destination.
- Whitespace and nesting can change; inspect the result in the intended Markdown parser.
- This tool processes supplied markup, not a live page or a website URL.
Supported inputs and limits
- <h1>QA</h1><p><strong>Bold</strong> text.</p>
- Layout, CSS, interactive behavior and complex tables cannot be represented faithfully as plain Markdown.
- Conversion is not a security sanitizer for later Markdown rendering; validate link schemes and sanitize in the destination.
- Whitespace and nesting can change; inspect the result in the intended Markdown parser.
- This tool processes supplied markup, not a live page or a website URL.
Frequently asked questions
What does this tool actually do?
The browser parses the supplied HTML. The converter walks the resulting nodes and maps headings, paragraphs, emphasis, links, lists, code blocks, blockquotes and basic tables to Markdown conventions. Scripts and styles are omitted from the Markdown output.
What should I check before using the result?
Layout, CSS, interactive behavior and complex tables cannot be represented faithfully as plain Markdown. Conversion is not a security sanitizer for later Markdown rendering; validate link schemes and sanitize in the destination. Whitespace and nesting can change; inspect the result in the intended Markdown parser. This tool processes supplied markup, not a live page or a website URL.
Is information sent to a server?
Tool inputs are processed in this browser. This product does not use analytics or send your input to an external API. Clicking an external website link still visits that website.