Try jsoup
About jsoup
Download
API Reference
Save
Try jsoup
is an interactive demo for
jsoup
that allows you to see how it parses HTML into a DOM, and to test CSS selector & XPath queries.
Settings
Parser:
HTML
XML
Pretty print
ascii
Preserve case
Track parse errors
Cleaner
Not enabled
Drop elements (retains text nodes)
Simple in-line formatting HTML
Basic HTML
Basic HTML with images
Relaxed, structural HTML
Input HTML
<html> <head> <title>Try jsoup</title> </head> <body> <p>This is <a href="https://jsoup.org/">jsoup</a>.</p> </body> </html>
Fetch URL
×
Fetch HTML from URL
URL
User Agent
×
Save
Parsed Output
Select
Query
CSS
XPath
Parse errors