jhy/jsoup

jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 26 minutes ago
Added to GitGenius on September 5th, 2026
Created on December 19th, 2009
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 2,297
Total Stargazers: 11,388 (+0)
Total Subscribers: 387 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.2 hours
Mean response time: 119.4 days
90th percentile: 153.5 days
Tracked items: 203

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 11% of issues opened in the past year have been closed. Three people close 97% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 2
Closed in 7 days: 2
Avg open age: 149 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 2
Closed in 7 days: 2
Comments in 7 days: 1
Events in 7 days: 9

Top labels

  • fixed (91)
  • bug (53)
  • improvement (29)
  • not-a-bug (14)
  • needs-more-info (6)
  • no-repro (2)
  • back-burner (1)
  • duplicate (1)

Detailed Description

jsoup is a Java HTML parser built for parsing, extracting, manipulating, and cleaning HTML and XML documents.

The tool addresses the challenge of working with real-world HTML that ranges from perfectly valid to malformed tag-soup. It implements the WHATWG HTML5 specification and parses documents to the same DOM structure that modern browsers produce, ensuring consistent behavior across different HTML inputs. Users can fetch HTML from URLs, files, or strings, then extract data using DOM traversal, CSS selectors, or XPath expressions. The library also provides HTML manipulation capabilities and includes a safelist-based sanitizer to clean user-submitted content and prevent XSS attacks.

Developers should choose jsoup for server-side Java applications that need robust HTML parsing and web scraping. It suits projects ranging from simple data extraction tasks to complex HTML manipulation and content sanitization workflows. The library handles malformed HTML gracefully, making it reliable for scraping real-world websites where HTML quality varies. For Android projects, core library desugaring with NIO specification support must be enabled to use Java 8+ features.

Development is maintained by a primary author with contributions from multiple developers over time. The project maintains a stable release status and provides community support through GitHub Discussions for usage questions and feature ideas. Bug reports are tracked through a dedicated issue system with duplicate checking encouraged.