Cross-platform PDF library v22.0.0

ExpertPdf Anywhere for .NET

Every ExpertPdf tool in one .NET library that runs on Windows, Linux and macOS: HTML to PDF and HTML to image, Word, Excel, PowerPoint and RTF to PDF, PDF creation, merge, split, security and digital signatures, PDF to text, PDF to image, PDF to Word, Excel and PowerPoint, and image extraction.

The same classes as the classic ExpertPdf components, rendered with Chromium, packaged for servers, containers and developer machines.

dotnet add package ExpertPdf.Anywhere.Windows
ExpertPdf.Anywherev22.0.0
  • Windowsx64
  • Windowsx86
  • Linuxx64
  • LinuxARM64
  • macOSApple silicon
16 tools1 packageChromium engine
Platforms Windows · Linux · macOS
Tools 16 in one library
Targets .NET Standard 2.0 · .NET 8 · .NET 10 .NET 11: fully tested and supported

The most used tool

HTML to PDF with Chromium, on every platform.

Convert web pages, HTML strings and HTML files to PDF on Windows, Linux and macOS, in Docker containers and in the cloud. Chromium 154, the engine of the Chrome browser, ships in the NuGet packages and renders HTML5, CSS3, web fonts and JavaScript the way Chrome prints them: nothing to install on the server, no system packages on Linux.

  • Selectable text, live links, embedded fonts, bookmarks and a table of contents from the headings
  • Headers and footers with HTML and page numbers, page breaks and repeated table headers
  • Pages behind a login, one element of a page, HTML forms to PDF form fields
  • The engine inside your application, 8 conversions at the same time by default, async with cancellation
EngineChromium 154HTML5, CSS3, web fonts, JavaScript
Runs onWindows, Linux, macOSDocker, Azure, AWS, Google Cloud Run
StandardsPDF/UA, PDF/APDF/UA-1 and 2, PDF/A-1 to 4, ZUGFeRD invoices
OutputPDF and imagesBytes, file or stream; PNG, JPEG, BMP, TIFF

16 tools. One library.

The tools of the classic ExpertPdf components keep their classes, in namespaces under ExpertPdf.Anywhere. Word, Excel and PowerPoint to PDF and PDF to Office are new.

HTML to PDF

Web pages, HTML files and HTML strings to PDF, with headers, footers, bookmarks, links and page breaks.

ExpertPdf.Anywhere.HtmlToPdf.PdfConverter

HTML to Image

Web pages and HTML to images, full page or a part of it.

ExpertPdf.Anywhere.HtmlToPdf.ImgConverter

PDF Creator

Create PDF documents from code: pages, text, images, shapes, HTML, templates, bookmarks.

ExpertPdf.Anywhere.PdfDocument.Document

Word to PDF

Word documents (DOCX, DOC, templates, WordML), plain text, HTML and Markdown to PDF. New in Anywhere.

ExpertPdf.Anywhere.WordToPdf.PdfConverter

Excel to PDF

Workbooks (XLSX, XLS, CSV and other formats) to PDF, with page setup, grid lines, headers and footers. New in Anywhere.

ExpertPdf.Anywhere.ExcelToPdf.PdfConverter

PowerPoint to PDF

Presentations to PDF, as slides, notes pages or handouts. New in Anywhere.

ExpertPdf.Anywhere.PowerPointToPdf.PdfConverter

RTF to PDF

RTF documents and strings to PDF, with headers, footers and security.

ExpertPdf.Anywhere.RtfToPdf.PdfConverter

PDF Merge

Combine PDF documents, images and empty pages into one PDF.

ExpertPdf.Anywhere.MergePdf.PDFMerge

PDF Split

Extract page ranges, split by bookmarks or by size.

ExpertPdf.Anywhere.PDFSplit.PDFSplitManager

PDF Security

Passwords, permissions, removing security and digital signatures.

ExpertPdf.Anywhere.PDFSecurity.PdfSecurityManager

PDF to Text

Extract and search the text of PDF documents, with positions.

ExpertPdf.Anywhere.PdfToTextConverter

PDF to Image

PDF pages to images, TIFF and thumbnails.

ExpertPdf.Anywhere.PdfToImageConverter

PDF to Word

PDF documents to editable Word documents. New in Anywhere.

ExpertPdf.Anywhere.PdfToWordConverter

PDF to Excel

The tables of PDF documents to workbooks with typed cell values. New in Anywhere.

ExpertPdf.Anywhere.PdfToExcelConverter

PDF to PowerPoint

PDF pages to slides, with the document's tables. New in Anywhere.

ExpertPdf.Anywhere.PdfToPowerPointConverter

Word, Excel and PowerPoint, to PDF and back.

