Skip to content

/ Free Tool

HTML to Markdown

Convert a URL or HTML into Markdown. Ideal for blog migrations, LLM context inputs, and Notion/Nuxt Content workflows — links that use a partial path are automatically turned into full URLs.

About This Tool

Why use this tool?

HTML to Markdown is a free developer tool that converts a URL or HTML code into clean Markdown compatible with LLMs, Notion, Nuxt Content, and Jekyll. It intelligently skips noise like headers, footers, and navigation, delivering only the main content.

It saves time during blog migrations (WordPress → Markdown / Astro / Nuxt), preparing clean text as context for an LLM, importing content into Notion, or AI prompt engineering.

When you enter a URL, relative links/images are automatically converted to absolute URLs. There's also a paste-HTML option — so you can work with staging or local code.

In-Depth Guide

How do you get the most out of this tool?

What Is It?

How Does It Work?

The tool fetches the page server-side, strips out content-irrelevant blocks like <script>/<style>/<nav>/<header>/<footer>, then converts the remaining HTML into Markdown.

Relative URLs (`/image.jpg`) are merged with the page's domain to become absolute, making your Markdown file portable.

How To

Which Tags Are Converted?

All elements supported by the Markdown standard:

  • Headings: <h1>..<h6> → #..######
  • Links: <a href> → [text](url)
  • Images: <img src alt> → ![alt](url)
  • Bold/italic: <strong>/<b> → **text**, <em>/<i> → *text*
  • Ordered/unordered lists: <ol>/<ul> → 1. / -
  • Code blocks: <pre><code> → ```
  • Inline code: <code> → `text`
  • Blockquote: <blockquote> → >
  • Horizontal rule: <hr> → ---

Why It Matters

Typical Use Cases

The people who use this tool most often:

  • Blog migration — moving from WordPress to a Markdown-based static site
  • LLM prompts — clean input for asking Claude/ChatGPT to summarize a page
  • Notion import — bringing an article into Notion
  • AI agent development — extracting page content as structured data
  • Documentation export — turning a Confluence/Wiki page into Markdown

↕ Scroll up / down to read every section.

Who It's For

Is this tool right for you?

  • Developers — Markdown-based static site generators (Astro, Nuxt, Next.js, Hugo)
  • Content managers — CMS migration
  • AI prompt engineers — clean LLM input
  • Technical writers — documentation export
  • Data analysts — extracting page content as structured data

Pro Tips

How the experts use it

  • When fetching from a URL, leave "Main content only" enabled — it strips out sidebar noise
  • If you're sending it to an LLM, check "Skip images" for text-only output
  • For code-heavy pages, paste the output into VS Code and check it with Markdown preview
  • Table conversion isn't supported yet — you'll need to add tables manually (Markdown table syntax)
  • You can download the output as `.md` and drop it directly into your Astro/Nuxt content folder

What To Watch For

Common mistakes and how to fix them

  • Mistake

    Converting a JavaScript-rendered page

    Fix

    This tool reads server-rendered HTML. SPA/React/Vue pages will return empty output; use a pre-rendered URL instead.

  • Mistake

    Fetching a page behind a cookie wall

    Fix

    For pages requiring a cookie, the tool only gets the pre-login HTML. Use the manual HTML-paste method for authenticated content.

  • Mistake

    Pages containing tables

    Fix

    <table> conversion isn't currently supported; tables need to be written manually in Markdown.

Frequently Asked

Questions people ask about this tool

  • What Markdown standard does this use?

    It follows CommonMark and supports GFM (GitHub Flavored Markdown) features like strikethrough.

  • What happens to relative URLs?

    If you fetch from a URL, all relative links/images are merged with the page's domain to become absolute. If you paste HTML, relative URLs are kept as-is.

  • What's the maximum HTML size?

    5 MB. For larger files, local scripts (Turndown, marked) are more suitable.

  • Is table support available?

    Not yet. Converting tables to Markdown is complex — you'll need to write them manually or use a separate tool.

  • Want to hire a developer for this?

    As part of our Web Design service, we handle headless CMS migrations and set up Markdown-based content workflows.

SEO Panel Plans

All Tools, One Platform

Backlink analysis, organic search tracking and competitor monitoring — in our own panel, backed by expert interpretation and consulting support.

Basic

$19/mo · USD

Billed monthly · Cancel anytime

A core toolset for those getting started with SEO tracking.

1 Project30 Queries/DayCore SEO Tools

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool(Limited)
  • Site Audit(Limited)
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Basic
Most Popular

Pro

$39/mo · USD

Billed monthly · Cancel anytime

Full access to all SEO tools. The best fit for growing brands.

3 Projects200 Queries/DayFull Access

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Pro

Enterprise

$79/mo · USD

Billed monthly · Cancel anytime

Unlimited projects and full VIP support for agencies and large brands.

Unlimited ProjectsUnlimited QueriesVIP Support

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
  • Priority Support
  • Dedicated Consultant
Start with Enterprise

Monthly plans are re-billed every month. You can cancel anytime. Contact us for custom pricing.