Converter Tools
HTML to Markdown Converter
Convert HTML to clean GitHub flavored Markdown in your browser. Headings, links, lists, code blocks, GFM tables, and reference links supported.
Quick presets
Markdown output
0 lines, 0 charsConversion options
Always stripped: <script>, <style>, <noscript>, <template>, <iframe>, <object>, <embed>, <svg>, and <canvas>. Inline elements such as <span> and <abbr> are unwrapped to plain text. Parsing happens in your browser; the HTML you paste is never uploaded.
How to use
- Paste your HTML into the input area on the left. Click Load sample to try the converter with a small article that exercises every feature.
- Pick a quick preset (GitHub flavored, CommonMark, Reference links, or Minimal), or fine-tune the conversion with the options below.
- Adjust the heading style, bullet character, code fence, bold and italic delimiters, and link style if you have a target Markdown flavor in mind.
- Toggle GFM tables, GFM strikethrough, and image inclusion to match the renderer that will consume your Markdown.
- Click Copy Markdown to copy the result, or Replace with Markdown to load it back into the input for another pass.
About this tool
HTML to Markdown Converter parses any HTML you paste and emits clean GitHub flavored Markdown directly in your browser. Paste HTML on the left and the Markdown version appears on the right as you type. The parser uses the browser's built-in DOMParser, so it accepts the messy real-world HTML that comes out of WYSIWYG editors, CMS exports, email clients, and copy-paste from Google Docs or Notion. Headings (h1 to h6) become ATX or Setext style, paragraphs become blank-line separated text, bold and italic become **strong** and *emphasis* with your choice of delimiter, inline code becomes single backticks (or doubled when the content already contains a backtick), preformatted blocks become fenced code blocks with the language pulled from class="language-x", links become [text](url) or numbered reference style, images become  (or are dropped entirely with a single toggle), block quotes become quoted lines with the right > prefix, horizontal rules become ---, line breaks become hard breaks, and ordered and unordered lists are rendered with proper indentation, even when nested. Tables are emitted as GFM pipe tables with column alignment read from align attributes or inline text-align styles. Strikethrough (<del>, <s>, <strike>) becomes ~~strikethrough~~ when GFM is on. Special characters in plain text are escaped so the output is safe to paste into a Markdown renderer without surprise formatting. Quick presets cover the four most common jobs in a single click: GitHub flavored, CommonMark (no GFM extensions), reference links (move all link URLs to a numbered block at the bottom), and minimal (drop images, no GFM). Useful for porting CMS articles into a static site, converting HTML email signatures into Markdown, turning rich-text export into a documentation page, scraping a snippet from a page into a README, prepping content for a static site generator, or simply normalizing a paragraph someone pasted into a chat. Everything runs locally on your device, so the HTML you paste here is never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Markdown to HTML Converter
Convert Markdown to clean HTML with a live preview and copy button.
Open tool
TextHTML to Plain Text
Strip HTML tags and convert HTML to readable plain text with optional link URLs.
Open tool
DeveloperHTML Formatter
Pretty-print and minify HTML with indent, wrap, and quote controls.
Open tool
DeveloperHTML Entity Encoder Decoder
Two-way HTML entity encoder and decoder with named, decimal, and hex modes.
Open tool