#12 · Primary category: NLP Tools & Text Processing
trafilatura
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
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量