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

+ Improved the algorithm to process HTML tables: parse and repair tables with missing or unclosed tags.
+ Updated the DOCX and RTF renders to provide compatibility with most of all document text processors: MS Word, WordPad, WinForms RichTextBox, WPF RichTextBox, OpenOffice.
+ Added new property RtfCompatibility allowing to choose how render RTF documents: whether to keep the compatibility with old readers (WordPad, WinForms RichTextBox) or produce modern RTF syntax.
+ We've created new Online Code Examples:, some of them are video.
+ Last, but not the least: Changed the mechanism of getting updates. It became very friendly to our customers. Now our customers may update the software in seconds using Nuget.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 1,949 4/16/2019 2,688 8/16/2018 446 7/13/2018 277 7/11/2018 5,778 5/31/2018 15,652 1/5/2017