ScroogeXHTML for the Java platform is a library which can convert a subset of the RTF standard to HTML5 and XHTML.

It converts character attributes including background and highlight colors, strikethrough and hidden text, paragraph attributes including alignment (left, right, centered, justified) and paragraph indent (left, right, first line) and simple numbered or unnumbered lists.


Unicode and DBCS conversion allows to convert and compose multi-language documents, including simplified and traditional Chinese, Korean and Japanese.

Support for language attributes (<span lang="it" ... >) and LTR (left-to-right) text adds to its internationalization capabilities.


With a throughput of several MB per second, ScroogeXHTML for the Java platform is one of the fastest solutions available.

Release Notes

What's New in 6.0.1?
New Added support for conversion of merged table cells
New Improved support for Android platform (Base64Utils class)
What's New in 6.0?
Fixed Fixed conversion of multi-paragraph text in table cells
Fixed Fixed character property reset bug
Fixed Fixed anchor support in LinkURIBuilder class
Fixed Fixed usage of Serializable interface and serialization capability of converter instances
Fixed Fixed table conversion when ConvertTables property is false
New Added support for XHTML 1.0 Transitional document type to DOM based converter
New Added post process event handlers
New Added support for Data URI image embedding
New Added support for automatic footnote numbering
New Added converter property IndentAmount to define output document indentation
New Added converter method convert(String, Charset)
New Improved document clean up (remove attribute less span elements etc)
New Improved conversion of hyperlinks
New Improved processing of listtable section
New Improved replacement of sequence of space characters with 'non breaking space'
New Added support for conversion of table left margin
New Added support for conversion of table width
New Added support for conversion of table column width
New Added support for conversion of table border detection

Quick Facts

Technical Information


ScroogeXHTML for the Java platform is compatible with the platforms

  • Java SE 7 or newer
  • Android
Dependencies Simple Logging Facade for Java (SLF4J)
Size ≈ 100 kB (Jar file)
Released 05 August 2016


Bug reports Bugs can be reported at cases@habarisoft.com
Email support Basic technical support is included for one year

Feature Matrix

Conversion mode: 5.5 Classic » 5.5 XML DOM » 6.0.1 »
Text properties
Bold/italic/underlined ✓/✓/✓ ✓/✓/✓ ✓/✓/✓
Foreground/background/highlight color ✓/✓/✓ ✓/✓/✓ ✓/✓/✓
Subscript/superscript ✓/✓ ✓/✓ ✓/✓
Strikethrough/hidden ✓/✓ ✓/✓ ✓/✓
LTR/RTL text ✓/✓ ✓/✓ ✓/✓
Unicode / DBCS text ✓/✓ ✓/✓ ✓/✓
Language attribute
Paragraph properties
Paragraph Alignment: Left/right/centered/justified ✓/✓/✓/✓ ✓/✓/✓/✓ ✓/✓/✓/✓
Left/right/first line indent ✓/✓/✓ ✓/✓/✓ ✓/✓/✓
Numbered/unnumbered lists ✓/✓ ✓/✓ ✓/✓
Tabulators replaced by a sequence of non breaking spaces
Document types
HTML 4.0.1 Strict/Transactional ✓/✓ -/- -/-
XHTML 1.0 Strict/Transactional ✓/✓ -/- -/✓
CSS based document minimizer
Font substitution
Logging framework
SLF4J support
Java platform
Minimum version Java SE 7 Java SE 7 Java SE 7
Tested with
LibreOffice 5
RichEd 6.3 (Win 8.1)
Advanced features
Picture data extraction ✓ ① ✓ ① ✓ ①
Hyperlink fields
Bookmark fields
Android platform
Simple tables
List templates
Maven Javadoc/Sources JAR ✓/✓ ② ✓/✓ ② ✓/✓ ②
Installer and uninstaller

① conversion of the binary data to a web-ready format (e.g., PNG or JPG) requires third-party libraries.

② requires full source code license.

Developer License

ScroogeXHTML for the Java platform

  • Free redistribution with your product when used in binary compiled single-user applications
  • Non-exclusive lifetime license
  • Updates included for one year
  • Volume discounts

Full source code edition

  • Full library source code included
  • 14 day money back guarantee
  • Instant electronic delivery
  • Includes four (4) Server Deployment Licenses for server side deployment License Details

Buy now »

Binary edition (no source code)

  • Binary (JAR) version
  • Unit test source code included
  • Instant electronic delivery

Buy now »

Up to 50% license renewal discount

License renewal extends access to your download account for new product versions.

Server Deployment Licenses

Server Deployment Licenses are required for the server side deployment of applications (License Details).

Server Deployment Licenses are available with volume discounts.

License calculator »

Runs on Android

Android support

ScroogeXHTML for the Java platform can be used on the Android platform. A small commercial converter app is available on Google Play.

Android, Google Play, and the Google Play logo are trademarks of Google Inc.

ScroogeXHTML for the Java platform FAQ


On the library home page you will find a link to the download area for registered users. The credentials (user name and password) will be sent to you when a new release is available.
A trial version download is not available. To check if the library meets your requirements, you can try the online demo or purchase a Single Developer license, which includes a 14 days full money back guarantee. This allows to test the full version of the library without any risk. The reseller (ShareIt) will give a full refund if you find that the library does not work as expected.


Yes, each developer that uses our products must have their own license.
No, the licenses are perpetual. However, you will be using the last product version released before your free upgrade period expired.
Yes! If you are a registered user, please contact Habarisoft and ask for discount coupon code.


No, the source code is not redistributable, even if you change it. Under no circumstances is it acceptable to disclose the source to any third party.

Server Deployment license

Server Deployment Licenses are required if ScroogeXHTML for the Java platform is used on the server side of a client/server application.
No. A Server Deployment license covers all applications on the server.
No. Server Deployment license are perpetual, except in the case of license violations.
No. The proof of purchase for Server Deployment licenses is your license document.

Picture Support

The library does not convert embedded pictures. It extracts binary picture data from the RTF document. The picture data may be in WMF, JPEG, or other formats.

ScroogeXHTML logo


Advocate Health Care

Becton, Dickinson and Company

Canadian Natural Resources Limited

Compoze Software, Inc.

Department of Health and Ageing Australia

GE Medical Systems

Hyperion Solutions

Mayo Foundation

Manuh Solutions



Philips Medical Systems

ProClarity Corporation

QuadraMed Corporation

"This is an excellent unique product that has saved us many hours of work. It is simple to use with lots of documentation."

S. Spink, Watermark Technologies Limited, UK

"Scrooge has really helped me out! I'm converting a database of 10,000 questions in RTF into HTML, Scrooge has been invaluable!"


"It works great and it is stunningly fast - on production, converting 115.000 documents takes 25 seconds instead of 9 hours."

R.S., Germany

"We are very, very glad with this Component"

M.R., Germany