Developer Tools
Free HTML to Markdown Converter — Clean GFM Output Instantly
Convert HTML to clean, readable Markdown. Preserves headings, bold, italic, links, images, code blocks, tables and lists. Outputs GitHub Flavored Markdown with full customisation options.
Options:
Bullets:
Input: 1040 charsOutput: 0 charsWords: 0Lines: 1Reduction: 100%
How to Convert HTML to Markdown
1
Paste your HTML
Paste HTML source code into the left panel. Use the Paste HTML button to grab from your clipboard, or type directly.
2
Configure options
Toggle GFM Tables, fenced code blocks, image handling and header style. Choose your preferred bullet character.
3
Review the output
The Markdown output appears instantly on the right. Toggle to Preview mode to see how the Markdown will render.
4
Copy or download
Copy the Markdown to clipboard or download as a .md file ready for GitHub, Notion, Obsidian or any Markdown platform.
❓ Frequently Asked Questions
What is Markdown and why convert from HTML?+
Markdown is a lightweight markup language that uses plain text formatting syntax to produce HTML. It's widely used in README files, documentation, CMS platforms (Ghost, Gatsby, Jekyll), note-taking apps (Obsidian, Notion) and developer platforms (GitHub, GitLab). Converting from HTML to Markdown lets you take content from websites or HTML editors and move it into any Markdown-based platform while preserving the formatting.
What HTML elements does this converter support?+
The converter handles all standard HTML elements: headings (h1–h6), paragraphs, bold (strong, b), italic (em, i), strikethrough (del, s), inline code (code), code blocks (pre), blockquotes (blockquote), unordered lists (ul/li), ordered lists (ol/li), links (a), images (img), horizontal rules (hr), and tables (table/thead/tbody/tr/th/td) using GitHub Flavored Markdown (GFM) table syntax.
What is GitHub Flavored Markdown (GFM)?+
GitHub Flavored Markdown (GFM) is a widely-adopted extension of standard Markdown that adds: tables (using | pipe separators), task lists (- [ ] and - [x]), strikethrough (~~text~~), fenced code blocks with language identifiers (```javascript), and @mentions. GFM is the default on GitHub, GitLab, VS Code, many CMS platforms and developer tools. Our converter outputs GFM-compatible Markdown by default.
How do I handle iframes, scripts and embedded content?+
Iframes, scripts, style tags and other non-content HTML elements have no Markdown equivalent and are stripped out during conversion. This is typically the desired behaviour — you want the text content, not scripts or tracking code. If you need to embed external content in Markdown, raw HTML blocks are supported in most Markdown processors.
Can I convert an entire web page by pasting its HTML?+
Yes — paste the full HTML source (including head, body, scripts, nav, footer etc.) and our converter will extract the meaningful text content while stripping structural HTML, scripts, styles and invisible elements. For best results when extracting a specific article, copy just the article's HTML rather than the entire page source.