HTML to Markdown Converter
Convert HTML into readable Markdown with headings, lists, links, images, code blocks and tables.
The HTML is parsed as inert data: scripts do not run and no images or links are loaded.
Move your content to Markdown
Moving content from WordPress, an old CMS or a web page into GitHub, GitLab, Notion, Obsidian, Docusaurus or a wiki means converting HTML to Markdown. This tool produces clean, readable Markdown.
Converted elements
- h1–h6 headings
- Ordered and unordered lists
- Links and images
- Code blocks and inline code
- Bold, italic and blockquotes
- Tables
Safe parsing
Script and style blocks are dropped and the HTML is parsed without running anything. For tags with no Markdown equivalent, the text is kept and the tag removed.
How to use HTML to Markdown Converter
- Paste the HTML code.
- The Markdown output appears instantly.
- Check the result.
- Copy or download the Markdown.
Why use this tool?
Largely removes the need to reformat by hand during content migrations.
FAQ
What happens to tags Markdown can't represent?
Their text content is kept and the tag itself dropped, so no information in the text is lost.
Can I enter a page URL?
No, copy and paste the page's HTML source.
Are images downloaded?
No, image addresses are kept using Markdown image syntax.
Related tools
Markdown to HTML Converter
Convert Markdown into clean HTML with GitHub-style tables, task lists and a safe live preview.
Open toolMarkdown Previewer (Live Editor)
Write Markdown on the left and see the formatted result live on the right; ideal for READMEs.
Open toolRemove HTML Tags
Strip HTML tags and get clean plain text with line breaks preserved for paragraphs, lists and headings.
Open toolHTML Table to CSV Converter
Turn tables in pasted HTML into clean CSV, respecting colspan and rowspan.
Open tool