FREE · INSTANT · NO SIGNUP

Free HTML to Markdown Converter

Convert HTML to Markdown instantly — headings, bold, italic, links, tables, code blocks, blockquotes, and lists. GFM-compatible output. No signup, no limits.

HTML → MarkdownConverts on type · GFM compatible
HTML INPUT
Paste HTML · Converts on type
MARKDOWN OUTPUT
Clean Markdown · GFM tables · Fenced code blocks

Convert HTML to Markdown: Supported Elements

Headings h1–h6

<h1>–<h6> → # through ######

Bold & italic

<strong>/<b> → **text**, <em>/<i> → *text*

Strikethrough

<s>/<del> → ~~text~~

Links

<a href="url">text</a> → [text](url)

Images

<img src alt> → ![alt](src)

Inline code

<code> → `code`

Code blocks

<pre><code class="language-py"> → fenced blocks

Blockquotes

<blockquote> → > prefix on each line

Unordered lists

<ul><li> → - bullets

Ordered lists

<ol><li> → 1. 2. 3. numbers

Tables

<table> → GFM pipe table with header divider

Horizontal rule

<hr> → ---

How to Convert HTML to Markdown: Step by Step

STEP 01
Paste your HTML

Copy HTML from your source: a CMS, a website, a scraper output, or a code editor: and paste it into the left panel. The HTML to Markdown converter starts immediately.

STEP 02
Markdown appears instantly

The right panel updates in real time as you type or paste. No button to press. Headings, lists, bold, italic, links, tables, and code blocks are all converted.

STEP 03
Copy or download

Click 'Copy Markdown' to copy to clipboard, or 'Download .md' to save as a file. Use the output in GitHub, Notion, Obsidian, Ghost, or any Markdown-based editor.

Frequently Asked Questions

Credify is a free HTML to Markdown converter that runs entirely in your browser. Paste any HTML and get clean Markdown output instantly — no signup, no installation, no limits.
Paste your HTML into the left panel. The Markdown output appears instantly on the right. Click Copy Markdown to use it anywhere. Handles headings h1–h6, bold, italic, links, images, code blocks, tables, and blockquotes.
Yes — Credify works entirely online in any browser, no installation required. Paste HTML and get Markdown output in real time.
An HTML to MD converter turns HTML tags into Markdown syntax: headings become # symbols, bold becomes **text**, italic becomes *text*, links become [text](url), lists become - bullets or 1. numbered items.
Yes. HTML tables are converted to GitHub-Flavored Markdown (GFM) pipe table format with a header divider row. Works in GitHub READMEs, Notion, Obsidian, and most Markdown renderers.
Yes. <code> tags become `backtick` spans. <pre><code> blocks become fenced code blocks with triple backticks. Language class names like language-python are detected and included in the fence.

Free HTML to Markdown Converter: Clean MD Output, No Signup

When you need to convert HTML to Markdown for a GitHub README, a Notion page, an Obsidian note, or a Ghost blog post, you need output that is clean and accurate: not a pile of escaped characters or missed tags. Credify's free HTML to Markdown converter handles every common HTML element and outputs valid GFM-compatible Markdown you can paste anywhere.

HTML to Markdown: What It Can and Cannot Do

This HTML to MD converter handles all structural and inline elements: headings, paragraphs, bold, italic, strikethrough, underline, links, images, code spans, fenced code blocks with language detection, blockquotes, ordered and unordered lists, tables, and horizontal rules. It does not convert CSS styles: if your HTML has style="" attributes, those are dropped, since Markdown has no equivalent. After converting, run your content through the Word to HTML Converter or the HTML to BBCode Converter if you need output in other formats. Before publishing the converted content, run it through the readability checker to confirm sentence complexity and the grammar checker to catch any formatting artifacts.

When Converting HTML to Markdown Is Worth It

Migrating off a CMS. Static site generators (Hugo, Astro, Eleventy, Jekyll) expect Markdown files. Exporting posts from WordPress or Ghost gives you HTML, and converting it to Markdown is the step between the export and a working repository.

Content that belongs in version control. An HTML diff is close to unreadable — one reflowed paragraph can rewrite an entire line. Markdown diffs cleanly, line by line, which is why documentation that changes often tends to live in Markdown rather than HTML.

Feeding text to a language model. HTML spends a large share of its tokens on tags, attributes, and class names that carry no meaning for the model. The same content in Markdown is typically far smaller while preserving the structure that matters — headings, lists, emphasis, links. If you are pasting page content into ChatGPT or Claude, converting HTML to Markdown first is the cheapest reduction available. Our guide on reducing token waste covers the arithmetic.

Moving between editors. Notion, Obsidian, Bear, Ghost, and GitHub all accept Markdown on import. HTML pasted into any of them tends to arrive carrying inline styles and stray wrapper elements.

Four Things That Trip Up Any HTML to Markdown Converter

Markdown is a smaller language than HTML, so some constructs have nowhere to go. Knowing which ones saves you hunting for a converter bug that isn't one:

  • Nested tables. GFM pipe tables cannot contain another table. A table inside a table cell has to become either flattened text or raw HTML — there is no Markdown that expresses it.
  • Underline. Standard Markdown has no underline syntax. <u> is preserved as inline HTML here rather than silently becoming italic, because changing the author's meaning is worse than emitting a tag.
  • Layout wrappers. <div> and <span> carry no semantic meaning, so they dissolve and only their contents survive. Anything that depended on CSS for its structure will read differently afterwards.
  • Literal asterisks and underscores. Body text containing * or _ has to be escaped or it becomes accidental emphasis. This converter escapes them, which is why you may see backslashes in the output that were not in the input — that is correct behaviour, not corruption.

Related tools

Word to HTML ConverterHTML to BBCode ConverterBlockquote GeneratorE-E-A-T CheckerGrammar CheckerReadability Checker

Convert HTML to Markdown Instantly

Free, no signup. GFM-compatible output — paste HTML, get clean Markdown in seconds.