RecursiveAI.OnePdf.Html 1.0.0

Prefix Reserved
dotnet add package RecursiveAI.OnePdf.Html --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OnePdf.Html -Version 1.0.0
                    
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="RecursiveAI.OnePdf.Html" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OnePdf.Html" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OnePdf.Html" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OnePdf.Html --version 1.0.0
                    
#r "nuget: RecursiveAI.OnePdf.Html, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RecursiveAI.OnePdf.Html@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OnePdf.Html&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OnePdf.Html&version=1.0.0
                    
Install as a Cake Tool

RecursiveAI.OnePdf.Html

Converts PDF files to HTML in .NET, in two modes: semantic HTML that reflows in reading order (headings, paragraphs, lists, tables, figures, links and notes, from the PDF's tags or inferred from its layout), or fixed-layout HTML that looks like the page, with selectable text in the PDF's own glyph shapes over SVG graphics and images.

using OnePdf.Html;

string html = PdfHtml.Convert("report.pdf");
PdfHtml.Convert("report.pdf", "report.html", new PdfHtmlOptions { Mode = PdfHtmlMode.FixedLayout });

Options cover page ranges, passwords, limits, parallel pages, one file or a file per page, images and fonts inline or as files, headers and footers (mark, keep or drop), form fields, annotations and fonts. PdfHtmlConverter converts page by page into any IPdfHtmlSink, and IPdfHtmlTextSource lets a page's text come from somewhere other than the PDF's text layer (see RecursiveAI.OnePdf.Html.Ocr).

The output contains no script and no remote references and keeps only web, mail and in-document links. The same input and options give the same bytes.

Built on RecursiveAI.OnePdf, OnePdf.Fonts, OneFont, OneImage, OneImage.Pdf and OneHtml. net10.0, NativeAOT- and trim-compatible, no native code. HTML to PDF is in RecursiveAI.OnePdf.Html.Render, the command line in RecursiveAI.OnePdf.Html.Tool.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RecursiveAI.OnePdf.Html:

Package Downloads
RecursiveAI.OnePdf.Html.Ocr

A text source for RecursiveAI.OnePdf.Html that supplies recognised text for scanned PDF pages and pages with a missing or broken text layer.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 12/4/2026