Skip to content
Kordu Tools Kordu Tools

HTML to Markdown

Runs in browser

Convert HTML to clean Markdown — paste HTML source and get properly formatted .md output with headings, links, lists, and code blocks.

Last updated 08 Apr 2026

Paste HTML and get clean Markdown instantly. Converts headings, paragraphs, links, images, lists, tables, code blocks, bold, and italic to their Markdown equivalents. Configure heading style (ATX or Setext) and link style (inline or reference). Runs in your browser — nothing is uploaded.

Headings
Links
Bullets
Code
Loading rating…

How to use

  1. 1

    Paste your HTML

    Paste HTML source code into the input area. It can be a full page, a fragment, or content copied from view-source.

  2. 2

    Configure options

    Choose heading style (ATX or Setext), link format (inline or reference), bullet character, and code block style.

  3. 3

    Convert and copy

    The Markdown output generates instantly. Copy it to your clipboard with one click.

Frequently asked questions

Is my HTML sent to a server?
No. Conversion runs entirely in your browser using the Turndown library. Your content never leaves your device.
Does it handle tables?
Yes. HTML tables are converted to GFM-style Markdown tables with pipe separators and alignment dashes.
What heading style should I choose?
ATX (# Heading) is the most common in modern Markdown. Setext (underline with === or ---) only works for h1 and h2 and is less common.
Does it preserve images?
Yes. <img> tags are converted to ![alt](src) Markdown syntax, preserving the alt text and source URL.
Can it convert an entire webpage?
Yes. Paste the full page HTML — the converter extracts meaningful content and converts it to Markdown, ignoring scripts and styles.
What about inline styles and classes?
HTML attributes like class, style, and id are stripped. Only semantic formatting (bold, italic, links, headings) is preserved in the Markdown output.

Convert HTML to Markdown in seconds. Paste page source, component markup, or

email HTML and get clean, readable Markdown output that preserves headings, links,

images, lists, code blocks, bold, and italic formatting.

Powered by Turndown, the standard HTML-to-Markdown library used by Obsidian,

Notion export tools, and countless developer utilities. Configure heading style

(ATX # or Setext underline), link format (inline or reference), code block fencing,

and bullet character.

Who is this for: developers migrating documentation from HTML to Markdown,

writers converting blog posts to .md files, anyone building a static site from

existing HTML content, and students extracting clean text from web pages for notes.

Related tools