Office documents converted without Microsoft Office, on Windows, Linux and macOS, by layout engines in the library.

Office to PDF

Documents, workbooks and presentations.

From a file, a stream or bytes. Each converter has the header, footer, security and PDF/A and PDF/UA options of the HTML to PDF converter, and Office documents can be page elements of a PDF Creator document.

Word to PDF

DOCX, DOCM, DOTX, DOTM, DOC, DOT, RTF, WordML, plain text, HTML and Markdown. The page sizes and margins of each section or your own, bookmarks from the headings, fields updated as Word updates them, form fields kept as PDF fields if you ask. Word to PDF converter · Docs · Online sample

Excel to PDF

XLSX, XLSM, XLTX, XLTM, XLS, XLT, CSV, tab separated values, Excel 2003 XML and Markdown tables. Each sheet as Excel prints it, with its print area, page breaks, headers and footers; a sheet, its columns or its rows fitted on one page; a bookmark for each sheet. Excel to PDF converter · Docs · Online sample

Accessible and archivable

Word, Excel and PowerPoint documents convert to tagged PDF/UA and to PDF/A, with their headings, tables and the alternative text of their pictures.

PDF to Office

Editable files from PDF documents.

In the application's process, with no native engine: only the ExpertPdf.Anywhere package. Page ranges and password protected documents included. Docs

PDF to Word

DOCX, or RTF, OpenDocument text, HTML and Markdown. Paragraphs read across columns in reading order, with titles, headings, lists, tables, pictures, links, bookmarks and the document's fonts; a flowing layout to edit or an exact one that keeps the pages. PDF to Word converter · Online sample

PDF to Excel

XLSX. The tables of the pages as cells: numbers, percentages, amounts and dates as typed values with a number format, header rows bold and frozen, merged cells, shading and borders; a worksheet for each table or each page. PDF to Excel converter · Online sample

PDF to PowerPoint

PPTX, a slide for each page: text boxes in their places with the document's fonts, sizes and colors, shapes, pictures and the page background. PDF to PowerPoint converter · Online sample

Install the package of your platform.

Each platform package brings the library and its rendering engine. Add the fonts package on servers that have no fonts for Chinese, Japanese, Arabic or Hindi text.

Platform Package
Windows · x64 dotnet add package ExpertPdf.Anywhere.Windows
Windows · x86 dotnet add package ExpertPdf.Anywhere.Native.win-x86
Linux · x64 dotnet add package ExpertPdf.Anywhere.Linux
Linux · ARM64 dotnet add package ExpertPdf.Anywhere.Linux.Arm64
macOS · Apple silicon dotnet add package ExpertPdf.Anywhere.MacOS
Fonts (any platform) dotnet add package ExpertPdf.Anywhere.Fonts

The same code on every platform.

Convert, merge, split and extract with the classes you know from the classic components, and Office documents to and from PDF with the new ones.

Program.cs · C#
using ExpertPdf.Anywhere.HtmlToPdf;

var converter = new PdfConverter();
// converter.LicenseKey = "your license key";
converter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
converter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
converter.PageWidth = 1024;

byte[] pdf = converter.GetPdfBytesFromUrl("https://www.example.com/");
File.WriteAllBytes("example.pdf", pdf);

Moving from the classic components

The classes, properties and methods keep their names. The namespaces start with ExpertPdf.Anywhere, so an application moves with a change of its using lines, and it can sit next to the classic DLLs while you migrate.

Anywhere renders with Chromium. The settings that only applied to the old Internet Explorer and WebKit engines are not part of it.

// Classic component
using ExpertPdf.HtmlToPdf;

// ExpertPdf Anywhere
using ExpertPdf.Anywhere.HtmlToPdf;

More than the classic components.

What Anywhere adds to the classic ExpertPdf components (version 22.0 and earlier). The full list is in the release notes.

Standards

Archiving and accessibility.

More PDF/A levels and PDF/UA-2, from a conversion, from code or for an existing document.

PDF/A

PDF/A-1a, 2a, 2u, 4, 4e and 4f besides the classic levels, and existing documents converted to PDF/A.

Tagged PDF

PDF/UA-2 besides PDF/UA-1. Word, Excel and PowerPoint documents convert to tagged, accessible PDF too.

Encryption

AES-256 (revision 6) and AES-256-GCM, with or without encrypting the metadata.

Signatures

Sign the way your organisation does.

Certificates in files, in the Windows store or on a token.

Long-term validation

The revocation data is embedded, so the signature can still be verified when the certificate authority's services are gone. SHA-384 and SHA-512 digests.

Tokens and certificate stores

Sign with a certificate from the Windows certificate store or from a PKCS#11 hardware token.

