HTML to RTF .Net is 100% C# assembly to convert HTML documents into RTF, DOCX and Text formats.
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.

There is a newer version of this package available.
See the version list below for details.
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

+ Fixed the issue with adding of page numbering.
+ Improved calculation of cell width in the table autofit algorithm.
+ Fixed the issue with heading "normal" during the conversion of HTML to DOCX.
+ Fixed the issue with the line height for headings and paragraphs.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 46 2/11/2020 2,754 4/16/2019 2,888 8/16/2018 485 7/13/2018 308 7/11/2018 6,634 5/31/2018 16,147 1/5/2017