HTML Tools

HTML to Markdown

Turn HTML into Markdown for docs, CMS edits, migrations, and content cleanup.

Best for: Move legacy help articles into Markdown, Clean exports from a CMS editor

Quick answer

Paste HTML and get Markdown that keeps headings, links, lists, and emphasis in a readable format.

Hub

HTML tools hub

Browse formatters, extractors and cleanup tools for markup-focused work.

Overview

HTML to Markdown converts rich HTML fragments into plain, editable Markdown you can store in docs, notes, and content systems. It is useful when a page has been copied from a CMS, an email editor, or a legacy site and needs to be rewritten in a lighter format. The tool runs in the browser and keeps the conversion process self-contained. The output is designed to preserve structure where it matters: headings become Markdown headings, paragraphs stay separated, links remain clickable, and lists remain easy to scan. If your source contains complex layout markup, the conversion focuses on the readable content rather than page styling, which makes the result easier to maintain.

Use cases

  • Move legacy help articles into MarkdownConvert old support pages with headings, callouts, and bullet lists into editable Markdown for a new documentation system.
  • Clean exports from a CMS editorStrip away editor-specific wrappers and recover the readable article text for reuse in a different publishing workflow.
  • Prepare content for a static site generatorTransform HTML pages into Markdown files that fit Hugo, Jekyll, Astro, or similar content pipelines.
  • Rewrite pasted rich text into a simpler formatTake content copied from Word processors or visual editors and turn it into structured Markdown with less clutter.
  • Extract article body from a full HTML pageFocus on the main readable content and convert it into a format that is easier to version, diff, and review.

How it works

  1. 1

    Paste the HTML source into the input field.

  2. 2

    The tool parses the markup in the browser and removes unsafe elements.

  3. 3

    It converts semantic elements such as headings, links, lists, quotes, and emphasis into Markdown.

  4. 4

    Review the result and copy the Markdown for your editor, repository, or CMS.

Examples

Article with emphasis

Input: <h1>Release notes</h1><p>Version <strong>2.4</strong> is now live.</p>

Output: # Release notes Version **2.4** is now live.

Converts a heading and bold text into standard Markdown.

Quoted text and a link

Input: <blockquote><p>Keep the scope small.</p></blockquote><p>Read <a href="/guide">the guide</a>.</p>

Output: > Keep the scope small. Read [the guide](/guide).

Preserves blockquote structure and converts links into Markdown syntax.

Mixed list content

Input: <p>Included items:</p><ul><li>API docs</li><li>Examples</li><li>Changelog</li></ul>

Output: Included items: - API docs - Examples - Changelog

Turns an unordered list into readable Markdown bullets.

FAQ

What happens to inline styles and layout-only tags?

They are ignored during conversion. The tool keeps readable content such as headings, text, links, and lists instead of page styling.

Will nested formatting be flattened?

No. Basic nesting like bold inside a link or emphasis inside a paragraph is usually preserved when it maps cleanly to Markdown.

How are images handled?

Images are converted when possible into Markdown image syntax. If an image is missing alt text or uses unusual attributes, the result may be simplified.

Can I paste full pages with nav bars and footers?

You can, but only the meaningful content is useful in the result. Decorative menus, footers, and repeated page chrome are not the target of the conversion.

Why does some HTML not become exact Markdown?

Markdown has fewer formatting options than HTML. Elements without a direct Markdown equivalent are simplified so the output stays readable and practical.