Tool guide · Markdown Generator

What does the Markdown Generator actually do?

Your website is written in HTML. AI systems do not want HTML. They want clean, structured text — headings that are headings, paragraphs that are paragraphs, lists that are lists, without the thousands of lines of code that make a web page look the way it does in a browser. The Markdown Generator takes any public web page and converts it into clean Markdown — the format that AI systems, documentation tools and language models are built to read. It scored 272 out of 273 on the BotMonster benchmark, the only converter to achieve a perfect score. This page explains everything it does, why it does it, and why it matters.

This is not a technical manual. It is written for the person who owns the website, runs the business, and needs to understand what Markdown is, why AI systems need it, what the three conversion modes do, why there are six format profiles, what the benchmark actually tested, and how to use the tool to prepare their content for a world where AI systems are becoming the front door to the internet. If you have ever wondered why your content is not showing up in AI-powered search results, the answer may start here.

Try the Markdown Generator free, no account needed.

Free to try · 49p per conversion · No subscription · Credits never expire

Convert any web page to clean Markdown →

Chapter 1: The page that looked simple

Spenderella has a candle shop. Her website has 30 pages. Each page has a title, some text, a few images and a list of products. When she looks at a page in her browser, it looks simple. A heading. A paragraph. A picture. A price. How complicated can it be?

Spenderella right-clicks on her home page and selects "View Page Source." What she sees is not simple. It is 4,700 lines of code. There are style definitions, script references, tracking pixels, cookie consent code, structured data in JSON-LD, navigation menus built from nested lists inside nested divs, a footer with 40 links, three different font files, inline SVG icons, lazy-loading attributes on every image, responsive breakpoints, accessibility attributes, schema markup, Open Graph tags, Twitter card tags, canonical URLs, hreflang declarations, and a service worker registration.

Her home page, the one that looks like a heading, a paragraph, a picture and a price, is 187 kilobytes of HTML before images. The actual content — the words she wrote, the headings she chose, the descriptions of her products — is about 3 kilobytes. The other 184 kilobytes are instructions for the browser. They tell the browser how to display the page. They tell search engines what the page is about. They tell social media platforms what to show when someone shares a link. They tell accessibility tools how to navigate. They tell tracking systems what to measure.

All of that is necessary for a web page to work properly in a browser. None of it is content. And when an AI system wants to read Spenderella's page, all of that code is noise.

This is the problem the Markdown Generator solves. It takes those 4,700 lines of HTML and produces a clean text version — just the content, properly structured, in a format that any AI system, documentation tool or language model can read without having to wade through the code.

Chapter 2: What Markdown actually is

Markdown is a way of writing text that includes formatting — headings, bold, italic, lists, links, images, tables, code blocks — using simple characters that a human can read and type without special software. It was created in 2004 by John Gruber, who wanted a format that was readable as plain text but could also be converted to HTML when needed.

Here is what Markdown looks like. A heading is a line that starts with a hash symbol: # This is a heading. A subheading uses two hashes: ## This is a subheading. Bold text is wrapped in double asterisks: **this is bold**. A link is text in square brackets followed by a URL in round brackets: [click here](https://example.com). A list is lines starting with a dash or a number. A code block is text wrapped in triple backticks.

That is it. No angle brackets. No closing tags. No attributes. No class names. No style definitions. Just text with simple markers that say what each part is — heading, paragraph, list, link, image, code — without saying how it should look.

When a browser needs to display Markdown, it converts it to HTML. When a human needs to read it, they read the plain text. When an AI system needs to understand it, it reads the structure directly — the headings tell it the outline, the paragraphs tell it the content, the lists tell it the items, the links tell it the references. No parsing of nested divs. No guessing which part of 4,700 lines of HTML is the actual content. Just structured text.

Markdown has become the standard format for documentation (GitHub, GitLab, Bitbucket), for note-taking (Obsidian, Notion, Bear), for static site generators (Jekyll, Hugo, Gatsby, Eleventy), for content management systems (Ghost, Strapi, Contentful), and increasingly for AI systems that need to ingest, understand and cite web content.

OMG It's OCD Lee would point out that there is not one Markdown — there are several. The original specification by John Gruber left some things ambiguous. Different tools interpreted those ambiguities differently. This led to competing specifications: CommonMark, GitHub Flavored Markdown, Pandoc Markdown, and others. Each one has slightly different rules for edge cases. The Markdown Generator handles all six major specifications. OCD Lee checked each one.

Chapter 3: Why AI needs Markdown, not HTML

When you ask ChatGPT, Perplexity, Google AI Overviews or any other AI system a question, and it answers by citing a web page, something has to happen between the web page and the answer. The AI system has to read the page, extract the content, understand what the content says, and produce a response that accurately reflects it.

If the AI system reads the raw HTML, it has to solve a problem first: which part of the HTML is the content? A typical web page has navigation menus, sidebars, footers, cookie banners, promotional pop-ups, related article widgets, comment sections, social sharing buttons, newsletter sign-up forms, search bars, breadcrumbs, and advertising. All of this is HTML. All of it looks like content to a parser that does not understand the visual layout of a page. The actual article — the thing the reader came for — might be 10 per cent of the HTML.

AI systems that ingest HTML have to guess. They use heuristics — rules of thumb — to identify the main content area. They look for article tags, main tags, content divs. They try to strip out navigation and footers. Sometimes they get it right. Sometimes they include the navigation menu as if it were part of the article. Sometimes they miss content that is inside an unusual container. Sometimes they include a cookie banner's text as the first paragraph of the article.

Markdown eliminates this problem entirely. When a page is converted to clean Markdown, the content is the content. There is no navigation to strip. There is no footer to identify. There is no cookie banner to skip. The AI system reads the Markdown and gets exactly the content, structured exactly as the author intended, with headings, paragraphs, lists, links and images all clearly marked.

This is not a theoretical benefit. It is a practical one. AI systems that read Markdown produce better extractions, more accurate citations, and fewer hallucinations about page content than AI systems that parse raw HTML. The cleaner the input, the cleaner the output.

Prince Smarming told Spenderella that AI systems can read HTML just fine. He said she did not need to worry about Markdown. He said her site was "already optimised for AI" because it had good meta tags and structured data. He was not entirely wrong — meta tags and structured data do help. But he was missing the point. Meta tags tell AI systems what a page is about. Markdown gives them the actual content. One is a label on a box. The other is what is inside the box.

There is another reason AI systems prefer Markdown. When an AI system processes text, it breaks it into tokens — pieces of text that the model works with internally. HTML is extremely token-expensive. Every opening tag, every closing tag, every attribute, every class name consumes tokens. A paragraph of text that takes 50 tokens in Markdown might take 300 tokens in HTML, because of the div wrappers, the class names, the paragraph tags, the span elements and the inline styles. For AI systems that have token limits on how much content they can process at once, Markdown lets them read more content in the same space.

This matters for two reasons. First, when an AI system is building an answer from multiple sources, it can read more of your content if that content is in Markdown rather than HTML. Second, when you are building an llms.txt file — a file that tells AI systems what your site contains — the content needs to be in Markdown. If your content is in HTML, it either needs converting or it does not go in the file.

Chapter 4: Three modes — Full, Stripped and Custom

The Markdown Generator offers three conversion modes because different users need different things from the same page. A developer wants the whole page. An AI pipeline wants only the article. A content editor wants to choose. One mode does not fit all three.

Full mode

Full mode converts the entire HTML page to Markdown. Everything that is visible content is kept — the navigation menu, the header, the main content, the sidebar, the footer, the cookie banner text, the breadcrumbs. The only things removed are scripts, stylesheets, tracking iframes, noscript blocks and other elements that are code rather than content.

Full mode also includes a summary of any JSON-LD structured data found on the page. If the page has schema markup — an Organization block, an Article block, FAQPage markup, HowTo steps, product data — Full mode extracts it and presents it as a readable summary at the end of the Markdown output. This is useful for developers and SEO professionals who want to see the page's structured data alongside its visible content.

Full mode is the mode for archiving, for documentation, and for any use case where you need to see the complete page as it would appear to a visitor, in a format you can read without a browser.

Stripped mode

Stripped mode removes everything that is not the main content. Navigation menus, headers, footers, sidebars, pop-ups, cart drawers, cookie modals, scrolling banners, skip-links, search forms, newsletter sign-ups, social sharing widgets, breadcrumbs, related article links — all gone. What remains is the article: the headings, the paragraphs, the lists, the images, the tables, the code blocks. The content the author wrote, with nothing around it.

Stripped mode is the mode for AI. It produces output that can go directly into an llms-full.txt file. It produces output that AI systems can ingest without having to guess which part is the content. It produces output that is clean enough to feed into a retrieval-augmented generation (RAG) pipeline, an embedding model, or a training dataset.

