When you copy styled content from a webpage (Ctrl+C), your clipboard holds two versions: the plain text and the underlying HTML with formatting tags. Pasting into a plain-text input gives you only the text. But clicking the Paste rich text from clipboard button reads the HTML version, which this tool then converts to clean Markdown. Preserving headings, bold, italic, links, code blocks, and tables. This workflow is the fastest way to convert documentation, blog posts, or README content from the web into Markdown for use in GitHub, Notion, or any Markdown editor.
When to convert HTML to Markdown
Migrating to a Markdown-based platform. Moving a WordPress or Confluence site to GitHub Pages, Jekyll, Hugo, or Docusaurus requires converting HTML content to Markdown. Paste the source HTML and get clean Markdown output in one step.
Copying documentation from the web. When you want to reference or adapt content from a webpage in a README, wiki, or Markdown editor, the clipboard paste button extracts the rich text HTML and converts it instantly.
Cleaning up CMS exports. Content exported from Notion, Confluence, or other CMS platforms often contains HTML markup. This tool strips the HTML to produce clean, portable Markdown.
LLM prompt preparation. Markdown is more token-efficient than raw HTML in large language model prompts. Converting HTML reference material to Markdown before including it in a prompt reduces token usage significantly.
Technical writing workflows. Writers who author in a WYSIWYG editor but publish to a Markdown-based system use this step to bridge the two formats without manual reformatting.
Frequently Asked Questions
How do I convert HTML to Markdown online?
Paste raw HTML into the input panel and the Markdown output appears instantly on the right. For styled content copied from a webpage, click the Paste rich text from clipboard button to read the HTML version from your clipboard and convert it directly. Click Copy to copy the Markdown output.
Why would I convert HTML to Markdown?
Markdown is easier to write, read, and version-control than HTML. Converting HTML to Markdown is useful when migrating documentation from a CMS to GitHub, moving blog posts to a static site generator, cleaning up Confluence or Notion exports, or preparing reference material for LLM prompts where Markdown uses fewer tokens than raw HTML.
Does this support all HTML elements?
Semantic elements are converted: headings (h1-h6), bold, italic, links, images, inline code, fenced code blocks, ordered and unordered lists, blockquotes, horizontal rules, and GFM tables and strikethrough. Inline styles, CSS classes, span tags, div wrappers, and presentational attributes are stripped because Markdown has no equivalent for them.
Can I convert rich text copied from Google Docs or Notion?
Yes. When you copy content from Google Docs, Notion, Confluence, or most web-based editors, the clipboard holds HTML internally. Use the Paste rich text from clipboard button to read the HTML version and convert it to Markdown.
Are GitHub Flavored Markdown tables supported?
Yes. The converter uses the turndown-plugin-gfm plugin, which converts HTML table elements to GFM pipe tables. Strikethrough (del) and task list checkboxes (input type checkbox) are also supported.
What happens to inline styles and CSS classes?
Inline styles and CSS classes are stripped. Markdown has no equivalent. Only semantic HTML elements are converted. Visual-only formatting is discarded.
Does the tool convert Markdown to HTML?
Not directly. For Markdown to HTML, use the Markdown Preview tool which renders Markdown live in the browser and includes a Copy HTML button to get the rendered HTML output.
Why does the clipboard paste button not work in Firefox?
Firefox restricts access to non-text clipboard MIME types such as text/html for security reasons. The button falls back to plain text in Firefox. For best results, use Chrome or Edge, or paste raw HTML manually into the input panel.