Version 8.0 of the RTF (Rich Text) to HTML5 and XHTML converter library ScroogeXHTML for the Java™ platform is now available.

New features in 8.0

  • New FontReplacing interface and FontReplacer property
  • New FontStatisticsCollecting interface and FontStatistics property
  • Improved table cell border conversion
  • Improved paragraph border conversion
  • MergeBorderDivNodes, a post-processor example class for paragraph border cleanup
  • ConvertIndent default value is false now (as documented)
  • Methods String convert(String rtf) and convert(ByteArrayInputStream rtf) throw the unchecked RuntimeException instead of IOException

Package moved to com.scroogexhtml

With version 8.0, the library moved from package com.habarisoft.scroogexhtml to com.scroogexhtml.

Ready for JDK 11

Tested with Oracle JDK 8 and Oracle OpenJDK 11 on Windows and Linux.

API documentation

Online demo


ScroogeXHTML for the Java platform is a library which can convert a subset of the Rich Text Format (RTF) standard to HTML5 and XHTML, as a standalone document, or as a fragment which can be used in other documents. It supports RTF features such as hyperlinks, field results, simple tables, picture data extraction, and embeds PNG and JPG pictures as data URI. It is easy to use, and requires no external runtime libraries except the SLF4J logging facade.

Other platforms

ScroogeXHTML is also available for Delphi 2009+ and Free Pascal.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.