Home / Blog / HTML to Markdown Converter Scores 100% on BotMonster 273-Probe Benchmark
content tools

HTML to Markdown Converter Scores 100% on BotMonster 273-Probe Benchmark

11 November 2026 · By John Carlsson
The AI Web Page SEO Markdown Generator scored 273 out of 273 on the BotMonster 273-probe HTML to Markdown benchmark, making it the first converter to achieve 100 percent. The previous best among the top 10 converters was 96 percent (263 out of 273).

What is the BotMonster HTML to Markdown benchmark

BotMonster published a detailed comparison of the best 10 HTML to Markdown converters in 2026. Rather than simply testing whether a converter produces some Markdown output, they built a rigorous benchmark corpus of 273 individual probes spread across 13 feature categories and 10 real world web pages. Each probe checks for a specific Markdown construct in the converted output, from basic heading hierarchies through to LaTeX mathematical notation, footnote references, and boilerplate suppression. The benchmark is significant because it tests converters against the kind of HTML that actually exists on the web, not simplified examples. Real web pages contain nested elements, overlapping formatting, embedded code with special characters, complex table structures, and page furniture like navigation menus and search forms that should not appear in the Markdown output. Most converters handle the simple cases well enough but fall down on the edge cases that make up a substantial portion of any real page. The best score among the top 10 converters in the BotMonster comparison was 96 percent, which is 263 out of 273 probes passed. That means even the best established converter was failing 10 probes across the test corpus.

What we scored

We ran our Markdown Generator through the same 273-probe benchmark corpus. It passed every single probe. That is 273 out of 273, or 100 percent, across all 13 feature categories and all 10 test pages. This makes the AI Web Page SEO Markdown Generator the first HTML to Markdown converter to achieve a perfect score on this benchmark.

The 13 feature categories and how we scored in each

The benchmark organises its 273 probes into 13 categories. Each category tests a different aspect of HTML to Markdown conversion. Here is how we scored in every one of them. Headings received the most probes with 43, covering heading hierarchies from h1 through h6, ATX style headings, headings with inline formatting, headings inside nested structures, and edge cases like empty headings and headings immediately following other block elements. We passed all 43. Structure had 42 probes testing document structure elements including paragraphs, blockquotes, nested blockquotes, horizontal rules, line breaks, and the correct handling of block level elements that should produce their own Markdown blocks rather than being merged into surrounding text. We passed all 42. Code had 41 probes covering both inline code spans and fenced code blocks. This includes language detection from class attributes, preservation of indentation and special characters inside code, nested pre and code elements, and the correct use of backtick fencing versus indented code blocks. We passed all 41. Links had 23 probes testing inline links, reference links, autolinks, links with titles, links containing inline formatting, image links, and links inside other block elements. We passed all 23. Tables had 21 probes covering simple tables, tables with alignment, tables with inline formatting in cells, tables with missing cells, and tables with header rows. We passed all 21. Inline formatting had 20 probes testing bold, italic, bold italic, strikethrough, subscript, superscript, and combinations of these inside various contexts including headings, list items, and table cells. We passed all 20. Lists had 19 probes testing ordered lists, unordered lists, nested lists, lists with multiple paragraphs, task lists with checkboxes, definition lists, and lists containing other block elements like code blocks and blockquotes. We passed all 19. Boilerplate removal had 17 probes testing whether the converter correctly strips navigation menus, sidebars, footers, cookie banners, search forms, advertising containers, and other page furniture that should not appear in the Markdown output. We passed all 17. Images had 13 probes covering inline images, images with alt text, images with titles, linked images, images inside figures with captions, and badge or shield images that should be kept inline. We passed all 13. Escaping had 12 probes testing whether special Markdown characters are correctly escaped when they appear as literal text in the HTML. This includes asterisks, underscores, square brackets, parentheses, hash symbols, and pipe characters inside table cells. We passed all 12. Math had 8 probes testing the conversion of LaTeX mathematical notation, including both inline math and display math blocks, with correct preservation of the LaTeX source. We passed all 8. Entities had 8 probes testing the correct handling of HTML entities including named entities, numeric entities, and entities that could be confused with Markdown syntax. We passed all 8. Footnotes had 6 probes testing footnote references and footnote definitions, including footnotes with multiple paragraphs and footnotes referenced more than once. We passed all 6.

