Skip to main content
All projects

RDTextract

  • Python
  • NLP
  • LLM
  • PyPI
  • HTML→Markdown
  • Open Source

HTML→Markdown extractor designed for LLM training corpora. Eliminates all noise (navigation, ads, repeated widgets) with an integrated quality scoring system and a JSON-LD fallback for SPA pages. Score of 99.3/100 on the Tranco top-1,000 .fr benchmark — zero artifacts on all 4 measured metrics. Multi-language stub detection (FR/EN/ES/DE/IT). One dependency: beautifulsoup4.

Installation

pip install RDTextract

Key figures

99,3/100
Quality score
0
Artefacts
672
Pages tested
5
Languages
MIT
Licence

Comparative benchmark

ExtractorScore2×bulletOrphansHTTP dumpPara dup
🏆RDTextract99,30000
html2text96,21148702 373
trafilatura96,11878010309
markdownify85,502461075 042

Benchmark on 672 Tranco top-1,000 .fr pages

Other projects