The world's only RFC compliant RTF to HTML parser.
rtf-to-html is available in Maven Central:
<dependency>
<groupId>com.github.bbottema</groupId>
<artifactId>rtf-to-html</artifactId>
<version>1.1.1</version>
</dependency>
There are three versions of RTF to HTML for you to discover:
RTF2HTMLConverter converter = RTF2HTMLConverterJEditorPane.INSTANCE;
RTF2HTMLConverter converter = RTF2HTMLConverterClassic.INSTANCE;
RTF2HTMLConverter converter = RTF2HTMLConverterRFCCompliant.INSTANCE;
String html = converter.rtf2html("RTF text");
v1.1.0 - v1.1.1
v1.0.1 (22-October-2019)
v1.0.0 (12-October-2019)