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:

Cleaner

Input HTML

Fetch URL

Parsed Output

Select

Parse errors