EvoPdf Next · RTF to PDF

Convert RTF documents to PDF in .NET

The RTF to PDF Converter enables accurate conversion of complex RTF documents to PDF, from files, streams or .NET strings. Generate a table of contents from RTF headings, reflow the content with custom page settings, add HTML headers, footers and stamps and apply security and digital signatures. The library targets .NET Standard 2.0 and runs on Windows, Linux and macOS, including Azure App Service, Azure Functions and Docker.

Version 14.60.1. Building EVO PDF libraries since 2010. Evaluate without registration; the demo output is watermarked until you set a license key. Licensed as part of the EVO PDF Toolkit.

Documentation · Samples and demos on GitHub · AI agent skills

ConsoleCLI
dotnet add package EvoPdf.Next.RtfToPdf.Windows

This is the Windows package; EvoPdf.Next.RtfToPdf.Linux and EvoPdf.Next.RtfToPdf.MacOS work the same way, or use the all-components EvoPdf.Next.* metapackage for your platform.

Program.csC#
using EvoPdf.Next;

var converter = new RtfToPdfConverter();
// from a buffer; string and file overloads too
byte[] pdf = converter.ConvertToPdf(rtfBytes);
File.WriteAllBytes("document.pdf", pdf);
Convert an RTF document. Full sample in the docs →
  • Windows 10, 11 and Windows Server 2016 to 2025 (x64 and ARM64)
  • Linux 64-bit distributions (x64 and ARM64)
  • macOS 12.0+ (Apple Silicon / ARM64)
  • .NET 10.0, 9.0, 8.0, 7.0, 6.0, .NET Standard 2.0
  • .NET Framework 4.6.2 to 4.8.1
  • Azure App Service and Azure Functions
  • Azure Cloud Services and Virtual Machines
  • Web, console and desktop applications
Features

What the RTF to PDF component does

  • Convert RTF documents from memory or from a file to PDF
  • Convert RTF content from .NET strings to PDF
  • Use custom PDF page settings to automatically reflow the content
  • Automatically create a table of contents based on headings in RTF
  • Add HTML headers, footers or stamps to the generated PDF
  • Control the PDF document display with PDF viewer preferences
  • Encrypt, set permissions and set passwords for the generated PDF documents
  • Add digital signatures to the generated PDF document
  • Asynchronous RTF to PDF methods that can be used with async and await
  • Docker containers for Windows and Linux

NuGet packages

Reference EvoPdf.Next.RtfToPdf.Windows, .Linux, .MacOS or the .Arm64 variants, or the EvoPdf.Next.* metapackage for your platform, which includes every component.

ConsoleCLI
dotnet add package EvoPdf.Next.RtfToPdf.Windows

On nuget.org: EvoPdf.Next.RtfToPdf.Windows · .Linux · .MacOS · .Windows.Arm64 · .Linux.Arm64 · metapackage EvoPdf.Next

RTF to PDFDemoDocs + code
Licensing

Included in the EVO PDF Toolkit

RTF to PDF is licensed as part of the EVO PDF Toolkit, which covers every component on this site, Next and Classic: 650 USD for a Deployment License (one application on a single server) or 1400 USD for a Company License (unlimited developers, applications and servers, redistributable). Perpetual, with updates and support for the first year.