File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes convert html to plain text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "convert html to plain text" Watch "convert html to plain text" New topic

convert html to plain text

Waldle Cai
Ranch Hand

Joined: Aug 16, 2000
Posts: 34
Is there any free java library or sample code that can convert html to plain text? thanks a lot.
sandeep menon

Joined: Oct 16, 2002
Posts: 3
what exactly do you want to do?
HTML is plain text...
or do you want to filter out all the tags and want only the content between the tags with no formatting etc?
Waldle Cai
Ranch Hand

Joined: Aug 16, 2000
Posts: 34
By "Plain Text", I mean all html tags are stripped out. thanks.
I agree. Here's the link:
subject: convert html to plain text
Similar Threads
API for HTML to Text converter
Change color of a particular text in JTextPane.
how to deliver a massage in a chat program
NX: URLy Bird 1.3.1 Documentation
Passing the JSON Array to the servlet