The difference between Full and Stripped is not just about removing a few menus. On a typical web page, the navigation, footer, sidebar and chrome can account for 60 to 80 per cent of the visible text. A Full mode conversion of a WordPress blog post might be 12,000 words. The same page in Stripped mode might be 2,500 words. The 9,500-word difference is menus, footers, widget text, related posts, comment section headers and other chrome that has nothing to do with the article.

For AI ingestion, those 9,500 words of chrome are worse than useless — they actively confuse extraction. An AI system reading the Full output has to work out that the navigation menu at the top is not the first section of the article. Stripped mode solves that problem by not including the navigation in the first place.

Custom mode

Custom mode gives you 16 tick-box groups, each controlling a category of HTML elements. You can choose to keep or remove navigation, headers, footers, sidebars, forms, tables, images, videos, code blocks, blockquotes, lists, links, structured data, metadata, comments and advertisements. Each tick-box group controls a set of related elements, and you can combine them in any way.

Custom mode is for edge cases. A page where the sidebar contains content you need. A page where the navigation includes important links you want to preserve. A page where you want images but not videos, or tables but not forms. Any situation where Full mode includes too much and Stripped mode removes too much.

The Bin Man would use Stripped mode. He sorts through the page, finds the content that matters, and throws out the rest. Navigation menu? Bin. Footer links? Bin. Cookie banner? Bin. Newsletter pop-up? Bin. What is left is the article — the thing someone actually wrote, the thing that actually says something. The Bin Man does not keep the packaging. He keeps what was inside it.

Chapter 5: What Full mode keeps and what it removes

Full mode aims to produce a Markdown version of everything a visitor would see on the page, plus the structured data a visitor would not see. Here is exactly what it keeps and what it removes.

Kept: all visible text content — headings (h1 through h6), paragraphs, lists (ordered and unordered), tables (converted to pipe tables), blockquotes, links (with their URLs), images (with alt text), code blocks (with language hints where available), bold and italic text, strikethrough text, task lists with checkboxes, definition lists, abbreviations, and any other text that appears on the rendered page.

Kept: navigation menus (converted to lists of links), footers (converted to text), sidebars (converted to text), breadcrumbs (converted to a path), cookie banner text, and any other chrome that contains visible text. In Full mode, if a visitor can read it, the converter keeps it.

Kept: a summary of JSON-LD structured data. If the page has schema markup, Full mode extracts it and presents it as a human-readable summary at the end of the output. This shows what the page claims to be (an Article, a Product, an Event) and what metadata it carries (author, date, price, rating).

Removed: script tags and their contents. Style tags and their contents. Link tags that load stylesheets. Tracking iframes (Google Tag Manager, analytics, advertising pixels). Noscript blocks. Hidden elements (display:none, aria-hidden="true" where the content is genuinely hidden, not screen-reader text). SVG icons that are decorative rather than content. Data attributes. Event handlers. Any HTML that is code rather than content.

The result is a Markdown file that reads like the page looks — in order, with the same structure, with the same words — but without any of the HTML machinery that makes it display in a browser.

Chapter 6: Stripped mode — the AI-ready output

Stripped mode does everything Full mode does, then goes further. It identifies the main content area of the page and removes everything outside it. The goal is to produce output that contains only the article — the content the author wrote — with no chrome, no navigation, no widgets, no footers.

This is harder than it sounds. Web pages do not have a standard way of marking the main content. Some pages use a <main> element. Some use a <article> element. Some use a div with a class name like "content" or "post" or "entry-body." Some use none of these and the content is mixed in with everything else.

The Markdown Generator uses multiple detection methods. It looks for semantic HTML elements (main, article). It looks for ARIA roles (role="main"). It looks for common class name patterns used by popular CMS platforms — WordPress, Shopify, Wix, Squarespace, Webflow, Drupal, Ghost, BigCommerce and HubSpot CMS each have their own conventions. It uses a scoring system that weighs multiple signals to identify the most likely content area.

Once the main content is identified, everything outside it is removed. Then, within the main content, additional cleaning happens:

Removed in Stripped mode: navigation elements (nav tags, elements with navigation roles). Header elements that are page headers rather than content headings. Footer elements. Aside elements that are sidebars. Forms (search bars, newsletter sign-ups, contact forms). Social sharing buttons. Related article widgets. Comment sections. Cookie consent modals. Pop-up overlays. Cart drawers. Scrolling banners. Skip-links. Breadcrumbs. Pagination links. Author bio boxes (unless they contain substantial text that is part of the article). "Back to top" links. Print buttons. Share buttons.

What remains is the article content: headings, paragraphs, lists, tables, images, code blocks, blockquotes and links. This is the output that goes into an llms-full.txt file. This is the output an AI system can read and understand without any preprocessing.

The numbers: 219 pages across 11 CMS platforms. Zero chrome leaks in the final release. Every page was checked by hand. Navigation menus, footers, pop-ups, cart drawers, cookie banners, search forms and skip-links — all correctly removed in Stripped mode. Full mode kept them all. The difference between the two modes is not a configuration toggle — it is two different processing pipelines, each tested independently.

Chapter 7: Custom mode — choosing element by element

Custom mode exists because not every page fits neatly into "keep everything" or "keep only the article." Some pages have sidebars that contain useful content. Some pages have footers with important links. Some pages have forms that are part of the content rather than chrome. Custom mode lets you decide.

The 16 tick-box groups cover: navigation, page header, page footer, sidebars and asides, forms, tables, images, videos and embeds, code blocks, blockquotes, ordered lists, unordered lists, links (keep or convert to plain text), structured data summary, metadata summary, and advertisements. Each group can be toggled on or off independently.

When a group is toggled off, elements in that category are removed from the output. When a group is toggled on, they are kept. The default state matches Stripped mode — the groups that Stripped mode removes are off by default. You turn on what you need.

This means Custom mode can reproduce Full mode (turn everything on), Stripped mode (use the defaults), or any combination in between. A documentation page where you want the sidebar's table of contents but not the footer. An e-commerce page where you want product images but not the cart drawer. A blog post where you want the author bio but not the related articles widget.

OMG It's OCD Lee tested every combination of the 16 groups. Not because anyone asked him to, but because he needed to know that turning off "forms" did not accidentally remove tables (they both use rows), that turning off "navigation" did not remove lists inside the article (both are built from list elements), and that turning off "images" did not remove figure captions (the caption is text, not an image). Every combination produces the output it claims to produce. No side effects. No surprises.

Chapter 8: Six format profiles — writing Markdown to specification

Markdown is not one language. It is a family of related formats, each with slightly different rules. The original specification by John Gruber in 2004 left certain details ambiguous — how nested lists should be indented, what happens with blank lines inside a list, whether underscores in the middle of a word trigger emphasis. Different tools and platforms resolved these ambiguities differently, leading to multiple specifications that are mostly compatible but differ in edge cases.

The Markdown Generator supports six format profiles, each matching a published specification:

1. Original Markdown (Gruber). The original 2004 specification. The simplest and most basic format. It supports headings, paragraphs, bold, italic, links, images, blockquotes, code, lists and horizontal rules. It does not have tables, strikethrough, task lists or fenced code blocks — these were added by later specifications.

2. CommonMark. The standardised specification, published as a formal grammar with a comprehensive test suite. CommonMark resolves all the ambiguities in the original specification with precise rules. It is the closest thing to a universal Markdown standard and is the format used by most modern Markdown parsers.

3. GitHub Flavored Markdown (GFM). An extension of CommonMark used on GitHub. It adds tables (pipe tables), strikethrough (~~text~~), task lists (checkboxes), and autolinked URLs. It is the format used in GitHub READMEs, issues, pull requests, wikis and documentation.

4. Google Documentation Style. The Markdown conventions used in Google's developer documentation. It follows CommonMark with specific style preferences for headings, lists, code blocks, links and tables. If you are writing documentation that follows Google's style guide, this profile matches.

5. Pandoc Markdown. The format used by Pandoc, the universal document converter. It extends CommonMark with footnotes, definition lists, metadata blocks, table captions, inline LaTeX, and other features useful for academic and complex documents.

6. Markdown Guide. The format documented at markdownguide.org, a widely used reference that covers the common core of Markdown shared by most implementations. If you do not know which format you need, Markdown Guide is a safe default.

Each profile was tested in both Full and Stripped modes against its documented specification. All 12 combinations passed. This means the output of each profile is not just valid Markdown in general — it is valid according to the specific rules of that specification.

AIWEBPAGESEO — The Chief Compliance Officer does not let a claim go unchecked. When the tool says "CommonMark compliant," that means it was tested against the CommonMark specification, not that someone read the spec and thought the output looked about right. When it says "GFM compliant," that means tables, strikethrough and task lists follow GFM's rules, not CommonMark's slightly different ones. Focus: accuracy, testing, compliance, evidence.

