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
Output ascii
Preserve case
Track parse errors
Cleaner Safelist
Not enabled
Drop elements (retains text nodes)
Simple in-line formatting HTML
Basic HTML
Basic HTML with images
Relaxed, structural HTML
Input HTML
<title>jsoup</title> <p>This is <a href=https://jsoup.org/ class=link>jsoup</a>. <p>Find out more by reading the <a href="https://jsoup.org/cookbook/">Cookbook</a> and the <a href=https://jsoup.org/apidocs/>API Docs</a>.
Fetch URL
×
Fetch HTML from URL
URL
User Agent
×
Save
Parsed Output
Select
Query
CSS
XPath
Nodes
Parse errors