Paste HTML and get clean GitHub-flavoured Markdown. Headings, lists, links, tables, code blocks, and inline formatting preserved. Browser-based and free.
This tool takes any chunk of HTML — from a webpage source, a CMS export, an email body, a Confluence page, or an AI chat reply — and produces clean, GitHub-flavoured Markdown you can paste into a README, a blog post, a documentation site, or an issue tracker. The conversion runs entirely in your browser; nothing is uploaded.
The output is tested against the common Markdown flavours used by GitHub, GitLab, Bitbucket, Reddit, Discord, Stack Overflow, Hugo, Jekyll, Docusaurus, MkDocs, and Notion.
Paste HTML into the left pane. Markdown appears live in the right pane as you type. Copy with one click, or download as .md. The tool handles the messy cases you'd otherwise have to clean by hand:
Headings (<h1>–<h6>) → #–######
Bold / italic (<strong>, <em>, <b>, <i>) → **bold** / *italic*
Links with titles → [text](url "title")
Images with alt text → 
Lists (ordered, unordered, nested) → 1., -, indented
Tables → GFM pipe-table syntax with header separator row
Code blocks (<pre><code class="language-js">) → fenced blocks with language hints
Inline code (<code>) → backticks
Blockquotes (<blockquote>) → > prefix lines
Horizontal rules (<hr>) → ---
Task lists (<input type="checkbox">) → - [ ] / - [x]
Live preview — see the Markdown update as you paste or edit
GitHub-flavoured Markdown (GFM) output by default — tables, task lists, strikethrough
Preserves code-block language hints (language-python, language-bash, etc.)
Handles full HTML documents (auto-strips <head>, <script>, <style>)
One-click copy and .md download
Works offline once loaded — no server round-trip
Dark mode that respects your system preference
Copy HTML from any source — View Source on a webpage, an email, an export, or a CMS draft.
Paste into the left input box.
The Markdown appears instantly in the right pane.
Click Copy to copy to clipboard, or Download to save as output.md.
Real-world reasons people convert HTML to Markdown every day:
Migrating a blog from WordPress / Ghost / Medium to a static site generator (Hugo, Jekyll, Astro, Next.js).
Saving an AI chat reply from ChatGPT or Claude (which often output rich HTML when copied) into a Markdown-based note app like Obsidian or Bear.
Drafting a README from existing webpage content — product spec, design doc, marketing brief.
Filing a GitHub issue with formatted error output from a browser console or Slack thread.
Moving Confluence / Notion pages into a Git-tracked docs folder.
Cleaning up email signatures for plain-text newsletters.
Conversion happens entirely in your browser. Your HTML — which may contain client data, internal docs, or unpublished work — is never sent anywhere. We don't log, we don't analyse, we don't even know what you converted.
Output matches what GitHub renders. Tables stay tables, code blocks keep their language hints, and nested lists indent correctly. You won't have to hand-edit the result.
Instant conversion, no rate limits, no signup, no ads in your output. Open the tool, paste, copy, done.
GitHub-flavoured Markdown (GFM) by default. That means pipe-table syntax for tables, task lists with - [ ], fenced code blocks with language hints, and strikethrough with ~~. GFM is the most widely supported flavour — it renders correctly on GitHub, GitLab, Bitbucket, Reddit, Discord, Stack Overflow, and most static site generators.
Yes. <pre><code class="language-js">...</code></pre> becomes a fenced block with the language tag (```js), so syntax highlighting carries over when the Markdown is rendered.
Yes. You can paste an entire <html>...</html> document — the converter automatically strips <head>, <script>, <style>, and other non-content tags, then converts only the body.
Images are converted to Markdown image syntax () with the alt text preserved. Image URLs are kept as-is — if the original used relative paths, you'll need to update them after conversion.
Yes — use our Markdown Previewer for live HTML rendering, or the dedicated Markdown to HTML converter if you only need the HTML output.
No imposed limit. Because everything runs locally, the only ceiling is your browser's memory. Documents up to several megabytes convert instantly on a modern laptop or phone.
Yes — once the page is loaded, it runs offline. Useful on flights, in airport WiFi-free zones, or in secure environments without internet access.
How to Use HTML to Markdown Converter Online — Clean, Instant, Free
Enter or paste the content you want to process using the html to markdown converter online — clean, instant, free.
Adjust any available settings or options to customize the output.
View, copy, or download your processed results instantly.
Paste HTML and get clean GitHub-flavoured Markdown. Headings, lists, links, tables, code blocks, and inline formatting preserved. Browser-based and free.
Tool Use:
2Type:
Free ToolPrivacy:
Client SideWrite Markdown on the left, see the rendered output live on the right. GitHub-flavoured, with tables, task lists, and code highlighting. Free and browser-based.
Convert dates between DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD, and 20+ other date formats. Free online date format converter with custom format support and one-click copy.
Send a WhatsApp message to any number without saving it to your contacts. Free, instant, no signup — perfect for businesses and one-off chats.
Generate custom QR codes for URLs, vCards, Wi-Fi, text, and more — high-resolution PNG and SVG download, free.
Convert between gold karats, purity percentage, touch, tunch, and 916/750/585/375 hallmark markings. Free online gold karat calculator and purity converter.