ScroogeXHTML for the Java platform is a library which supports a subset of the Rich Text Format (RTF) standard and converts to HTML5 and XHTML, as a standalone document, or as a fragment which can be embedded in other documents, with little coding.
supports RTF features such as hyperlinks, field results, simple tables, picture data extraction, and embeds PNG and JPG pictures as data URIs
minimizes documents using CSS font definitions, and supports post processing of the intermediate DOM document for additional fine tuning
is easy to use, and requires no external runtime libraries except the SLF4J logging API
the online demo converts a RTF document and displays the result HTML5