How to use the HTML to Markdown Converter
- Paste HTML (or open an .html file).
- The Markdown updates as you type.
- Copy it or download a .md file.
What does this tool do?
Useful when moving content from WordPress, Confluence or a web page into a Markdown-based tool like GitHub, Notion, Obsidian, Hugo or Docusaurus. Code blocks keep their language from class="language-…", tables become GFM pipe tables and scripts and styles are dropped.
Everything runs in your browser — nothing you paste is uploaded.
Why use it?
- GitHub-flavoured tables.
- Keeps code languages.
- Nested lists.
Use cases
- Move blog posts from WordPress to a static site.
- Copy Confluence or web pages into GitHub, Notion or Obsidian.
- Write documentation from existing HTML.
Before and after
<h2>Setup</h2><p>Run <code>npm i</code></p><ul><li>Fast</li></ul>
becomes a level-2 heading “## Setup”, the paragraph “Run `npm i`” with inline code, and a bullet list item “Fast”.
Common mistakes
- Expecting layout and styling to survive — Markdown keeps structure, not design.
- Converting whole pages with menus and footers instead of just the article.
- Forgetting to check tables with merged cells, which Markdown can't represent.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Frequently asked questions
What is GitHub-flavoured Markdown?
Markdown plus tables, task lists and fenced code blocks, as used on GitHub.
Are tables kept?
Yes, HTML tables become GitHub-flavoured pipe tables.
Are scripts removed?
Yes, scripts and styles are dropped.
Content last updated . See how M2Toolkit works.