Free online tools to generate, calculate,
convert, format, encode, and play.
 

HTML to Markdown

Paste or type HTML below to convert it to clean Markdown instantly.



How It Works

This tool parses HTML and converts it to clean, readable Markdown syntax. All processing runs entirely in your browser — no data is sent to any server.

Supported Elements

  • Headings: <h1> through <h6> become # through ######
  • Emphasis: <strong>/<b> become **bold**, <em>/<i> become *italic*
  • Links: <a href="url">text</a> becomes [text](url)
  • Images: <img src="url" alt="text"> becomes ![text](url)
  • Lists: <ul> and <ol> with proper nesting support
  • Code: <code> becomes inline backticks, <pre><code> becomes fenced code blocks
  • Blockquotes: <blockquote> becomes > prefixed lines
  • Tables: <table> becomes pipe-delimited Markdown tables
  • Horizontal Rules: <hr> becomes ---

Use Cases

  • Web scraping: Convert HTML content to Markdown for documentation or notes
  • Blog migration: Convert HTML posts to Markdown for static site generators
  • Documentation: Turn HTML docs into Markdown for GitHub or GitLab
  • Content portability: Move content between HTML and Markdown-based systems

Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with