Zero Signup ToolsFree browser tools

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

0 lines, 0 chars

Markdown output

0 lines, 0 chars
Removed 0 chars of markup

Conversion options

Style

Heading style

Bullet character

Code fence

Inline and links

Strong (bold) delimiter

Emphasis (italic) delimiter

Link style

GitHub flavored extensions
Content

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

  1. 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.
  2. Pick a quick preset (GitHub flavored, CommonMark, Reference links, or Minimal), or fine-tune the conversion with the options below.
  3. Adjust the heading style, bullet character, code fence, bold and italic delimiters, and link style if you have a target Markdown flavor in mind.
  4. Toggle GFM tables, GFM strikethrough, and image inclusion to match the renderer that will consume your Markdown.
  5. 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 ![alt](src) (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

All tools
All toolsConverter Tools