![]() |
VOOZH | about |
dotnet add package SautinSoft.HtmlToRtf --version 2026.6.10
NuGet\Install-Package SautinSoft.HtmlToRtf -Version 2026.6.10
<PackageReference Include="SautinSoft.HtmlToRtf" Version="2026.6.10" />
<PackageVersion Include="SautinSoft.HtmlToRtf" Version="2026.6.10" />Directory.Packages.props
<PackageReference Include="SautinSoft.HtmlToRtf" />Project file
paket add SautinSoft.HtmlToRtf --version 2026.6.10
#r "nuget: SautinSoft.HtmlToRtf, 2026.6.10"
#:package SautinSoft.HtmlToRtf@2026.6.10
#addin nuget:?package=SautinSoft.HtmlToRtf&version=2026.6.10Install as a Cake Addin
#tool nuget:?package=SautinSoft.HtmlToRtf&version=2026.6.10Install as a Cake Tool
👁 Nuget version
👁 Nuget downloads
SautinSoft.HtmlToRtf is .NET assembly (SDK) which gives API to convert HTML to DOCX, RTF and Text. Merge and replace text in RTF documents.
Are you ready to give HTML to RTF .NET a try? Simply execute Install-Package sautinsoft.htmltortf from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have HTML to RTF .NET and want to upgrade the version, please execute Update-Package sautinsoft.htmltortf to get the latest version.
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
string inputFile = @"sample.html";
// You want to save in DOCX.
string outputFile = @"result.docx";
HtmlConvertOptions opt = new HtmlConvertOptions();
opt.OutputFormat = HtmlToRtf.OutputFormat.Docx;
h.Convert(inputFile, outputFile, opt);
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
// Array with several RTF files.
string[] rtfFiles = new string[] { "footer.rtf", "footer.rtf", "footer.rtf" };
string singleRtf = String.Empty;
// Let's divide RTF documents using page break.
h.MergeOptions.PageBreakBetweenDocuments = true;
foreach (string rtfFile in rtfFiles)
{
string rtfFilePath = Path.Combine(htmlDir.FullName, rtfFile);
// Copy 1st RTF to 'singleRtf'
if (String.IsNullOrEmpty(singleRtf))
singleRtf = File.ReadAllText(rtfFilePath);
// Merge 2nd, 3rd ....
else
singleRtf = h.MergeRtfString(singleRtf, File.ReadAllText(rtfFilePath));
}
// Save 'singleRtf' to a file only for demonstration purposes.
string singleRtfPath = Path.Combine(htmlDir.FullName, "single.rtf");
File.WriteAllText(singleRtfPath, singleRtf);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 is compatible. net472 net472 is compatible. net48 net48 is compatible. net481 net481 was computed. |
Showing the top 1 NuGet packages that depend on SautinSoft.HtmlToRtf:
| Package | Downloads |
|---|---|
|
SautinSoft.Bundle
SautinSoft.Bundle is a package of .NET components for processing WORD, EXCEL, PDF, HTML, Text. With our components you get fast and reliable results in an easy–to–use format. Only the .NET is required, so you can deploy your application easily without having to think about other licenses. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.6.10 | 213 | 6/10/2026 |
| 2026.5.19 | 401 | 5/20/2026 |
| 2026.5.5 | 668 | 5/5/2026 |
| 2026.4.22 | 378 | 4/22/2026 |
| 2026.4.2 | 551 | 4/3/2026 |
| 2026.3.5 | 1,174 | 3/5/2026 |
| 2026.2.19 | 5,333 | 2/20/2026 |
| 2026.1.20 | 1,977 | 1/20/2026 |
| 2025.11.10 | 56,882 | 11/10/2025 |
| 2025.10.22 | 1,408 | 10/22/2025 |
| 2025.10.7 | 2,014 | 10/7/2025 |
| 2025.9.24 | 2,938 | 9/24/2025 |
| 2025.9.8 | 1,790 | 9/8/2025 |
| 2025.8.25 | 105,867 | 8/25/2025 |
| 2025.8.12 | 1,486 | 8/12/2025 |
| 2025.7.29 | 1,371 | 7/29/2025 |
| 2025.6.20-hotfix | 519 | 6/20/2025 |
| 2025.6.5 | 5,747 | 6/5/2025 |
| 2025.5.26-hotfix | 538 | 5/26/2025 |
| 2025.5.21 | 3,418 | 5/21/2025 |
What's new in the version HTML to RTF .Net 2026.6: https://sautinsoft.com/products/html-to-rtf/help/net/release-notes/