.NET 5.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6
dotnet add package sautinsoft.htmltortf --version
NuGet\Install-Package sautinsoft.htmltortf -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: sautinsoft.htmltortf,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install sautinsoft.htmltortf as a Cake Addin
#addin nuget:?package=sautinsoft.htmltortf&version=

// Install sautinsoft.htmltortf as a Cake Tool
#tool nuget:?package=sautinsoft.htmltortf&version=

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.6 and up or .NET Core 2.0 and up.
The component can read and parse all types of HTML: HTML 3.2, HTML 4.01, HTML 5 with CSS and XHTML 1.01. The component has own HTML parser, DOCX and RTF writers.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 510 11/9/2022 4,716 5/25/2022 4,695 12/7/2021 203 10/27/2021 3,060 6/4/2021 482 5/12/2021 219 3/16/2021 223 1/18/2021 180,150 4/30/2020 14,032 2/11/2020 14,750 4/16/2019 6,774 8/16/2018 1,199 7/13/2018 915 7/11/2018 16,787 5/31/2018 36,311 1/5/2017

What's new in the version 8.4:
+ A bug with incorrect character width detection has been fixed. Now the text after transformation in any direction (DOCX, RTF) is more realistic.
+ .NET 7.0 support: Starting from the version 8.4 appeared the SautinSoft.HtmlToRtf.dll assemblies compiled for a unified platform .NET 7.0.
+ Fixed a bug with incorrect reading of HTML source encoding, and added a new option h.Encoding = SautinSoft.HtmlToRtf.eEncoding.windows1252;.
+ We've fixed some issues with Floating tables, TextColor's option and Random freezes.
+ HTML reader: Fixed bug in reading character '\n'. Now text processing with this character is correct.
+ In this release, errors in reading and writing Roman numerals and numbered lists have been fixed.
+ Fixed the issue with transparent background color inside table columns.
+ RTF, DOCX writer: The bug with wrapping tables has been resolved. Fixed bug when checking "part number".
+ Fixed the minor issues, found and sent to us from our customers. Therefore the component became more error-free.