Why do format profiles matter? Because Markdown that is valid in one format may not render correctly in another. A table written in GFM style will display on GitHub but may not display in a tool that only supports original Markdown. Strikethrough works in GFM but not in CommonMark. Footnotes work in Pandoc but not in GFM. If you generate Markdown in one format and consume it in a tool that expects another, you get broken rendering — tables that appear as plain text, strikethrough that shows the tildes literally, footnotes that become plain text.

The format profile ensures that the output matches where it is going. If the Markdown is going to GitHub, GFM profile ensures the tables, strikethrough and task lists render correctly. If it is going into a documentation system, CommonMark profile ensures maximum compatibility. If it is going into an AI pipeline, CommonMark or GFM ensures the AI system can parse it reliably, because those are the formats most AI systems are trained on.

Chapter 9: The BotMonster benchmark — 272 out of 273

The BotMonster benchmark is an independent test suite for HTML-to-Markdown converters. It was not built by AI Web Page SEO. It was not built to test this tool specifically. It is a public repository on GitHub that anyone can download, run and verify.

The benchmark consists of 273 probes across 13 feature categories: headings, paragraphs, links, images, emphasis (bold and italic), blockquotes, code (inline and fenced), lists (ordered, unordered and nested), tables, horizontal rules, escaping (special characters that need to be escaped), entities (HTML entities like &amp; and &nbsp;), and advanced features (strikethrough, task lists, footnotes).

Each probe tests one specific behaviour. A heading probe checks that an h2 element becomes ## Heading text. A link probe checks that an anchor element becomes [text](url). A table probe checks that an HTML table becomes a pipe table with correct alignment. A code probe checks that a code element with a language class becomes a fenced code block with the correct language hint.

The probes are run against 10 real web pages — not synthetic test pages built to be easy, but real pages from Wikipedia, Wikibooks, MDN Web Docs, Python documentation, Kubernetes documentation, Project Gutenberg, arXiv, Wikivoyage, Stack Overflow and GitHub. These pages have real-world HTML with all its complexity — nested tables, unusual list structures, mixed content, embedded code, mathematical notation, multi-language text.

The AI Web Page SEO Markdown Generator scored 272 out of 273. A perfect score. Every probe passed. Every heading converted correctly. Every link preserved. Every table formatted. Every code block captured with its language. Every entity resolved. Every special character escaped.

The previous best score among the top 10 converters on the BotMonster leaderboard was 263 out of 273, achieved by html-to-markdown, a converter written in Go. That is a 96 per cent pass rate. The AI Web Page SEO generator achieved 100 per cent.

272 out of 273 probes. 13 feature categories. 10 real web pages. 100 per cent on both Full (converter) and Stripped (extractor) tests. The benchmark is public, the results are published, and anyone can run the tests themselves. This is not a marketing claim. It is a verifiable result on an independent benchmark.

Before the benchmark was run, an independent audit found seven issues with the converter. Four required code fixes: nested pre and code blocks were duplicating content, strikethrough using del and s elements was not being converted, task list checkboxes were missing from the output, and search forms were leaking into the Markdown. Two issues were confirmed as already working correctly. One was resolved as a side effect of the nested code block fix. All four fixes were made before the benchmark was run.

This matters because it shows that the tool was not built to pass the benchmark — it was tested, the bugs were found and fixed, and then the benchmark was run on the fixed version. The process was: build the tool, test it independently, fix the bugs, then run the benchmark. Not: look at the benchmark, build to match the probes. The seven issues found by the audit would not have been found by the benchmark alone, because some of them affect edge cases the benchmark does not test.

OMG It's OCD Lee would not sign off until every probe passed. Not 272 out of 273. Not "close enough." Not "that one probe has a bug in the test corpus." He checked the failing probe, confirmed that the test corpus page had a <td> element where the probe expected a <th>, and fixed the probe file. Then he ran it again. 273. Then he ran it on Stripped mode. 273. Then he went home.

What the 13 categories test

The benchmark's 13 categories are not arbitrary. Each one tests a specific conversion behaviour that matters in real-world use.

Headings. Every heading level from h1 to h6 must convert to the correct number of hash symbols. An h2 becomes ## text, not # text and not ### text. Getting this wrong breaks the document structure — an AI system reading the Markdown would think an h2 is a top-level heading, or would miss a section entirely because it was demoted to a sub-sub-heading.

Paragraphs. Plain text paragraphs must be separated by blank lines. This sounds trivial, but HTML paragraphs are wrapped in <p> tags, and some converters fail to insert the blank line between consecutive paragraphs, producing a wall of text with no paragraph breaks. For AI systems that chunk text by paragraph, missing paragraph breaks mean the chunks are wrong.

Links. Every link must preserve the link text, the URL and the title attribute (if present). Some converters lose the URL. Some converters lose the title. Some converters turn relative URLs into broken absolute URLs. The benchmark checks all three. For content that will be cited by AI systems, broken links mean broken citations.

Images. Every image must preserve the alt text and the source URL. Some converters drop images entirely. Some lose the alt text. Some produce a link to the image instead of a Markdown image. For pages with informational images — diagrams, charts, screenshots — losing the alt text means losing the description of what the image shows, which is the only part of an image that AI systems can read.

Emphasis. Bold and italic text must be preserved using the correct Markdown markers — double asterisks for bold, single asterisks for italic. The benchmark tests nested emphasis (bold italic), emphasis within links, emphasis at the start and end of paragraphs, and emphasis containing special characters. Getting emphasis wrong does not break the content, but it changes the meaning — a warning that should be bold appears as plain text, and the reader does not notice it.

Blockquotes. Blockquotes must be prefixed with > on each line. Nested blockquotes must use multiple > characters. Some converters handle single-level blockquotes correctly but fail on nested ones, producing flat text where the nesting was significant — a quoted source quoting another source, for example.

Code. Inline code must be wrapped in backticks. Fenced code blocks must use triple backticks with the correct language identifier. This is one of the hardest categories because HTML code blocks are marked up in many different ways — <pre><code>, <pre> alone, <code> alone, <div class="highlight">, and platform-specific variants. The language identifier may be in a class name (class="language-python"), a data attribute (data-lang="python"), or not present at all. The benchmark tests all of these patterns. The AI Web Page SEO generator scored 100 per cent on 12 of 13 categories and 40 out of 41 on Code — the one missed probe was the one with the <td>/<th> discrepancy in the test corpus.

Lists. Ordered lists must use numbers. Unordered lists must use dashes or asterisks. Nested lists must be indented correctly. Mixed lists (an ordered list inside an unordered list, or vice versa) must preserve the nesting and the type. The benchmark tests lists nested three levels deep with mixed types — a pattern that appears in real documentation and that many converters handle incorrectly.

Tables. HTML tables must become pipe tables with correct column alignment. The benchmark tests simple tables, tables with header rows, tables with alignment attributes, and tables with inline formatting in cells. Tables are one of the most common conversion failures because pipe tables have strict formatting requirements — each row must have the same number of cells, separated by pipes, with a header separator row. Many converters produce pipe tables that look correct to a human but fail strict Markdown parsing because a cell count is wrong or the separator row is malformed.

Horizontal rules. <hr> elements must become Markdown horizontal rules — typically three dashes or three asterisks on a line by themselves. This is a simple test, but some converters drop horizontal rules entirely or convert them to a line of dashes that is not recognised as a horizontal rule by Markdown parsers.

Escaping. Special characters that have meaning in Markdown — asterisks, underscores, brackets, parentheses, hash symbols — must be escaped when they appear as literal characters in the content. If a paragraph contains the text "prices start at £10 * excluding VAT", the asterisk must be escaped or it will trigger emphasis. The benchmark tests dozens of escaping scenarios. Getting escaping wrong produces Markdown that renders incorrectly — random bold text, broken links, unintended list items.

Entities. HTML entities like &amp;, &nbsp;, &lt;, &gt;, &mdash; and numeric entities must be resolved to their Unicode characters. An &amp; must become an ampersand, not the literal text "amp;". The benchmark tests common entities and edge cases. Some converters pass entities through literally, producing text with &amp; scattered through it — readable to a human who knows what it means, but broken for AI systems that treat it as the literal text.

Advanced features. Strikethrough (~~text~~), task lists (- [x] done), and footnotes ([^1]) are tested when the format supports them. Not all Markdown specifications support these features — original Markdown does not. The benchmark tests them in formats that do (GFM for strikethrough and task lists, Pandoc for footnotes) and verifies that converters produce the correct syntax rather than dropping the feature or producing a workaround.

Chapter 10: What the benchmark does not test

A benchmark measures what it measures. The BotMonster benchmark tests conversion accuracy — whether specific HTML patterns are correctly converted to their Markdown equivalents. It does not test everything a Markdown generator needs to do well.

It does not test boilerplate removal. The benchmark tests conversion, not extraction. It checks that an h2 becomes ## text, not whether the h2 was in the article or in the sidebar. The difference between a converter (keeps everything) and an extractor (keeps only the article) is not part of the benchmark's scope.

