HTML to RTF .Net is 100% C# assembly to convert HTML documents into RTF, DOCX and Text formats. Can also Merge RTF documents and Replace text in them.
Absolutely standalone solution, doesn't require MS Office or any other. Requires only .NET Framework 4.0 and up or .NET Core 2.0 and up.
The component can read and parse all types of HTML: 3.2, HTML 4.01, HTML 5 with CSS and XHTML. The component has own HTML parser, DOCX and RTF writers.

Install-Package sautinsoft.htmltortf -Version
dotnet add package sautinsoft.htmltortf --version
<PackageReference Include="sautinsoft.htmltortf" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.htmltortf --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

+ .NET Core 3.0 and 3.1 support: Starting from the version HTML to RTF .Net 7.3 appeared the SautinSoft.HtmlToRtf.dll assemblies compiled for .NET Core 3.0, 3.1.
   + HTML to Text: Added ability to choose between textual formats: ASCII, UTF-8 with BOM, UTF-8 without BOM and UTF-16 encodings.
   + Added the manual How to launch HTML to RTF .Net component on Mac OS:

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 306 2/11/2020 3,278 4/16/2019 2,973 8/16/2018 504 7/13/2018 313 7/11/2018 7,242 5/31/2018 16,662 1/5/2017