Fast and compact RTF to HTML5 and XHTML converter library for the Java SE platform
ScroogeXHTML is a document conversion software library for the Java platform. It can be used to convert RTF (rich text format) documents to HTML5 standalone documents, or to HTML markup fragments, which can be embedded in other documents. This enables software applications to create HTML from existing RTF documents 'on demand'. The library provides configuration options, which control many aspects of the conversion.
Supports hyperlinks, bookmarks, multi-language and LTR/RTL text, field results and tables
Minimizes documents using CSS font definitions and generation of local font styles for text with different attributes
Includes an API for post-processing of the intermediate DOM tree to support additional fine tuning
Easy to use, compact and fast, and requires no external runtime libraries except SLF4J
The live demo converts an RTF document to HTML and displays the conversion result
Picture data extraction, complimentary code for embedding BMP/JPG/PNG images as Data URIs
| Output | HTML5, XHTML 1.0 Transitional |
| Text | Bold, italic, underline, colors, subscript/superscript, LTR/RTL, Unicode, language attribute |
| Paragraphs | Alignment, indents, spacing, background color, border boxes |
| Lists | Numbered and unnumbered, nested (multi-level) |
| Tables | Column widths, horizontal cell merging, borders, cell background color; nested tables optional |
| Links | External hyperlinks, internal links (bookmarks) |
| Pictures | Data extraction; ② Data URI embedding, BMP/PICT/WMF to PNG |
| Optimization | CSS based document minimizer, font name substitution |
| Post-processing | W3C DOM based event listener |
| Security | Input and output limits, URL scheme allow-list, strict mode for malformed RTF |
| Tested with | Java SE 11, 17, 21 and 25 (LTS) |
ScroogeXHTML is available in two editions to choose from: a Jar edition, and a Source Code edition. Redistribution with single-user applications is free of charge. For usage with server-side applications, please read the Server Deployment License terms which are explained here.
Prices are per developer seat and excluding tax.
|
JAR EDITION
€160.00 per year |
SOURCE EDITION
€480.00 per year |
|
| License type | subscription | subscription |
| Lifetime license | ✓ | ✓ |
| 3-month evaluation period | ✓ | - |
| Basic technical support included | 1 year | 1 year |
| Updates and upgrades included | 1 year | 1 year |
| Library source code included (not redistributable) | - | ✓ |
| Early access to development snapshots | - | ✓ |
|
Subscribe »
Free 30-day evaluation »
Business customers only · request by email |
Subscribe » | |
|
|
||
| Single Developer License and Server Deployment License terms are explained here. | |||
|
Jar Edition —
€40.00 per user for the first 3 months.
The subscription then continues at €160.00 per user and year,
renewing annually unless cancelled.
You can cancel at any time in the first 3 months
and keep a perpetual license for the versions released until then.
Subscription cancellation is possible on Paddle Customer Portal |
Using the library on the server side of a client/server application or in a cloud application? This needs a Server Deployment License, for 1 000, 100 000 or unlimited concurrent users, in addition to a Single Developer License.
A selection of organizations using ScroogeXHTML
Healthcare & Life Sciences: Becton, Dickinson and Company Advocate Health Care Acesis Iodine Software QuadraMed Corporation Energy, Resources & Industry: Glencore International AG Canadian Natural Axalta Coating Systems Artisan Design Group Aerospace & Defense: General Dynamics Software, Finance & Research: Actiance Bracari iBASEt The Openproof Project (CSLI) pagu.at ProClarity Corporation Promutuel Insurance Working Systems Cooperative
format_quote"It works great and it is stunningly fast - on production, converting 115.000 documents takes 25 seconds instead of 9 hours." — Robert S., Germany
format_quote"This is an excellent unique product that has saved us many hours of work. It is simple to use with lots of documentation." — Stewart S., United Kingdom
Not a customer yet? Try your own RTF files in the online demo, request a free 30-day evaluation of the Jar Edition (business customers only), or start with the Jar Edition's 3-month evaluation period.
get_app
On the library home page you will find a link to the download area for registered users. The credentials (your Paddle subscription or transaction ID and a password) will be sent to you by mail. New releases will also be announced on the blog.
Go to the download sectioncheck
You can try the conversion in the online demo on this page. Business customers can also request a free 30-day evaluation of the Jar Edition by email: the normal library, without watermarks or functional restrictions, for evaluation only (no production use, no distribution). Alternatively, the Jar Edition subscription starts with a 3-month evaluation period at a reduced price.
Request a free 30-day evaluation - How the evaluation period workshelp_outline
The library does not convert embedded pictures, it only extracts the raw picture data from the RTF document. The library may contain complimentary code for picture processing support, but this code is experimental and not covered by the basic support plan.
help_outline
No.
check
Yes, you may receive a discount coupon code to purchase the Source Edition at a reduced price.