MDConverter
Universal In-Browser Converter
100% Client-Side Private

Convert a Web Page to Markdown from Its URL

Enter a web address and get the page’s main content as clean Markdown: headings, lists, tables, code and links, without navigation, ads, cookie banners or footers. Ready to paste into ChatGPT or Claude, add to a RAG index, or save in Obsidian.

  • Free, no watermark
  • No sign-up
  • Converted in your browser, nothing stored
Try an example:
Enter a web address above — or paste HTML, or drop a saved .html page. Menus, ads and footers are left out. The page is fetched by our server, then converted in your browser. Nothing is stored.
Input · HTML
Result · Markdown
[Example Blog](/)

[Archive](/archive) [About](/about)

We use cookies. Accept

# How caching works

A cache stores a copy of a response so the next request is answered faster. Read the [HTTP docs](/docs/http) for the details.

## Cache-Control

The `Cache-Control` header says how long a response may be reused.

| Directive | Meaning |
| --- | --- |
| max-age=60 | Reuse for 60 seconds |
| no-store | Never store |

```http
Cache-Control: public, max-age=3600
```

### Related posts

[Other post](/x)

© 2026 Example Blog
Words:76
Characters:994
Read time:~1 min
Headings:3
AI tokens:~102
Updates as you type
HTML → Markdown
Quick Tutorial

How to Convert URL to Markdown in 3 Simple Steps

No installation or registration required. Follow these steps to convert and export your files in seconds.

1

Enter the address

Paste the page’s URL into the box and click “Convert URL”.

2

Check the Markdown

The main content appears as Markdown; switch Options › Content to “Whole page” if something is missing.

3

Copy or download

Copy the Markdown into ChatGPT, Claude or your notes, or download a .md file.

Real output, not a mock-up

URL to Markdown: Example Conversion

The output below was generated by the same converter that runs in the tool above, from one of its built-in samples. Load that sample in the editor to try your own changes.

Input — HTML
<html><head><base href="https://food.example.com/recipes/lentil-soup"></head><body>
<header><nav><a href="/recipes">Recipes</a></nav></header>
<main><article><h1>Red lentil soup</h1>
<h2>Ingredients</h2><ul><li>200 g red lentils</li><li>1 onion</li><li>1 tsp cumin</li></ul>
<h2>Method</h2><ol><li>Soften the onion.</li><li>Add lentils, cumin and 1 litre of water.</li><li>Simmer for 20 minutes and blend.</li></ol>
</article><aside class="related"><h3>You may also like</h3></aside></main></body></html>
Output — Markdown
[Recipes](/recipes)

# Red lentil soup

## Ingredients

- 200 g red lentils
- 1 onion
- 1 tsp cumin

## Method

1. Soften the onion.
2. Add lentils, cumin and 1 litre of water.
3. Simmer for 20 minutes and blend.

### You may also like

Known Limitations of URL to Markdown

What this converter does not do (yet), and what to do instead.

  • Pages that need a login, block automated requests or render their content with JavaScript may not fetch; save the page and drop the file instead.
  • Only HTML, plain-text and Markdown pages are fetched; PDFs and images are refused.
  • One page at a time, up to 5 MB.
Syntax Cheat Sheet & Translation Guide

HTML ↔ Markdown Syntax Cheat Sheet & Reference Guide

Side-by-side syntax comparison and quick reference guide. Look up how headings, code blocks, tables, and typography elements translate between HTML and Markdown. Click any snippet to copy.