The 10 test pages and why they were chosen

The benchmark uses 10 real world web pages as its test corpus. Each page was chosen because it exercises a different combination of Markdown features that a converter needs to handle correctly. The Wikipedia article contributed 31 probes and tests complex document structure including nested headings, tables with alignment, footnote references, infoboxes, and extensive inline formatting. The Stack Overflow question and answer page contributed 30 probes and is heavy on code blocks with language detection, inline code spans with special characters, nested blockquotes, and ordered lists. The MDN Web Docs page contributed 28 probes and tests technical documentation patterns including definition lists, code blocks with syntax highlighting classes, tables with complex formatting, and structured heading hierarchies. The GitHub README contributed 28 probes and exercises badge images, task list checkboxes, fenced code blocks with language identifiers, relative links, and GitHub Flavoured Markdown extensions. The Medium blog post contributed 27 probes and tests long form content with embedded images, pull quotes, inline formatting combinations, and boilerplate removal of Medium's extensive page furniture. The New York Times article contributed 27 probes and tests boilerplate removal of navigation, advertising, and related article sections, along with figure captions, linked images, and structured article content. The ArXiv research paper contributed 27 probes and is the primary test for mathematical notation including inline LaTeX, display math blocks, and mathematical symbols mixed with regular text. The Reddit thread contributed 26 probes and tests nested comment structures (which map to nested blockquotes), user formatting with strikethrough and spoiler tags, inline links, and boilerplate removal. The Python documentation page contributed 25 probes and tests code blocks with different language identifiers, definition lists, cross references, note and warning admonitions, and deeply nested document structure. The BBC News article contributed 24 probes and tests boilerplate removal of the BBC's navigation, related stories, and media elements, along with structured article content and image handling.

The 7 bugs we found and fixed

Before running the benchmark, we conducted an independent audit of the converter's code. The audit identified seven bugs, four of which required code changes. Bug 1 was reported as badge and shield images not being separated onto their own lines. Investigation confirmed that the converter was already handling this correctly. Inline badge images should remain inline according to the Markdown specification, and the apparent visual separation on some pages is a CSS effect, not a Markdown structure. No code change was needed. Bug 2 was an issue with inline code backtick escaping where content containing backticks inside inline code spans was not being escaped correctly. This was resolved as a side effect of the fix for bug 3, as both issues stemmed from the same root cause in how nested code elements were processed. Bug 3 was the most significant issue. Nested pre and code blocks were duplicating content in the output. The root cause was that the code block handler was processing child nodes that had already been handled by a parent code block element. The fix added a check to skip nodes that had already been marked as processed by a parent handler. This was a one line change but it eliminated an entire class of duplication errors. Bug 4 was that strikethrough markup using del and s HTML elements was not being converted to the double tilde syntax used by GitHub Flavoured Markdown and other specifications that support strikethrough. The fix added an inline handler for both del and s elements that wraps their content in double tildes. Bug 5 was that task list checkboxes inside list items were not being rendered in the Markdown output. HTML task lists use input elements with a checkbox type inside list items, and the converter was stripping these during its form element cleanup. The fix added a checkbox input handler to the list processing logic that converts checked and unchecked checkboxes to the standard Markdown task list syntax. Bug 6 was reported as the address HTML element not being treated as a block level element. Investigation confirmed that address was already included in the converter's block tag list and was being handled correctly. No code change was needed. Bug 7 was that search forms were appearing in the Markdown output. Many web pages include a search form in their header or sidebar, and this was not being removed during the converter's boilerplate cleanup phase. The fix added a rule to remove form elements with a search role attribute during the initial HTML cleanup.

How we verified the results

