Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

From a live URL to clean Markdown in one request

Paste a URL and this tool fetches the page, finds the main content, throws away the parts around it, and converts what is left into Markdown you can copy. Headings keep their level, paragraphs stay paragraphs, bulleted and numbered lists become Markdown lists, links keep their text and become full URLs, bold and italic text are preserved, and images become ![alt](url) references. You also get counts of the characters, headings and links in the result.

The output is useful in two ways. Practically, it gives you a clean copy of a page to paste into an AI prompt, a knowledge base, an llms-full.txt file or an archive. As a diagnostic, it shows roughly how a text-only reader sees the page: if your key answer is missing or buried under leftovers here, a crawler that strips layout may struggle with it too.

<nav>Home · Pricing · Blog</nav>
<main>
  <h1>How to calibrate a widget</h1>
  <p>Calibration takes <strong>five minutes</strong>. See the <a href="/docs/specs">spec sheet</a>.</p>
  <ol><li>Hold reset for 5 seconds</li><li>Wait for the green light</li></ol>
</main>
<footer>© Acme · Privacy · Cookies</footer>

becomes

# How to calibrate a widget

Calibration takes **five minutes**. See the [spec sheet](https://acme.example/docs/specs).

1. Hold reset for 5 seconds
2. Wait for the green light

How the main content is chosen

First the tool removes page furniture: scripts, styles, forms, buttons, iframes, SVGs, hidden elements, nav and footer elements, ARIA navigation and search regions, and common clutter such as cookie banners, breadcrumbs, share bars, newsletter sign-ups, tables of contents and wiki-style info boxes. Asides are dropped too.

Then it looks for the element that holds the article: main, role="main", article, or common content containers such as #content, .entry-content, .post-content and .markdown-body. It picks the candidate with the most words, prefers a tighter element inside it if that still holds most of the text, and falls back to the whole body if no candidate holds a reasonable share of the page. If the page's H1 sits outside that container, for example in a hero banner, it is kept as the title.

What converts cleanly and what does not

Converts well

Headings h1 to h6, paragraphs, ordered and unordered lists, links, bold, italic, inline code, code blocks (as fenced blocks), blockquotes, images and horizontal rules.

Converts partly

Tables are not turned into Markdown tables; each cell's text comes out as its own line, so the data is kept but the grid is lost. Nested lists are flattened into their parent item. Definition lists and figures keep their text without special formatting.

Does not convert

Anything drawn by JavaScript after the page loads. The tool reads the HTML your server returns and does not run scripts, so a single-page app that renders its content in the browser may produce very little. That is also true of many AI crawlers, which is worth knowing; our guide to how Google and AI crawlers see JavaScript explains the options, such as server-side rendering.

Using the export to check your own pages

Run your most important pages and read the Markdown top to bottom. Ask: does the main answer appear in the first few paragraphs? Do the headings, read on their own, describe the page? Is there leftover clutter such as repeated calls to action or a long list of related links? Does each link have descriptive text rather than "click here"? Problems that are easy to miss in a designed page jump out in plain text.

If the export is nearly empty, check whether the content is rendered client-side, sits inside an iframe, or is hidden behind a tab or accordion that only fills in with JavaScript. If the export is full of boilerplate, wrap your article in a main or article element so tools can find it. To check how easily AI tools can split the page into passages, follow up with the LLMO score analyzer.

Giving extractors a clear content container

The single most helpful change for any extractor, ours included, is one main element around the real content, with navigation, sidebars and footers outside it.

WordPress

Most modern themes already wrap posts in main and article elements with an .entry-content class. If yours does not, a child theme can add them in single.php and page.php.

Shopify

Theme layouts usually include main id="MainContent". Keep product descriptions and blog content inside it, and avoid loading key text through apps that inject it with JavaScript.

Next.js and other frameworks

Render content on the server (static generation or server components) so it is in the initial HTML, and use a main element in your layout.

Limits worth knowing before you rely on it

The conversion is rule-based and runs on our server; no AI model rewrites your text. Pages larger than 5 MB, pages that take longer than 12 seconds to respond, login-only pages and pages that show a bot challenge cannot be converted, and the tool tells you which of those happened. If a site blocks our checker but allows browsers, it retries once with a browser user agent.

This is a conversion tool, not a copying licence. Only reuse content you own or have permission to use. For a broader look at how structure affects AI retrieval, see the Semantic Structure Analyzer and our guide to optimizing content for language models.

How it works

  1. Enter a URL

    Paste the page you want to convert into clean Markdown.

  2. We extract and convert

    The tool fetches the page, removes navigation and scripts, extracts the main content, and maps it to Markdown.

  3. Copy the Markdown

    Review the output and copy it in one click for use in AI prompts, docs or your llms.txt content.

Frequently asked

What does the Page-to-Markdown Exporter do?

›

It fetches a page, removes navigation, footers, scripts and other clutter, finds the main content and converts it to Markdown: headings, paragraphs, lists, links, bold and italic text, code, blockquotes and images. You also get character, heading and link counts.

How does it decide what the main content is?

›

It strips page furniture such as nav, footer, forms, buttons, hidden elements, asides, cookie banners, breadcrumbs and share bars, then picks the main, article or common content container with the most words. If none holds a reasonable share of the text it uses the whole body. An H1 outside that container is kept as the title.

Why is the output empty or very short?

›

Usually because the content is rendered by JavaScript after the page loads. The tool reads the HTML your server returns and does not run scripts. Content in iframes, or inside tabs and accordions filled by JavaScript, is also missed. Many AI crawlers do not run JavaScript either.

Are tables converted to Markdown tables?

›

No. Each cell's text comes out on its own line, so the data is kept but the grid is lost. Nested lists are flattened into their parent item. Review and tidy those parts if you need them formatted.

Why convert a page to Markdown for AI?

›

Markdown keeps meaningful structure such as headings, lists and links while dropping HTML noise, so it uses far fewer tokens in a prompt and is easier for a model to follow. It is also a handy format for knowledge bases and llms-full.txt files.

Can I use the output for llms-full.txt?

›

Yes. The llms-full.txt Generator uses this same converter for its import button, so you can pull each key page straight into that file and edit it there.

Is any AI used in the conversion?

›

No. The conversion is rule-based HTML-to-Markdown mapping that runs on our server. No language model rewrites your text, and the page is not stored.

Which pages can't be converted?

›

Pages larger than 5 MB, pages that take more than 12 seconds to respond, login-only pages, 404 pages and pages that show a bot-protection challenge. If a site blocks our checker but not browsers, the tool retries once with a browser user agent.

Related tools

More AI Search / GEO tools

See all AI Search / GEO tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans