URL to Markdown: convert any web page or HTML to Markdown
Enter a page’s address, or paste its HTML, and get its readable content as clean Markdown: headings, lists, links, tables and code, without the scripts and menus. Pages are fetched only where the site’s robots.txt allows it.
How it works
-
Enter a page or paste HTML
A page is fetched from Monity’s server after its robots.txt is read; pasted HTML is converted as it is.
-
The readable part is kept
The page’s main content, by its own markup, without scripts, styles, menus, banners, footers or form controls.
-
Copy or download the Markdown
Headings, lists, links (made absolute), images, GitHub tables and fenced code, ready to paste or save as a .md file.
Monity’s free URL to Markdown converter fetches a page from Monity’s server, keeps the part a reader came for and writes it as Markdown. It reads the site’s robots.txt first and fetches nothing it asks tools to leave alone. Paste HTML instead and it converts that, with no fetch at all.
What becomes what
| HTML | Markdown |
|---|---|
<h1> to <h6> | # to ###### |
Paragraphs, <br> | Blank-line paragraphs, line breaks |
<ul>, <ol>, nested lists | - and numbered items, indented, an <ol start> kept |
| Links and images | [text](url) and , made absolute; inline data images dropped |
| Tables | GitHub pipe tables |
<pre>, <code> | Fenced code blocks with the language, inline code |
<strong>, <em>, <del> | **bold**, *italic*, ~~struck~~ |
<blockquote>, <hr> | > quotes, --- |
What’s left out, and how it decides
The converter uses the page’s own markup, the landmarks HTML and ARIA define, not guesses about any site. It starts
from <main> (or role="main"), else a page’s only <article>, else the
body. It leaves out scripts, styles, forms’ controls, hidden elements, and the navigation, banner, footer and asides
around the content. A header or footer inside an article stays, because it belongs to the article. On 24 Nov 2026,
RFC 9309’s page came out as 23,727 characters of Markdown, and Wikipedia’s article on Markdown as 43,192, its
language list included, because Wikipedia places that list inside its main content.
How robots.txt is respected
- Before a page is fetched, the site’s
/robots.txtis read, and its rules are applied the way RFC 9309 says: the group for our product token,MonityCheck, else the*group; the longest matching rule wins. - If robots.txt doesn’t exist (a 4xx answer), any page may be fetched. If it can’t be read (a server error or no answer), nothing is fetched, as the RFC asks.
- Every redirect is checked again, robots.txt included, on each new site.
- The check runs on Monity’s server, so it holds however the converter is called. On 24 Nov,
google.com/searchwas refused by Google’s ownDisallow: /search.
Limits
It reads the HTML a server sends, without a browser, so a page built by JavaScript comes back nearly empty, and a page behind a sign-in can’t be read. Up to 2 MB of a page’s HTML is read and up to 200,000 characters of Markdown are returned; a longer page is cut and says so. It converts HTML only, not PDFs. A converted page is kept for 10 minutes, so asking again gives the same copy. The text belongs to its publisher: convert it for your own reading, notes or tools, and quote it with care.
Keep an eye on the page
A conversion is a copy of today’s page. A Monity page monitor checks it on a schedule in a real browser and tells you what changed, in a sentence. To compare two versions of a text yourself, use the text diff checker; to keep how a page looks, the full-page screenshot tool.

FAQ
Common questions
How do I convert a web page to Markdown?
Enter the page’s address and press Convert. The converter reads the site’s robots.txt, fetches the page if it’s allowed, keeps its main content and turns it into Markdown you can copy or download.
Does it convert the whole page?
It keeps what the page marks as its main content: the <main> element, else a lone <article>, else the body. Menus, banners, footers, asides, scripts and forms’ controls are left out. A menu the site puts inside its main content, such as a language list, comes along.
Why won’t it convert some pages?
Because the site’s robots.txt asks tools like this one not to fetch them, because the page needs a sign-in, or because it isn’t HTML. Pages built by JavaScript in the browser come back nearly empty, since the converter reads the HTML the server sends. Paste the HTML instead if you have it.
Can I convert HTML I already have?
Yes. Choose Paste HTML: up to 1 MB is converted as it is, with no fetch and no robots.txt to read. Relative links stay as they were written.
Is the Markdown GitHub-compatible?
Yes. Tables use GitHub’s pipe syntax, code blocks are fenced with the language when the HTML names it, and links and images are made absolute against the page’s address.
Can an AI assistant read pages that Monity watches?
Yes. Monity’s MCP server, in the official MCP Registry as ai.monity/monity, connects Claude Code, Codex, Cursor and other MCP clients to your monity.ai account with an API key, so they can set up monitors and ask what changed (set up MCP).
Can it convert a PDF to Markdown?
No. It converts HTML: a page it fetches, or HTML you paste. A PDF address gets the answer that it isn’t an HTML page. To be told when a PDF at a fixed address changes, Monity’s page monitors render PDFs and compare them page by page, with an AI summary written from the text.
Know when the page changes.
Watch it with Monity.
Monity checks a page on a schedule in a real browser and tells you what changed, in a sentence.
- Free 7-day trial
- No credit card
- 3 monitors free, forever