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.

Speed and size

With a throughput of several MB per second, ScroogeXHTML for the Java platform is one of the fastest solutions available, and has a small size of around 100 kB (Jar file without SLF4J dependencies).


The internal intermediate (JAXP) DOM document may be accessed and modified through custom post process listeners.

Release Notes

New Added option ConversionKeys.CONVERT_HEADERS_AND_FOOTERS to control conversion of header and footer text, default value is 'no' to suppress their conversion
New Added inclusion of the 'lang' attribute in the html element, it will be set if the DefaultLanguage property is not empty
Fixed Fixed validation error (anchor div must not be inside p element)
Previous releases ...

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 ≈ 105 kB (Jar file)
Released 10 February 2017


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

Feature Matrix

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
XHTML 1.0 Transactional
CSS based document minimizer
Font substitution
Logging framework
SLF4J support
Java platform
Minimum version Java SE 7
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 »

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

Department of Health and Ageing Australia

GE Medical Systems

Hyperion Solutions

Mayo Foundation

Manuh Solutions



Philips Medical Systems

ProClarity Corporation

QuadraMed Corporation

Scherer Software


"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