Syntax ElementHTML SourceMarkdown EquivalentBehavior & Notes
Page furniture
<nav>, <aside>, cookie banner, <footer>
(removed)
Only the main content is kept
Relative link
<a href="/docs/http">HTTP docs</a>
[HTTP docs](https://example.com/docs/http)
Resolved against the page address
Table
<table><tr><th>Directive</th>…
| Directive | Meaning |
Merged or multi-row headers are padded or combined
Code
<pre><code class="language-http">
```http
Language kept for highlighting
Lazy image
<img data-src="/a.png" src="placeholder.gif">
![alt](https://example.com/a.png)
The real image address is used
Showing 5 syntax mappings← Swipe to view full table →
Format Comparison Matrix

HTML vs. Markdown — Deep Feature Analysis

Understanding the architectural trade-offs, ecosystem compatibility, and optimal workflows for each format.

Evaluation DimensionHTML CharacteristicsMarkdown CharacteristicsVerdict
Pasting a page into an AI chatCopied text loses structure; HTML is noisyClean Markdown with headings and tablesConvert first
Saving an articleBookmarks break; HTML needs the site’s CSSA self-contained text fileMarkdown for notes and archives
Pages behind a login or built by JavaScriptVisible in your browserMay not be fetchableSave the page and drop the file instead
3 architectural dimensions evaluated← Swipe to compare →

When to Use HTML

Best for fast, distraction-free drafting, Git version-controlled documentation, developer pull requests, and multi-format source authoring.

When to Convert to Markdown

Best for delivering formal client assets, corporate stakeholder review, publication on specialized platforms, or high-fidelity visual presentation.

Real-World Workflows

Who Relies on URL to Markdown?

Explore how engineering teams, technical writers, and data analysts streamline daily operations.

Anyone using AI assistants

Asking about an article

Give ChatGPT or Claude the clean text of a page to summarise, translate or question.

Impact: Better answers, fewer tokens.
Developers building RAG

Checking how a page will chunk

See the Markdown a page produces before writing a crawler, and spot pages that need special handling.

Impact: Fewer surprises in the index.
Researchers and writers

Saving sources as notes

Keep articles in Obsidian or a notes app as Markdown with working links.

Impact: A personal archive that outlives the site.
Best Practices & Pitfalls

Pro Tips & Edge Cases Handled for URL to Markdown

Practical advice for achieving high-fidelity conversions and resolving syntax edge cases.

Developer Pro Tips

  • If the result misses part of the article, switch Options › Content to “Whole page”.
  • For pages behind a login, save the page in your browser (Ctrl+S) and drop the .html file here.
  • Documentation sites convert especially well — code blocks keep their language.
  • Only convert pages you are allowed to use, and keep the source link when you quote them.

Edge Cases Resolved Automatically

⚠️ Redirects (short links, http → https)
Resolution: Followed up to five times, and each new address is checked again before it is fetched.
⚠️ Wikipedia and documentation pages
Resolution: Edit links, navigation boxes and section anchors are removed; infobox tables keep their columns.
⚠️ Pages in other character sets
Resolution: The page’s declared charset is used to decode the text.
Frequently Asked Questions

Frequently Asked Questions About URL to Markdown

Comprehensive answers to common technical, formatting, security, and compatibility questions.

Paste the page’s address into the box above and click “Convert URL”. The page is downloaded, its main content is found, and it is converted to Markdown with headings, lists, tables, code and links. Copy the result or download it as a .md file.

Under The Hood

How the HTML to Markdown Engine Works

Every step below runs in your browser tab; your content is never sent to a server.

01

Lexical Tokenization

Raw HTML stream is parsed into syntax tokens with boundary and nesting validation.

02

AST Tree Construction

Tokens are mapped into a standardized in-memory Abstract Syntax Tree structure.

03

Semantic Translation

AST nodes are translated into compliant Markdown elements, headings, and tables.

04

Client-Side Serialization

Output is generated directly in your browser, so it is ready to copy or download immediately.

Pipeline Architecture Specification

The address is fetched by a Cloudflare function that only allows public http(s) addresses, re-checks every redirect, and limits pages to 5 MB and 10 seconds. The HTML is then processed in your browser: the main content is located (<main>, <article> or the densest block of text), page furniture is removed, links and images are made absolute and stripped of tracking parameters, and Turndown with GFM rules converts the result to Markdown.

Processing Engine
Edge fetch + main-content extraction + Turndown (GFM)
Specification Standards
HTML5 → GitHub Flavored Markdown
Execution Latency
Usually 1–3 seconds, mostly the page’s own load time
Privacy SLA
Page fetched by our server, converted in your browser; nothing stored

Why Choose MDConverter for URL to Markdown?

Fetches any public page by its address — no extension or sign-up
Keeps the main content only: menus, sidebars, cookie and newsletter banners, share buttons and footers are removed
Headings, lists, tables (even with merged headers), code blocks with their language, images and links are converted
Relative links and images become absolute URLs; tracking parameters are removed
Choose “Whole page” in Options to keep everything
The page is fetched by our server and converted in your browser; nothing is stored

How your privacy is handled

To read a page by its address, our server downloads that one page and passes it to your browser; we do not log or keep the page or the address. The conversion itself runs with JavaScript in your browser tab, and anything you paste or drop here never leaves your machine.

Documents & Office Files

Move Markdown in and out of Word, PDF, PowerPoint, EPUB, OneNote, RTF, HTML, plain text and images.

Reverse directionMarkdown to HTML ConverterConvert Markdown to Clean, Semantic HTML5Also usefulWord to Markdown ConverterConvert Word Documents (.docx) to Clean MarkdownAlso usefulHTML to Markdown ConverterConvert HTML to Clean MarkdownAlso usefulPDF to Markdown ConverterConvert PDF to Markdown: Clean, Structured Text for Docs and AIAlso usefulRTF to Markdown ConverterConvert Rich Text Format (RTF) Documents to Clean MarkdownAlso usefulPowerPoint to Markdown ConverterConvert PowerPoint to Markdown Online (.pptx & .ppt to .md)

Guides & lessons for this converter

Browse all Markdown converters