JSoup logo


A Java library for working with real-world HTML
+ 1

What is JSoup?

It is a Java library for working with real-world HTML. It provides a very convenient API for fetching URLs and extracting and manipulating data, using the best of HTML5 DOM methods and CSS selectors.
JSoup is a tool in the Java Tools category of a tech stack.
JSoup is an open source tool with 10.3K GitHub stars and 2.1K GitHub forks. Here’s a link to JSoup's open source repository on GitHub

Who uses JSoup?


6 developers on StackShare have stated that they use JSoup.

JSoup Integrations

JSoup's Features

  • Scrape and parse HTML from a URL, file, or string
  • Find and extract data, using DOM traversal or CSS selectors
  • Fanipulate the HTML elements, attributes, and text
  • Clean user-submitted content against a safe-list, to prevent XSS attacks
  • Output tidy HTML

JSoup Alternatives & Comparisons

What are some alternatives to JSoup?
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
Java 8
It is a revolutionary release of the world’s no 1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security and improved performance.
A library for composing asynchronous and event-based programs by using observable sequences for the Java VM.
It tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot.
Apache FreeMarker
It is a "template engine"; a generic tool to generate text output (anything from HTML to auto generated source code) based on templates. It's a Java package, a class library for Java programmers.
See all alternatives
Related Comparisons
No related comparisons found

JSoup's Followers
9 developers follow JSoup to keep up with related blogs and decisions.