#12 · Primary category: NLP Tools & Text Processing

trafilatura

article-extractor corpus-builder corpus-tools crawler html-to-markdown html2text llm news-aggregator news-crawler nlp rag readability rss-feed scraping tei text-cleaning text-extraction text-mining text-preprocessing web-scraping

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

Project last updated:08/28/26

GitHub Stars

6.7K

Forks

425

Contributors

72

License

Apache-2.0

Why we included this project

Anyone who has tried feeding scraped web pages into a language model or a search index has met the same problem: most of the page is chrome. Cookie banners, navigation menus, and footer links bury whatever signal you were after, and Trafilatura exists to cut through that. It isolates the main article body, metadata, and comments and returns them as clean structured output in plain text, Markdown, JSON, or XML-TEI, working equally well as a Python library or a command-line tool. Teams building training corpora or RAG pipelines, and anyone running news aggregation, use it to normalize raw HTML into dependable text before anything else in the stack touches it. If fetching many pages and turning them into noise-free content is a regular part of your work, this quietly saves hours of cleanup per project.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category