On-line converter demos

Two on-line demo apps of ScroogeXHTML for the Java platform are available, please choose:


ScroogeXHTML is a library which can convert a subset of the RTF standard to XHTML and HTML.

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

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

CSS and default font settings instead of in-place formatting help to create optimized documents.


The library supports a limited subset of the RTF standard. If you are unsure about support for a specific conversion feature, please contact us. Some of the document elements which will not be converted are:

  • Tables
  • Tabulators (a tab character will be replaced by a sequence of non breaking spaces)
  • Non-alphabetic characters in the "Symbol" font
  • Unicode font names, and font names which contain a semicolon

Embedded images

Basic support for the extraction of raw data of embedded images is included. Conversion of the binary data to a web-ready format (e.g., PNG or JPG) requires third-party libraries. Habarisoft can not give recommendations for specific graphic libraries.


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

Compare editions

ScroogeXHTML for the Java platform

Code example

  ScroogeXHTML scrooge = new ScroogeXHTML();

  String html = scrooge.convert(rtf);


The library adds around 100 kB to the application size.


The library depends on the Simple Logging Facade for Java (SLF4J).

ScroogeXHTML for Delphi

Code example

  Scrooge := TBTScroogeXHTML.Create;
  Scrooge.OptionsHead.AddOuterHTML := True;
  Scrooge.IncludeDocType := True; 
  Scrooge.DocumentType := dtHTML_50;

  UTF8 := Scrooge.Convert(RTF);


The library normally adds less than 300 kB to the application size.


The library has no third-party library dependencies.

Customer Stories

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

Stewart Spink, Technical Director, Watermark Technologies Limited

"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


Berlitz GlobalNET

The Blackstone Group

Cambridge Assessment

Denim Group

Department of Health and Ageing Australia

Ennoview, Inc.

Fujitsu Siemens Computers

Gendel Advertising Group

General Electric

InQuira, Inc.

Mayo Foundation

microtech GmbH

Philips Medical Systems



QuadraMed Corporation

Watermark Technologies Ltd