Click or drag to resize

Welcome to RTF to HTML .Net

Introduction

«RTF to HTML .Net» is 100% written in C# .NET assembly which provides a wide set of API for developers to:

  • Convert Text, DOCX and RTF documents to HTML 3.2, 4.01 + with CSS, HTML5, XHTML 1.01.

  • Convert DOCX, RTF documents to Text.

rtf-to-html-scheme

The component can be used on 32 and 64-bits platforms with .NET Framework 4.0 and higher / .NET Core 2.0 and higher. It works even in Medium Trust level and shared hosting. The component doesn't require Internet Explorer, Microsoft Office or any other software. It's absolutely standalone and independent library.

General Functions

The SDK is 100% C# .NET library with wide abilities of exporting any RTF (rich text format), DOCX and Text document to HTML, XHTML with and without CSS.

The conversion of DOCX documents works starting with .NET 4.0 and higher /.NET Core 2.0 and higher. To parse DOCX we are using own DOCX class library. If you are interested in API to parse or create DOCX for your application, follow this link..

The component supports conversion of RTF to HTML with:

  • Full text formatting (font face, color, size, bold, italic, underline, double underline, strike, superscript, subscript).

  • Images in JPG, PNG, GIF, BMP formats (stored separately or inside HTML document using base64 encoding).

  • Tables (borders, background, nested tables, merged cells).

  • Font colors, face, size.

  • Hyperlinks and anchors.

  • Ordered and unordered lists.

  • Tracking changes.

  • Full Unicode support.

  • Headers and Footers.

  • Special characters.

Compatibility with W3C standards.

HTML and XHTML documents produced by the library are completely compatible with W3C standards. We give a lot consideration of testing our HTML documents at W3C Markup validation service after each release of the component.

W 3C logo

Typical applications where our component can be used.

  • Conversion of RTF (rich text format) from database to HTML in order to display it in ASP.NET page.

  • Import contents of DOCX, RTF into your HTML website.

  • Extract text from RTF documents.

  • Create viewers for RTF based documents.

  • Create HTML email with embedded images from RTF.

What is possible to adjust during conversion?

  • Specify output format: HTML 3.2, HTML 4.01, HTML 5, XHTML, Text.

  • Generating output document in plain HTML 3.2 without CSS.

  • Whether to store images on filesystem or embed them into HTML document using base64 encoding.

  • Save CSS data between tags <style>...</style>> or as inline styles <tag style="...">.

  • Specify encoding of output HTML.

  • Set up document Title and set up converting only part of HTML between <body>...</body> tags.

  • Set up a single font, size and color for document.

  • Detect hyperlinks from text and make them real hyperlinks.

  • Override the table borders visibility.

The component has such methods to convert document between files, strings, array of bytes, memorystreams.

Our library helps you to export RTF to HTML even in memory i.e. without creating of physical file on hard drive. Images can be extracted from RTF and saved to HDD as physical files or stored in memory or stored inside HTML using base64.

Why to choose «RTF to HTML .Net»?
  • Your license will never expire, no subscription fees.

  • The component is completely written in managed C#.

  • Absolutely standalone, doesn't require Microsoft Office® or anything else.

  • «RTF to HTML .Net» is the Multi-Platform component, runs on:

  • To create Windows Forms and Web-based ASP.NET server applications.

  • Works at servers with shared hosting and Medium Trust level.

  • The one product provides me by set of API to convert Text, DOCX and RTF document at various formats at once: HTML 3.2, 4.01, HTML5 and XHTML.

  • Your software will produce well-formed HTML compatible with all W3C standards, you may check this.

  • Can be easily updated through NuGet.

  • Unlimited free technical support for all clients and testers.

Feature Highlights

Now let's get to know the core features of «RTF to HTML .Net».

 

We are happy that our «RTF to HTML .Net» helped a lot of developers and companies to simplify the conversion of HTML documents by several lines of code! We appreciate and honor your your questions and reviews...

Requirements and Technical Information
  • Entirely written in managed C#, therefore absolutely standalone.

  • .NET Framework 4.0 and higher.

  • .NET Core 2.0 and higher.

  • .NET Standard 2.0.

    netplatformsstandard

  • Windows & Linux & Mac OS.

Straightforward and clear interface

Summarize, we'd like to point out about the assembly interface. You will likely be surprised at the amount of built in functionality. But it's easy to start work with the component.

To investigate this by yourself, see the list with the Code Examples.