Verification was done at four levels. First, each individual bug fix was tested in isolation against the specific HTML patterns that triggered it. Second, the full 273-probe benchmark was run against the patched converter to confirm that all probes passed. Third, an additional manual test page was created that exercises tables, code blocks, task lists, and strikethrough in combination, and the output was verified line by line. Fourth, all six format profiles were tested in both Full and Stripped conversion modes, and the output of each was validated against the authoritative specification for that Markdown flavour.

Format profile compliance

The Markdown Generator does not produce a single flavour of Markdown. It supports six format profiles, each conforming to a different specification. This matters because different platforms and tools expect different Markdown syntax, and using the wrong flavour can produce broken rendering. The Original Markdown profile follows the syntax defined by John Gruber on Daring Fireball, which is the original Markdown specification from 2004. This is the most conservative profile and avoids any extensions. The CommonMark profile follows the CommonMark specification at spec.commonmark.org, which formalised many of the ambiguities in the original specification and is now the basis for most modern Markdown implementations. The GitHub Flavoured Markdown profile follows the GFM specification at github.github.com/gfm, which extends CommonMark with tables, task lists, strikethrough, and autolinks. This is the profile to use for GitHub READMEs, issues, and pull requests. The Google Documentation Style profile follows the Google developer documentation style guide, which has specific rules about heading levels, list formatting, code block syntax, and link formatting. The Pandoc Markdown profile follows the Pandoc manual at pandoc.org, which supports an extended syntax including footnotes, definition lists, math, and metadata blocks. The Markdown Guide profile follows the recommendations at markdownguide.org, which documents best practices that work across the widest range of Markdown processors. Each of these six profiles was tested in both Full mode (which preserves all content) and Stripped mode (which removes boilerplate and page furniture), giving 12 test combinations in total. All 12 passed compliance checks against their respective specifications.

How this compares to other converters

The BotMonster benchmark tested established converters including Turndown, html2text, Markdownify, Pandoc, and several others. These are widely used tools with large user bases and years of development behind them. The best score among the top 10 was 96 percent, or 263 out of 273 probes. That is 10 probes failed. The areas where converters most commonly failed were mathematical notation, footnotes, task list checkboxes, strikethrough, and boilerplate removal. These are precisely the features that real world web pages use but that many converters treat as optional or do not support at all. Our Markdown Generator passed every one of these probes. The 4 percentage point difference between 96 percent and 100 percent represents 10 additional probes, but more importantly it represents the difference between a converter that handles most HTML correctly and one that handles all of it correctly.

Try it yourself

The Markdown Generator is free to use at https://aiwebpageseo.com/content-tools.html#markdown-generator. Paste any URL or HTML and it will convert it to clean, specification compliant Markdown in whichever format profile you need. The full compliance and benchmark report with the complete probe by probe breakdown is on the same page.

Frequently asked questions

What is the BotMonster HTML to Markdown benchmark?

The BotMonster benchmark is a 273-probe test corpus that evaluates HTML to Markdown converters across 13 feature categories and 10 real world web pages. It was published as part of a comparison of the best 10 converters in 2026.

What score did the AI Web Page SEO Markdown Generator achieve?

The Markdown Generator scored 273 out of 273, which is 100 percent. This is the first converter to achieve a perfect score on the benchmark. The previous best among the top 10 was 96 percent.

What feature categories does the benchmark test?

The 13 categories are headings, structure, code, links, tables, inline formatting, lists, boilerplate removal, images, escaping, math, entities, and footnotes.

What format profiles does the Markdown Generator support?

It supports six profiles: Original Markdown, CommonMark, GitHub Flavoured Markdown, Google Documentation Style, Pandoc Markdown, and Markdown Guide. All six passed compliance checks against their respective specifications.

Is the Markdown Generator free to use?

Yes. The tool is free to use at aiwebpageseo.com/content-tools.html with no sign up required.

How many bugs were fixed before the benchmark?

An independent audit found seven bugs. Four required code changes (nested code block duplication, missing strikethrough support, task list checkboxes not rendering, and search forms in output). Two were confirmed as already working correctly, and one was resolved as a side effect of another fix.

💬 Got a problem?

aiwebpageseo.com is a data-driven SEO and AEO platform providing a free suite of technical website tools.