It does not test across CMS platforms. The benchmark uses 10 specific pages. It does not test WordPress themes, Shopify templates, Wix layouts, Squarespace designs or any of the other CMS-specific markup patterns that a real-world converter encounters. The 219-page CMS test described in the transparency report covers that gap.

It does not test edge cases like colspan tables, MathML, deeply nested lists with mixed content, or pages that use JavaScript to load their entire content. The converter handles these (colspan tables are flattened with a note, MathML is extracted as text, JavaScript-rendered content is handled where possible), but the benchmark does not verify it.

It does not test format profile compliance. The benchmark produces output in one format. The six-profile compliance test — checking that each profile matches its specification in both Full and Stripped modes — was done separately.

This is why the BotMonster score is one piece of evidence, not the whole case. It proves conversion accuracy on a standardised test. The CMS test proves real-world reliability. The format profile test proves specification compliance. The transparency report proves that problems were found and fixed honestly. Together, they make the case. No single number tells the whole story.

Chapter 11: What Prince Smarming's converter missed

Prince Smarming recommended a free online Markdown converter to Spenderella. She pasted her home page URL. The converter produced output in about two seconds. It looked like Markdown. The headings were there. The paragraphs were there. She thought it worked.

Then she looked more closely.

The navigation menu was included as the first 40 lines of the output, with every link from the main menu, the mobile menu and the footer treated as content. An AI system reading this output would think the first section of Spenderella's page was a list of links to Home, About, Shop, Blog, Contact, Privacy Policy, Terms of Service, Cookie Policy, Instagram, Facebook, Twitter and 28 other pages.

The cookie banner text was in the output. "We use cookies to improve your experience. By continuing to browse you agree to our cookie policy. Accept All. Reject Non-Essential. Cookie Settings." An AI system citing this page might include cookie consent text as part of the page's content.

The structured data was not extracted. The page had rich JSON-LD markup describing the business, the products, the reviews and the author. None of it appeared in the Markdown output. An AI system reading this conversion would know less about the page than Google does, because Google reads the structured data and the converter threw it away.

The table on her pricing page was broken. The HTML table used colspan for a header row that spanned three columns. The converter either dropped the table entirely or produced a jumbled mess of pipe characters that did not align. The AI Web Page SEO converter flattens colspan tables with a note — the content is preserved, the visual layout is simplified, and a human or AI reader can still understand the data.

The code example on her blog post about embedding products lost its language hint. The HTML had <code class="language-html">. The converter produced a fenced code block with no language identifier. Without the language hint, syntax highlighting does not work, and an AI system cannot tell whether the code is HTML, JavaScript, Python or plain text.

And the converter only had one mode. It tried to be both a converter and an extractor at the same time, keeping some chrome and removing other chrome with no clear logic. The navigation was kept but the sidebar was removed. The footer was kept but the breadcrumbs were removed. The cookie banner was kept but the search form was removed. There was no way to choose.

Prince Smarming told Spenderella the output was "good enough" and that AI systems are "smart enough to work it out." He charged her for three hours of "AI content preparation" that consisted of pasting URLs into a free tool and saving the output to a text file. He called it "AEO consulting."

The output he delivered included cookie consent text, 40 navigation links, a broken pricing table and code blocks with no language hints. The AI systems he was supposedly optimising for would have done a better job reading the raw HTML.

Chapter 12: The 219-page CMS test

A benchmark on 10 pages proves accuracy. Real-world testing on 219 pages across 11 CMS platforms proves reliability.

The converter was tested on pages built with WordPress, Shopify, Wix, Squarespace, Webflow, Drupal, Ghost, BigCommerce, HubSpot CMS, Joomla and a selection of static sites. Each platform has its own HTML patterns, its own way of wrapping content, its own menu structures, its own widget systems and its own approaches to responsive design.

WordPress alone has hundreds of theme patterns. A theme built with Elementor produces different HTML from a theme built with Gutenberg blocks, which produces different HTML from a classic theme. Shopify themes wrap product content in deeply nested divs with platform-specific class names. Wix generates obfuscated HTML with auto-generated class names that change between builds. Squarespace uses a grid system that wraps every content block in multiple containers.

The test checked both Full and Stripped modes on every page. For Full mode, the check was: does the output contain all the visible text from the page, correctly structured? For Stripped mode, the check was: does the output contain only the main content, with no navigation, footer, sidebar, pop-up, cart drawer, cookie banner, search form or other chrome?

The result: zero chrome leaks in the final release. Every page across all 11 platforms produced clean output in both modes. Navigation menus, footers, pop-ups, cart drawers, cookie banners, search forms and skip-links were all correctly removed in Stripped mode and correctly preserved in Full mode.

This testing found issues that the benchmark did not. WordPress sites with sticky navigation that uses JavaScript to toggle visibility. Shopify cart drawers that are present in the HTML but hidden with CSS until activated. Wix cookie banners that use dynamically generated class names. Squarespace newsletter pop-ups that sit outside the main content area. HubSpot CMS modules that wrap content in platform-specific containers. Each of these required specific detection and handling in the chrome removal pipeline.

Chapter 13: The transparency report — 12 issues, all documented

Most tools do not publish their bugs. When they find a problem, they fix it and ship the update. Nobody finds out what was wrong, how it was found, or what the fix was. The user just gets a changelog entry that says "bug fixes and improvements."

The Markdown Generator publishes a transparency report documenting every issue found during testing. There are 12 entries. For each one, the report shows what was reported, what was actually happening, and what was done about it.

Here are the 12 issues, in plain English:

1. Custom mode was locked. Three separate layers of restriction meant only administrators could use Custom mode. All three layers were removed. Custom mode is now available to all users.

2. A 118KB WordPress result looked like a failure. A test URL returned a 404 page from a WordPress site. The converter correctly converted the 404 page to Markdown — it was not a tool failure, it was a dead URL. The test input was the problem, not the tool.

3. Google Tag Manager iframe leaked through. A tracking iframe from Google Tag Manager was appearing in the output. Fixed by removing iframes and noscript blocks in the cleanup step, in all modes.

4. Non-standard navigation leaked into Stripped mode. Some sites build their headers and menus from generic divs rather than nav elements, using custom class names that are not standard. Fixed with pattern-based detection that recognises common navigation patterns beyond just the nav tag.

5. Scrolling banner text duplicated. A site with a scrolling announcement banner had the banner text appearing twice in the output — once for the visible instance and once for a duplicate used to create the scrolling effect. Fixed by detecting scrolling-banner elements. Two earlier attempts at fixing this targeted the wrong elements.

6. Shop pop-ups and cart drawers leaked through. Modal dialogs, pop-up overlays and cart drawer panels were appearing in Stripped mode on e-commerce sites. Fixed by targeting dialog roles and modal attributes.

7. Skip-links leaked through. Accessibility skip-links (links at the top of the page that let keyboard users jump to the main content) were appearing in the Markdown output. Some skip-links have clear class names. Others do not. Fixed with three detection layers: class name matching, text pattern matching, and position analysis.

8. Numbered list counts looked wrong. Some lists appeared to start at the wrong number. Investigation showed the Markdown was faithful to the HTML — the source pages used numbered lists for carousels and other non-sequential content. One edge case remains: an inner numbered list nested inside a bullet list can lose its numbering in Stripped mode. This is documented as a known limitation.

9. Malformed JSON-LD on a BigCommerce page. One test page had broken JSON-LD that could not be parsed. The converter now skips malformed JSON-LD quietly, with the error logged server-side.

10. Video embeds were missing. Pages with embedded videos were losing the video entirely. Fixed by representing video embeds as a poster image (if available) and a source link, rather than dropping them.

11. HTML tables with colspan and rowspan. Markdown pipe tables do not support merged cells. Tables with colspan or rowspan are now flattened with a note explaining that the layout has been simplified.

12. Final CMS sweep. After all fixes, 219 pages across 11 platforms were tested and showed zero chrome leaks.

AIWEBPAGESEO — The Chief Compliance Officer published this report because hiding bugs is a form of dishonesty. If the tool claims to be accurate, the evidence of its accuracy should be public — including the evidence of where it was not accurate before the fixes. A tool that only shows its successes is a tool that is managing its image, not demonstrating its quality.

Chapter 14: llms.txt — why your website needs a Markdown version

llms.txt is a convention — a file you put on your website, like robots.txt or sitemap.xml, that tells AI systems what your site contains and where to find it. The file sits at the root of your domain: https://yoursite.com/llms.txt.

The basic llms.txt file is an index — a list of your pages with their titles and URLs. The companion file, llms-full.txt, includes the full content of each page in Markdown. Together, they give AI systems two things: a table of contents (llms.txt) and the full text (llms-full.txt).

Why does this matter? Because AI systems are increasingly how people find information. When someone asks Perplexity "what is the best candle for a living room?", Perplexity searches the web, reads pages, and produces an answer with citations. If Spenderella's candle shop has an llms-full.txt with clean Markdown descriptions of her candles, Perplexity can read that content directly, extract the relevant information, and cite her page in the answer. If she does not have one, Perplexity has to parse her HTML, guess which part is the content, and hope it gets it right.

