Abstract
Web content serves as a primary data source for large-scale pre-trained language models and web applications such as search engines and recommendation systems, making its quality crucial. However, modern web pages often contain substantial structural and semantic noise, leading to unstable model training and semantic deviations that impair downstream performance. Existing methods show significant limitations in handling complex web noise, frequently failing to process interactive elements, dynamic advertisements, and multimodal content. To address these challenges, we propose Webis, a multi-level framework for web content extraction that integrates node classification, subtree reverse-coloring, and semantic pruning to refine both local and global semantics. Experiments show that Webis improves both node-level noise detection and end-to-end extraction quality. Extensive experiments verify that Webis combines the precision of neural models with the scalability of engineering tools. On SWDE-small, it achieves an 82.2 node-level F1 score, surpassing GPT-4o by a significant margin of +37.0. On the large-scale SWDE-huge benchmark, Webis attains a 99.6\% execution success rate, matching the execution robustness of mature text extraction libraries such as Trafilatura , while delivering superior extraction quality (+1.9 CEQI over the strongest heuristic baseline).