 <p>If you want to make parsing very easy, try <a href="http://jsoup.org/" rel="nofollow noreferrer">Jsoup</a>:</p> <p>This example will download the page, parse and get the text.</p> <pre><code>Document doc = Jsoup.connect("http://jsoup.org").get(); Elements tds = doc.select("td.bodybox"); for (Element td : tds) { String tdText = td.text(); } </code></pre>