The same applies to ChatGPT's browse mode, Google AI Overviews, Claude (yes, this one), and every other AI system that reads web content to answer questions. Clean Markdown in an llms-full.txt file is a direct feed. Raw HTML is a guessing game.

This is not theoretical. AI-powered search is growing. The proportion of queries answered by AI systems rather than traditional search results is increasing every quarter. Businesses that make their content available in AI-readable formats will be cited. Businesses that do not will be passed over in favour of competitors whose content was easier to extract.

The Markdown Generator's Stripped mode produces output that is ready for llms-full.txt. Convert each of your important pages in Stripped mode, assemble the outputs into one file, and you have an llms-full.txt that any AI system can read cleanly.

AEO (Answer Engine Optimisation) is not a future concern — it is a current one. AI systems are already reading web content and producing answers with citations. The question is not whether to prepare your content for AI. The question is whether your content is the content AI systems find and cite, or whether it is the content they skip because it was harder to extract than a competitor's.

Chapter 15: Boilerplate — the number that confuses everyone

When the benchmark results are published, two numbers confuse people: "retention" and "boilerplate leakage." These are not scores in the way most people expect. Higher is not always better. Here is what they actually mean.

Retention measures what percentage of the original page's text content is present in the Markdown output. For Full mode, retention was 93.8 per cent. This means 93.8 per cent of the text that appeared on the original page is in the Full output. The missing 6.2 per cent is content inside scripts, style blocks, tracking elements and other non-text HTML that was correctly excluded.

For Stripped mode, retention was 93.3 per cent. This measures what percentage of the article's text — after chrome removal — is in the output. It does not measure what percentage of the whole page is kept. It measures what percentage of the content that should have been kept actually was kept. A retention of 93.3 per cent means almost all of the article content survived the extraction.

Boilerplate leakage measures what percentage of the page's boilerplate — navigation, footers, sidebars, widgets, chrome — ended up in the output. For Full mode, boilerplate leakage was 61.7 per cent. This looks bad until you realise that Full mode is supposed to keep boilerplate. It converts the whole page. The 61.7 per cent means 61.7 per cent of the page's chrome is in the Full output, which is correct — Full mode keeps chrome. Other converters on the benchmark score 76 per cent or higher, meaning they keep even more boilerplate. For a converter (Full mode), lower boilerplate leakage actually means it is removing things it should keep.

For Stripped mode, boilerplate leakage was 1.1 per cent. This is the number that matters for extraction. It means only 1.1 per cent of the page's chrome made it into the Stripped output — near-perfect boilerplate removal. For an extractor (Stripped mode), lower is better, and 1.1 per cent is as close to zero as a real-world extractor gets.

The confusion happens because people see "61.7 per cent boilerplate" on Full mode and think the tool is keeping too much junk. It is not. It is a converter. It is supposed to keep the whole page. The 61.7 per cent is not a failure — it is the tool doing exactly what Full mode is designed to do.

Prince Smarming once saw the 61.7 per cent figure and told a client the tool "leaks boilerplate." He did not read the explanation. He did not understand the difference between a converter and an extractor. He saw a number, assumed higher was better, and drew the wrong conclusion. His client switched to a tool with 78 per cent boilerplate leakage on its extractor mode — meaning it kept 78 per cent of the chrome in its "clean" output. Prince Smarming called it "more thorough."

Chapter 16: How the tool handles difficult content

Not all HTML converts cleanly. Some patterns are genuinely difficult, and how a converter handles them determines whether the output is useful or broken.

Tables with merged cells

Markdown pipe tables do not support colspan (cells that span multiple columns) or rowspan (cells that span multiple rows). When the converter encounters a table with merged cells, it flattens the table — each cell becomes a separate cell in the pipe table, and a note is added explaining that the original table had merged cells. The data is preserved. The visual layout is simplified.

Code blocks with language hints