External signing

Prepare the document, sign its digest with a hardware security module or a key service, and complete the signature.

Document tools

Edit existing documents.

New managers next to merge, split and security.

Redaction

Remove areas, words or patterns from a document, with a fill colour or overlay text.

Form filling

Fill text boxes, check boxes, lists and radio buttons.

Portfolios

Bundle files into a PDF portfolio.

Resize

Change the page size and margins of existing pages.

Page content and layers

Move, resize, recolour, replace or remove the texts, images and paths of a page; show, hide, add, remove or flatten layers.

Damaged files

Damaged PDF files that other readers open are opened too, with their structure rebuilt.

HTML forms and tables of contents

Turn HTML forms into PDF fields and build a table of contents for a conversion.

Deployment

Servers, containers and the cloud.

One AnyCPU assembly, one platform package per operating system.

Chromium in the application

No engine process started for each conversion, and up to 8 conversions at the same time, each isolated from the others.

Docker and the cloud

Linux images with no extra system packages; AWS Lambda and Elastic Beanstalk, Azure App Service, Functions and Container Apps, Google Cloud Run, each with a tested setup.

Remote engine

Run the conversions in the ExpertPdf engine container instead of on the application's machine; the application then needs no native package, which is also how it runs on Alpine Linux. See remote engine.

Licensing

ExpertPdf Anywhere licenses

ExpertPdf Anywhere has its own license. Owners of an ExpertPdf Toolkit or ExpertComponents Toolkit Total license with a valid key get it for free. Prices in USD, taxes not included.

Without a license key the library runs in evaluation mode: every feature, no page limit, a "Demo Version" watermark on each page. What each license covers: licenses explained.

ExpertPdf Anywhere questions.

Platforms, packages, moving from the classic components and licensing.

Which platforms does ExpertPdf Anywhere run on?
Windows (x64 and x86), Linux (x64 and ARM64) and macOS on Apple silicon. Install ExpertPdf.Anywhere and the package of your platform: ExpertPdf.Anywhere.Windows, ExpertPdf.Anywhere.Linux, ExpertPdf.Anywhere.Linux.Arm64 or ExpertPdf.Anywhere.MacOS.
Which .NET versions does it target?
The library is built for .NET Standard 2.0, .NET 8 and .NET 10. Applications on .NET 11 use the .NET 10 build.
I use the classic ExpertPdf components. What changes?
The classes and methods have the same names: PdfConverter, Document, PDFMerge, PDFSplitManager, PdfSecurityManager and the others. Their namespaces start with ExpertPdf.Anywhere, so moving an application is mostly a change of its using lines. Settings that only applied to the old Internet Explorer and WebKit rendering engines are not in Anywhere, which renders with Chromium.
Which Office documents does it convert to PDF?
Word: DOCX, DOCM, DOTX, DOTM, DOC and DOT, RTF, WordML, plain text, HTML and Markdown. Excel: XLSX, XLSM, XLTX, XLTM, XLS and XLT, CSV and tab separated values, Excel 2003 XML and Markdown tables. PowerPoint: PPTX, PPTM, POTX and POTM, as slides, notes pages or handouts. The format is found from the file extension or the content.
Does it need Microsoft Office?
No. Word, Excel and PowerPoint documents are laid out by engines in the library, on Windows, Linux and macOS. A font the document uses and the host does not have is replaced by one with the same metrics, so lines and tables break as in Office.
Can it convert PDF to Word or Excel?
Yes. PdfToWordConverter writes an editable DOCX (or RTF, OpenDocument text, HTML or Markdown) with headings, lists, tables, pictures and links; PdfToExcelConverter writes the tables of a document to an XLSX workbook with numbers, dates and amounts as typed cells; PdfToPowerPointConverter writes a PPTX with a slide for each page.
Why are non-Latin characters missing on my Linux server?
Servers and containers often have no fonts for Chinese, Japanese, Arabic or Hindi text. Add the ExpertPdf.Anywhere.Fonts package: it brings the Noto fonts for these scripts and the library uses them when the system has none.
Do I need a new license?
Yes, ExpertPdf Anywhere has its own license. Owners of an ExpertPdf Toolkit or ExpertComponents Toolkit Total license with a valid key get ExpertPdf Anywhere for free.
Can I try it before buying?
Yes. Without a license key the library runs in evaluation mode: every feature works, with no page limit, and each page carries a "Demo Version" watermark.

Every PDF tool, on every platform.

Install ExpertPdf Anywhere from NuGet and try every feature in evaluation mode. License it when you are ready.

Targets.NET Standard 2.0 · .NET 8 · .NET 10 · Windows · Linux · macOS
Versionv22.0.0