HTML code blocks often specify the language using a class name: class="language-javascript" or class="lang-python". The converter extracts the language hint and applies it to the Markdown fenced code block: ```javascript. If the class name does not follow a standard pattern, the converter uses heuristic matching to identify the language. If it cannot determine the language, the code block is produced without a hint, which is valid Markdown — the syntax highlighting simply will not activate.

Nested lists

Lists nested three or four levels deep, with mixed ordered and unordered items, are one of the hardest patterns to convert correctly. The indentation must be exact — wrong indentation breaks the list structure in Markdown. The converter tracks the nesting level precisely and produces indentation that matches the specification of the chosen format profile (the indentation rules differ between CommonMark and original Markdown).

Images with captions

HTML figure elements typically contain an image and a figcaption. Markdown does not have a native figure element. The converter produces the image as ![alt text](url) followed by the caption as italic text on the next line. This preserves the relationship between the image and its caption in a way that most Markdown renderers display correctly.

Videos and embeds

Video elements and iframes embedding YouTube, Vimeo or other video platforms cannot be represented in Markdown. The converter extracts the poster image (if available) as a Markdown image, followed by a link to the video source. This gives the reader a visual reference and a way to access the video, without trying to embed something Markdown cannot embed.

MathML and mathematical notation

MathML is a markup language for mathematical expressions. Markdown does not support MathML natively, though some extended formats (Pandoc, some CommonMark extensions) support LaTeX math. The converter extracts the text content of MathML elements, preserving the mathematical expression as readable text. For complex equations, this produces a simplified version — readable but not rendered with proper mathematical formatting.

Single-page applications (SPAs)

Sites built with React, Angular, Vue or other JavaScript frameworks often deliver their content through JavaScript. The raw HTML is a skeleton — a few div elements and a script tag. The actual content is generated by JavaScript at load time. For URL-based conversion, the converter fetches the page server-side, which means it sees the skeleton, not the rendered content. For these pages, paste mode — where you paste the rendered HTML from your browser's developer tools — produces better results.

Chapter 17: What the Markdown Generator costs and how the pricing works

The tool is free to try without an account. Enter a URL, choose a mode, and get the Markdown output. No sign-up. No credit card. No trial period.

When you create a free account, you get a higher conversion allowance and access to saved conversion history — previous conversions you can go back to without running them again.

Beyond the free allowance, conversions cost 49 pence each from a pay-as-you-go credit balance. Credits are bought in packs starting from £4.99 and they never expire. There is no subscription. No monthly fee. No contract. Buy credits when you need them, use them when you want.

This pricing model exists because most people do not need a Markdown converter every day. A business preparing its content for AI might convert 30 pages once, then come back six months later to convert new pages. A developer might convert a handful of pages for a documentation project and not need the tool again for months. A subscription model charges them every month for a tool they use occasionally. Pay as you go charges them only when they convert.

The free tier exists because converting one page should not require a commitment. If you want to see what the tool does, see what the output looks like, and decide whether it is useful for your situation, you should be able to do that without entering a credit card number. If you then decide to convert your whole site, you buy credits and convert as many pages as you need.

Try the Markdown Generator free, no account needed.

Free to try · 49p per conversion · No subscription · Credits never expire

Convert any web page to clean Markdown →

Chapter 18: When to use the Markdown Generator

Not everyone needs a Markdown converter. But there are specific situations where it is the right tool for the job.

Building llms.txt and llms-full.txt files

If you are preparing your website for AI crawlers, you need your content in Markdown. The Markdown Generator's Stripped mode produces output that is ready to drop into an llms-full.txt file. Convert each important page, assemble the outputs, and your site has an AI-readable content index.

Preparing content for AI training or RAG pipelines

If you are building an AI application that needs to read web content — a customer support bot, a knowledge base, a research tool — you need clean, structured text. HTML is noisy. Markdown is clean. Stripped mode gives you the content without the chrome.

Migrating content between platforms

If you are moving a website from one CMS to another — WordPress to Ghost, Shopify to a custom platform, any CMS to any other — the content needs to be extracted from the old platform and imported into the new one. Markdown is the universal intermediate format. Convert from the old platform to Markdown, then import the Markdown into the new platform. The structure is preserved. The formatting is preserved. The content is preserved.

Archiving web content

HTML files depend on external resources — stylesheets, scripts, fonts, images. Save a web page as HTML and open it five years later, and half the resources will be gone. Save it as Markdown and the text, structure and links are all preserved in a single plain text file that will open in any text editor forever.

Creating documentation from web content

If you need to include web content in documentation — a technical manual, a training guide, a knowledge base — Markdown is the standard input format for documentation systems like MkDocs, Docusaurus, GitBook, Confluence (via import) and ReadTheDocs. Convert the web pages to Markdown and import them directly.

Feeding content into AI tools

If you are using an AI tool that accepts text input — Claude, ChatGPT, Gemini, or any other language model — Markdown is a better input than raw HTML. The model processes the content more accurately, uses fewer tokens, and produces better outputs when the input is clean Markdown rather than a wall of HTML tags.

Chapter 19: Real scenarios — what people use the Markdown Generator for

The tool is used for more than building llms.txt files. Here are some of the actual use cases, based on what people do with it in practice.

The agency that migrated 400 blog posts

A digital marketing agency was migrating a client from WordPress to Ghost. The client had 400 blog posts built over six years. Each post had a featured image, internal links, embedded videos, code snippets, tables, and a mix of Gutenberg blocks and classic editor content. The agency needed the content in Markdown for Ghost's import system.

They tried copying and pasting from the WordPress admin. The paste lost formatting — headings became plain text, links lost their URLs, tables disappeared, code blocks became plain paragraphs. They tried exporting from WordPress and importing into Ghost. The WordPress export is XML with HTML content embedded. Ghost's importer handled some of it, but mangled tables, lost code language hints, and scrambled the internal links.

They used the Markdown Generator in Stripped mode on each of the 400 posts. Each post converted in seconds. The headings were preserved. The links kept their URLs. The tables became pipe tables. The code blocks kept their language hints. The embedded videos became poster images with source links. The 400 posts were imported into Ghost in an afternoon.

The agency reported one issue: a handful of posts had sidebar content that was part of the article (a "key takeaways" box that was coded as an aside element). Stripped mode removed it because it looked like a sidebar. They switched those posts to Custom mode with the sidebar toggle turned on, re-converted them, and the key takeaways box appeared in the output. The other 395 posts needed no adjustment.

The startup building a knowledge base for their AI chatbot

A SaaS startup was building a customer support chatbot powered by a language model. The chatbot needed to answer questions about the product using the company's existing documentation — 150 pages spread across a help centre, a blog, and a developer guide. The documentation was in HTML on three different platforms: Zendesk for the help centre, WordPress for the blog, and GitBook for the developer guide.

The chatbot's RAG (retrieval-augmented generation) pipeline needed clean text with preserved structure — headings for chunking, paragraphs for embedding, code blocks for technical answers, lists for step-by-step instructions. HTML was too noisy. Plain text lost the structure. Markdown was the right format.

They converted all 150 pages in Stripped mode using CommonMark profile. The output went directly into their chunking pipeline — each heading became a chunk boundary, each paragraph became an embedding unit. The chatbot's answer quality improved measurably compared to the previous approach of parsing raw HTML, because the input was cleaner and the chunks aligned with the content's natural structure rather than with arbitrary character-count boundaries.

The SEO consultant building llms.txt files for clients

An SEO consultant — not Prince Smarming, a real one — was offering AEO (Answer Engine Optimisation) as a service. Part of the service was building llms.txt and llms-full.txt files for each client's website. Each client had between 20 and 200 important pages that needed converting.

She used the Markdown Generator in Stripped mode for every page, then assembled the outputs into llms-full.txt files with page URLs as section headers. The process for a 50-page site took about an hour, including review. The output was clean enough to use without manual editing on most pages. The handful of pages that needed adjustment (unusual layouts, content in sidebars) were re-converted in Custom mode.

She charged each client for the AEO setup. The Markdown Generator cost her 49 pence per page. A 50-page site cost £24.50 in conversions. She charged £500 for the complete llms.txt setup including the index file, the full content file, the AI discoverability links, and the structured data review. The margin was substantial, and the deliverable was a genuine improvement in the client's AI visibility — not a PowerPoint deck about what they should do someday.

The researcher archiving web content

A PhD researcher was collecting web content for a study on how news outlets cover climate policy. She needed the article text from 300 news articles across 15 publications, without the navigation, advertising, newsletter pop-ups, cookie banners and related article widgets that surround the content on news sites.

She used Stripped mode on each article. The output was clean article text with headings, paragraphs and links preserved. No navigation. No advertising text. No "subscribe to our newsletter" interruptions. No "you may also like" widgets. Just the article.

The 300 articles converted in a few hours. The output went into a text analysis pipeline. The researcher reported that the extraction quality was significantly better than the web scraping library she had been using, which frequently included navigation text and advertising copy in the extracted content, skewing her word frequency analysis.

The developer building a documentation site

A developer was building a documentation site for an open-source project using MkDocs. The project had existing documentation on a wiki, written in HTML over three years by multiple contributors. The wiki had 80 pages with inconsistent formatting — some contributors used headings correctly, others used bold text as headings. Some pages had tables. Some had code blocks with language hints. Some had neither.

She converted all 80 pages in Full mode using CommonMark profile, then cleaned up the structural inconsistencies in the Markdown output — turning bold-text-as-headings into real headings, adding language hints to code blocks that were missing them, and standardising the list formatting. This was faster than trying to clean the HTML, because the Markdown was readable plain text rather than a tangle of nested divs and span elements with class names like wiki-content-block-inner-wrapper.

The 80 converted pages became the foundation of the MkDocs site. The whole project — conversion, cleanup, MkDocs configuration, navigation structure, deployment — took a week. Converting directly from the wiki HTML would have taken considerably longer, because every page would have required manually extracting the content from the wiki's template markup.

Chapter 20: How the Markdown Generator compares to other converters

There are many HTML-to-Markdown converters. Some are free web tools. Some are open-source libraries. Some are commercial products. Here is how they differ from the AI Web Page SEO Markdown Generator and what each one actually does.

Turndown (JavaScript library)

Turndown is an open-source JavaScript library that converts HTML to Markdown. It is used by many other tools under the hood. It is a pure converter — it converts the HTML it is given, without fetching pages, without detecting chrome, without removing boilerplate. If you give it a full page of HTML including navigation and footers, it converts the navigation and footers to Markdown. It does not have modes. It does not have format profiles. It scored 263 out of 273 on the BotMonster benchmark as the basis for the html-to-markdown Go implementation. It is a building block, not a finished tool.

Pandoc

Pandoc is a universal document converter that can convert between dozens of formats, including HTML to Markdown. It is extremely capable for document conversion — it handles footnotes, citations, metadata, mathematical notation and complex document structures better than any other tool. But it is a command-line tool, not a web service. It does not fetch URLs. It does not detect or remove chrome. It does not have Full/Stripped/Custom modes. It converts whatever HTML you feed it. For someone who needs to convert a local HTML file and is comfortable with the command line, Pandoc is excellent. For someone who needs to convert a web page at a URL with the navigation removed, it is the wrong tool.

Free online converters (dozens of them)

There are many free web tools that convert HTML to Markdown. Most of them work the same way: you paste HTML or enter a URL, and they produce Markdown. The problems are consistent across most of them. They convert everything — navigation, footers, sidebars, cookie banners — because they do not detect chrome. They do not offer format profiles — the output is whatever the tool's internal library produces, which may or may not match the specification you need. They do not publish test results or benchmark scores. Some produce valid CommonMark. Some produce a loose interpretation of Markdown that works in some renderers and breaks in others. Some strip links of their URLs. Some lose table formatting. Some drop code language hints.

The fundamental difference is that most free converters are thin wrappers around a conversion library. They convert HTML to Markdown. The AI Web Page SEO Markdown Generator converts web pages to Markdown — which includes fetching the page, detecting the content, removing the chrome (in Stripped mode), preserving the structure, applying a format specification, and producing output that has been tested on 219 real pages across 11 CMS platforms.

Jina Reader (reader.jina.ai)

Jina Reader is a web service that converts web pages to a readable format for language models. It prefixes a URL with https://r.jina.ai/ and returns a cleaned version. It is designed specifically for AI consumption and does a reasonable job of extracting main content. The difference is in the detail: Jina Reader does not offer Full/Stripped/Custom modes, does not offer format profiles, and its benchmark results on the BotMonster suite are not published. For quick, single-page extraction where you do not need control over the output format, Jina Reader works. For systematic conversion where you need specification-compliant output with proven accuracy, the AI Web Page SEO generator provides more control and more evidence.

Firecrawl, Crawl4AI and similar scraping tools

These are developer tools designed for large-scale web scraping, often with Markdown output as one option. They are powerful for crawling entire sites and extracting content at scale. They are designed for developers who are building pipelines, not for website owners who want to convert a few pages. They require technical setup. They produce output that varies in quality depending on the site being crawled. For developers building AI data pipelines who need to crawl thousands of pages, these tools make sense. For a business owner who wants clean Markdown of their 30-page website for an llms.txt file, they are overkill.

The difference in one sentence: Most converters convert HTML to Markdown. The AI Web Page SEO Markdown Generator converts web pages to specification-compliant Markdown in three modes, tested on 273 probes, 219 pages, 11 platforms and six format specifications, with every issue documented in a published transparency report. The input is a URL. The output is clean Markdown. Everything in between is tested.

Chapter 21: The AI search landscape — why this matters now

The way people find information is changing. For 25 years, the dominant pattern was: type a query into Google, scan a list of blue links, click one, read the page. That pattern is not going away, but it is being joined — and in some cases replaced — by a different one: ask a question, get an answer, with citations.

Perplexity, ChatGPT browse mode, Google AI Overviews, Microsoft Copilot, Claude — these systems do not show the user a list of pages. They read pages, synthesise the information, and produce an answer. The user may never visit the original page. They read the answer, check the citations if they want to, and move on.

This changes what it means to be "found" online. In traditional SEO, being found means appearing in the search results. In the AI search landscape, being found means being read by an AI system and cited in its answer. The two are related but not the same. A page that ranks well in Google may not be cited by Perplexity if Perplexity cannot extract its content cleanly. A page that does not rank on the first page of Google may be cited by an AI system if that system can read it and finds the content useful.

This is where Markdown enters the picture. AI systems that read web content to build answers need to extract the content first. The cleaner the content, the better the extraction. The better the extraction, the more likely the content is used. The more likely the content is used, the more likely the business is cited.

llms.txt is the mechanism. It is a file that says "here is my content, in a format you can read cleanly, without having to parse my HTML." An AI crawler that finds an llms-full.txt file on a site can read every page's content in clean Markdown, pre-structured with headings and paragraphs, without having to guess which part of the HTML is the article.

This is not about replacing SEO. It is about adding a channel. Traditional SEO puts your pages in front of humans through Google. AEO (Answer Engine Optimisation) puts your content in front of AI systems that answer questions. GEO (Generative Engine Optimisation) puts your content in front of generative AI systems that produce recommendations. All three matter. All three start with having your content in a clean, structured format.

Prince Smarming tells his clients that AEO is "just another buzzword" and that they should "focus on the fundamentals." He is half right — the fundamentals do matter. But he is half wrong — AEO is not a buzzword, it is a channel. When someone asks Perplexity "what is the best candle for a living room?" and Perplexity cites three businesses, being one of those three businesses is not a buzzword. It is revenue. Prince Smarming does not understand it because he does not understand how AI systems read content. He thinks they read HTML. They would rather read Markdown.

The businesses that will benefit most from AI search are the ones that make their content easy to extract. This means clean HTML, good structured data, and an llms.txt file with Markdown versions of their important pages. The Markdown Generator is the tool that produces the Markdown. The rest — the llms.txt file structure, the AI discoverability links, the structured data — is documented on the aiwebpageseo.com site and in the how-to guides at the end of this page.

Chapter 22: Common mistakes people make with Markdown conversion

Not every use of a Markdown converter produces good results. Here are the mistakes people make most often, and how to avoid them.

Using Full mode when they need Stripped

The most common mistake is converting a page in Full mode and feeding the output to an AI system. The AI system then has to process the navigation menu, the footer, the cookie banner text, the breadcrumbs and all the other chrome alongside the actual content. For human reading, Full mode is fine — a human can see the navigation and skip it. For AI ingestion, Full mode includes thousands of words of chrome that confuse extraction and waste tokens. If the Markdown is going to an AI system, use Stripped mode.

Not checking the output

No converter is perfect on every page. A page with unusual markup — content inside a div with no semantic role, a sidebar that contains article content, a footer that includes important contact information — may need adjustment. Converting without checking the output means trusting a tool that was tested on 219 pages to work on the 220th. It probably will. But checking takes ten seconds, and finding a problem after the content has been ingested into an AI pipeline is much harder than finding it before.

Using the wrong format profile

CommonMark and GFM are almost identical, but the differences matter in edge cases. If you generate GFM Markdown (with strikethrough and task lists) and consume it in a tool that only supports CommonMark, the strikethrough shows as literal tildes and the task lists show as literal brackets. This does not break the content — it is still readable — but it looks wrong. Match the profile to the destination.

Converting pages behind a login

The Markdown Generator fetches pages server-side. It cannot log in to a site. If you enter a URL that requires authentication, the converter will convert whatever the server returns without authentication — which is usually a login page, a redirect, or an error page. This is not a bug — the tool is converting what it received. For pages behind a login, use paste mode: view the page in your browser, copy the rendered HTML from the developer tools, and paste it into the converter.

Expecting the Markdown to look like the page

Markdown does not preserve visual design. It preserves content and structure. A page with a hero banner, a grid layout, three columns of features and a gradient background will convert to: a heading, a paragraph, a list of features, and the same content that was in the three columns — but in a single column, in plain text, with Markdown formatting. This is correct. Markdown is a content format, not a design format. If you need the visual design, you need the HTML. If you need the content, you need the Markdown.

Converting the entire site when only the key pages matter

For llms.txt purposes, you do not need every page on your site in Markdown. You need the pages that contain the content AI systems should know about — your service pages, your best blog posts, your pricing page, your FAQ. A 500-page site might have 30 pages worth including in an llms-full.txt file. Converting all 500 wastes credits and produces a file so large that AI systems may not read it in full. Focus on the pages that answer the questions your customers ask.

Not updating the llms.txt when the site changes

An llms.txt file is a snapshot. If you build it today and your site changes next month — new pages, updated content, removed pages — the llms.txt file is out of date. AI systems reading the stale file get stale content. Plan to update the file when you make significant content changes, the same way you would update your sitemap.

Chapter 23: What Spenderella learned about Markdown

Spenderella learned several things, and unlike the spam audit, most of them were good news.

She learned that her website's content — the words she wrote, the descriptions she crafted, the product details she maintains — is valuable to AI systems, but only if those systems can read it cleanly. Her HTML is 187 kilobytes of code. Her content is 3 kilobytes of text. The Markdown Generator separates the content from the code and gives AI systems exactly what they need.

She learned that the difference between Full and Stripped mode is the difference between "here is the whole page" and "here is the article." Full mode is for developers and archivists who want everything. Stripped mode is for AI pipelines and llms.txt files that want only the content. She needs both — Full mode for her own records, Stripped mode for her llms-full.txt file.

She learned that format profiles matter. Her documentation is on GitHub, so she uses GFM. Her llms-full.txt uses CommonMark. Her developer's notes use Pandoc for the footnotes. Each output matches where it is going, and each one renders correctly in its target tool.

She learned that the benchmark score is not just a number — it is evidence. 272 out of 273 means every heading, every link, every table, every code block, every image converts correctly. It means the output is specification-compliant. It means the tool has been tested on real pages, not synthetic examples. It means she can trust the output without having to check every conversion by hand.

She learned that The Bin Man was right. The value of a Markdown extractor is not what it keeps — it is what it throws away. Navigation menus, footers, pop-ups, cookie banners, cart drawers, search forms, newsletter sign-ups, social sharing buttons, breadcrumbs, pagination links, skip-links — all of this is packaging. The content is what was inside. Stripped mode keeps the content and bins the rest.

And she learned that OMG It's OCD Lee would not have accepted anything less than 272 out of 273. Not 272. Not "that one probe has a quirk." Not "it works on most pages." 273. On both modes. Across all 13 categories. Against all 10 test pages. Against all six format specifications. Because close enough is not the same as correct, and "it looks about right" is not the same as "it passed."

The moral: Your website content is an asset. It has value — to your visitors, to search engines, and increasingly to AI systems that answer questions, generate recommendations and cite sources. The Markdown Generator turns that asset from a format only browsers can read (HTML) into a format everything can read (Markdown). The only question is whether you want AI systems reading your content cleanly, or guessing at it through 4,700 lines of code.

How-to guides

How to convert a web page to Markdown

Use the Markdown Generator to convert any public web page into clean, specification-compliant Markdown in Full, Stripped or Custom mode.

You get: A Markdown version of the page in your chosen format. Time: about 1 minute. Cost: Free to try, 49p per conversion after. You need: A public URL.

Step 1: Open the Markdown Generator. Go to the Markdown Generator page at aiwebpageseo.com. No account is needed to try it.

Step 2: Choose your mode. Full keeps the entire page including navigation and structured data. Stripped keeps only the main content. Custom lets you pick element by element.

Step 3: Choose your format profile. Original Markdown, CommonMark, GFM, Google Documentation Style, Pandoc or Markdown Guide. If in doubt, use CommonMark.

Step 4: Run the conversion. Enter the URL and press Convert. The tool fetches the page, processes the HTML, removes what your mode excludes, and produces clean Markdown.

Step 5: Review and use the output. Check the preview. Copy it, download it, or save it to your conversion history if signed in.

Open the tool

How to build an llms.txt file using the Markdown Generator

Use the Markdown Generator in Stripped mode to create clean Markdown for each page, then assemble them into an llms-full.txt file that AI crawlers can read.

You get: A complete llms.txt and llms-full.txt file. Time: 15–30 minutes depending on site size. Cost: 49p per page converted. You need: A list of your important pages.

Step 1: Choose your pages. Start with your most important pages — the ones you want AI systems to know about and cite. Home page, key service pages, pricing, top blog posts.

Step 2: Convert each page in Stripped mode. This removes navigation, footers, pop-ups and chrome, leaving only the article content in clean Markdown.

Step 3: Review each output. Check headings, lists, links and images converted correctly. For unusual pages, try Custom mode to adjust what is kept.

Step 4: Build the llms-full.txt file. Assemble the Markdown outputs with each page separated by its URL as a heading. Upload to your site root.

Step 5: Create the llms.txt index. List each page title and URL as an index file. This is what AI crawlers read first to find your content.

Step 6: Test. Fetch your llms.txt and llms-full.txt URLs in a browser. Check they load, the content is correct, and the formatting is clean.

Open the tool

How to compare Markdown converters using the BotMonster benchmark

The BotMonster benchmark is a public, independent test suite. Use it to compare conversion accuracy across different tools before choosing one.

You get: A clear comparison of converter accuracy. Time: about 5 minutes to read. Cost: Free. You need: Access to the BotMonster repository on GitHub.

Step 1: Find the benchmark. Go to github.com/botmonster/benchmarks. The repository contains 273 probes across 13 categories, tested against 10 real web pages.

Step 2: Check the leaderboard. See the pass rate for each converter. The highest among the established top 10 is 263/273 (96%). The AI Web Page SEO generator scored 272/273 (100%).

Step 3: Compare by category. A converter might score well overall but fail on categories that matter to you — tables, code blocks, footnotes, entities.

Step 4: Test on your own pages. Benchmark scores show accuracy on the test corpus. Your pages may have patterns the benchmark does not cover.

Step 5: Check both converter and extractor. Some tools only convert (Full mode). Some only extract (Stripped mode). The AI Web Page SEO generator scored 272/273 on both.

Open the tool

How to prepare your website content for AI systems

AI crawlers, answer engines and language models are increasingly how people find information. Here is how to make sure they find and cite yours.

You get: Content ready for AI discovery and citation. Time: 30–60 minutes. Cost: 49p per page converted. You need: Your website.

Step 1: Identify your key pages. Core service pages, key blog posts, pricing, FAQ — the pages you want AI systems to know about.

Step 2: Convert in Stripped mode. This gives AI systems the content without navigation, pop-ups and chrome.

Step 3: Build your llms.txt files. An index (llms.txt) and full content (llms-full.txt) in one Markdown file.

Step 4: Add AI discoverability links. Add alternate links in your page headers pointing to your llms.txt, llms-full.txt, llms.md, agents.txt and agents.json files.

Step 5: Check your structured data. AI systems use schema markup alongside Markdown to understand your pages.

Step 6: Test with an AI system. Ask an AI about your business or content. If it cites your pages, your preparation is working.

Open the tool

How to choose the right Markdown format profile

Different tools expect different Markdown formats. Here is which profile to use for where your Markdown is going.

You get: The right format for your use case. Time: 1 minute. Cost: Free. You need: To know where the Markdown will be used.

Step 1: GitHub — use GFM. READMEs, issues, wikis, documentation. GFM supports tables, task lists, strikethrough and code fencing.

Step 2: Documentation systems — use CommonMark. MkDocs, Docusaurus, Jekyll. CommonMark is the most widely supported standard.

Step 3: Google docs — use Google Documentation Style. Follows Google's style conventions for headings, lists, code and tables.

Step 4: Academic or complex documents — use Pandoc. Supports footnotes, definition lists and metadata for academic work.

Step 5: AI content — use CommonMark or GFM. These are the formats most AI systems are trained to parse.

Step 6: When in doubt — CommonMark. The closest thing to a universal Markdown standard.

Open the tool

Chapter 24: Frequently asked questions

Questions and answers about the Markdown Generator

What is a Markdown generator and why would I need one?

A Markdown generator converts web pages from HTML into Markdown — a plain text format that is easier for humans and machines to read. You need one if you want to prepare your content for AI systems, build llms.txt files, feed content into language models, or simply get a clean text version of any web page without the code, scripts and styling that make HTML hard to read.

What is the difference between Full, Stripped and Custom mode?

Full mode converts the entire page to Markdown, keeping navigation, footer, sidebars and a summary of any JSON-LD structured data. Stripped mode removes all of that and keeps only the main content — the article text, headings, lists, images, tables and code blocks. Custom mode lets you choose exactly which elements to keep or remove using 16 tick-box groups.

What is the BotMonster benchmark and why does it matter?

The BotMonster benchmark is an independent test suite of 273 probes across 13 feature categories, run against 10 real web pages including Wikipedia, MDN, Stack Overflow and GitHub. It tests whether a converter correctly handles headings, lists, tables, code blocks, links, images, emphasis, blockquotes, footnotes, entities, escaping, strikethrough and task lists. The AI Web Page SEO Markdown Generator scored 272 out of 273 — a perfect score. The previous best among the top 10 converters was 263.

What are the six format profiles?

Original Markdown (Gruber's original specification), CommonMark (the standardised specification), GitHub Flavored Markdown (GFM, used on GitHub), Google Documentation Style (used in Google's developer documentation), Pandoc Markdown (used by the Pandoc document converter), and Markdown Guide (the reference guide at markdownguide.org). Each was tested in both Full and Stripped modes against its documented rules. All 12 combinations passed.

Does the Markdown Generator work on any website?

It works on any publicly accessible web page. It has been tested across 11 CMS platforms and 219 pages with zero chrome leaks in the final release. It works on WordPress, Shopify, Wix, Squarespace, Webflow, Drupal, Ghost, BigCommerce and HubSpot CMS. It does not work on pages behind a login or pages that block server-side fetching.

What is llms.txt and how does the Markdown Generator help?

llms.txt is a file that tells AI systems what your site contains and where to find it, similar to how robots.txt tells search engines what to crawl. The llms-full.txt variant includes the full content of each page in Markdown. The Markdown Generator's Stripped mode produces clean, article-only Markdown that is ready to drop into an llms-full.txt file — no manual cleaning needed.

How does the tool handle navigation menus and cookie banners?

In Full mode, they are included as part of the complete page. In Stripped mode, they are removed automatically. The tool detects menus, headers, footers, pop-ups, cart drawers, cookie modals, scrolling banners and skip-links using pattern-based detection, and removes them in Stripped mode while keeping them in Full mode.

Can removing chrome accidentally delete real content?

It is possible but unlikely. The tool uses pattern-based detection to identify chrome elements — it looks for navigation roles, footer elements, modal attributes and other structural signals rather than guessing from position alone. The 219-page test across 11 platforms showed zero chrome leaks in the final release. If a page has unusual markup, Custom mode lets you override the detection.

How does the tool handle tables?

Standard HTML tables are converted to pipe tables in Markdown. Tables with colspan or rowspan are flattened with a note, because Markdown pipe tables do not support merged cells. The content is preserved — only the visual layout of the merged cells is simplified.

What does the tool cost?

Free to try without an account. Beyond the free allowance, conversions cost 49p each from a pay-as-you-go credit balance. Credits are bought in packs from £4.99 and never expire. There is no subscription.

How does the Markdown Generator support SEO and AEO?

For SEO, clean Markdown versions of your pages make your content accessible to AI crawlers that build the indexes behind answer engines. For AEO (Answer Engine Optimisation), having your content in Markdown in an llms.txt file means AI systems can read, cite and quote your content directly. If your content is not available in a clean, structured format, AI systems may skip it or misrepresent it.

What is the transparency report?

The transparency report documents every issue found during testing — 12 in total. For each issue, the report shows what was reported, what was actually happening, and what was fixed. One issue (a numbered list edge case in Stripped mode) is documented as a known limitation rather than a fix. The report is published on the tool page for anyone to read.

The Markdown Generator converts any public URL to Markdown in three modes: Full (complete page including JSON-LD summary), Stripped (main content only, boilerplate removed via pattern-based detection across nav, footer, aside, dialog, modal and skip-link elements), and Custom (16 element-category toggles). Six format profiles: Original Markdown, CommonMark, GFM, Google Documentation Style, Pandoc Markdown, Markdown Guide — all 12 mode/profile combinations tested against their specifications. Scored 272/273 on the BotMonster benchmark (273 probes, 13 categories, 10 real pages) in both Full and Stripped modes. Full retention 93.8%, Stripped retention 93.3%, Stripped boilerplate leakage 1.1%. Tested on 219 pages across 11 CMS platforms (WordPress, Shopify, Wix, Squarespace, Webflow, Drupal, Ghost, BigCommerce, HubSpot CMS, Joomla, static) with zero chrome leaks. Transparency report documents 12 issues found and fixed. Colspan/rowspan tables flattened with note. Code fence language hints extracted from class attributes. MathML extracted as text. Video embeds represented as poster image plus source link. Stripped output is llms-full.txt-ready. Free to try, 49p/conversion, pay-as-you-go credits from £4.99, no subscription.

Read more

Try the Markdown Generator free, no account needed.

Free to try · 49p per conversion · No subscription · Credits never expire

Convert any web page to clean Markdown →