跳至頁尾內容
PM > Install-Package IronPdf

IronPDF

Nuget NuGetPassed See what’s new:

Cross Platform Support

HTML to PDF conversion works the same on every supported platform.

Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework
Available for .NET, Java, Node.js, and Python.

NET Logo
Windows Logo
Linux Logo
Mac Logo
Docker Logo Docker Logo
Azure Logo Azure Logo
AWS Logo AWS Logo
Visual Studio Logo Visual Studio Logo
NuGet Logo NuGet Logo
ReSharper

.NET 版本:

作業系統與處理器:

  • Windows (x64, x86)
  • Mac (x64, ARM)
  • Linux (x64)

.NET 專案類型:

  • Web (Blazor 與 WebForms)
  • 桌面版 (WPF & MAUI)
  • 控制台 (應用程式與函式庫)

應用程式環境:

  • Windows (10+、Server UI 2012+、Server Core 2022)
  • Linux (Ubuntu、Debian、CentOS 等)
  • Mac (macOS 10+)
  • Docker (Windows、Linux、Azure)
  • Azure (VPS、WebApp、Function)
  • AWS (EC2, Lambda)

整合開發環境 (IDE):

二進位認證

  • DigiCert 簽署二進位檔

The fastest way to convert HTML to PDF in C#

IronPDF gives C# and VB.NET developers a Chromium rendering engine wrapped in a clean .NET API. HTML, CSS, JavaScript, web fonts, SVG, and complex layouts all render the same way they do in a real browser. No headless Chrome process to manage, no wkhtmltopdf quirks, no missing fonts.

立即獲取您的免費 30 天試用金鑰

Everything you need for HTML to PDF in C#

Why IronPDF?

Built for developers who need HTML to PDF conversion that actually matches the browser.

Click to view video about Why IronPDF?

Icon Why Fill S1 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
Pixel-perfect rendering

  • Chromium-grade HTML/CSS/JS ➝ what you see in the browser is what’s in the PDF.
  • Fonts, SVGs, image, complex layouts - consistent across environment.
  • Handles header/footers, page number, margins, and pagination edge cases.

Icon Why Fill S3 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
Up & running in 5 mins

  • PM >
    Install-Package IronPdf

    , then three lines of C# converts your first HTML page to PDF
  • No setup, no Chrome binary to install, no Linux font wrangling.
  • Full API access with an instant license key.

Icon Why Fill S2 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
Cross-platform

  • .NET 10, 9, 8 LTS, Framework 4.62+
  • OS: Windows, Linux, macOS.
  • Cloud/containers: Azure, AWS, Docker/Kubernetes, serverless.
Platform that supported

Icon Why Fill S4 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
Great documentation

  • Copy-paste your first PDF
  • Task-based examples for HTML ➝ PDF, merge/split, stamping, forms, signing.
  • Troubleshooting for fonts, page breaks, headless/ cloud deploys.

Icon Why Fill S5 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
Perpetual license & 24/5 support

  • Perpetual license - buy once, use forever. Optional updates and renewals.
  • 24/5 engineer support (24/7 in Premium) Real humans, median chat response <1 min
  • 30-day money-back guarantee Not the right fit? Full refund, no questions.

Icon Why Fill S8 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
For builders

  • Features you'll actually use:
    • merge/split
    • TOC/bookmarks
    • headers/footers/margins
    • watermarks/stamps
    • forms (fill/extract)
    • attachments
    • images
    • permissions
    • compressing
    • digital signing
  • Works everywhere: Windows, Linux, macOS, Docker, Azure, AWS, cloud.

Icon Why Fill S9 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
For buyers

  • Trusted by 2M+ engineers • 14M+ NuGet installs.
  • Teams report 40% dev-time saved vs DIY/OSS wrappers.
  • Redistribution/SaaS options available.
  • Procurement-friendly: perpetual license, optional renewals, invoice available, multiple payment options (including local).
  • 30-day money-back guarantee.

客戶如何評價 IronPDF?

Agorus 40%節省儲存

quote_symbol 過去我們可能必須另行尋找並使用一個 OCR 外掛程式或套件,再另找一個 PDF 工具,如今能將所有功能整合到一個低成本的套件中,對我們來說實在太棒了。

David Jones David Jones 首席軟體工程師 閱讀案例研究  

Bg Chart Green related to 客戶如何評價 IronPDF? 節省儲存20%

Green2view 實現了 20% 的成本節省、30% 的文件處理速度提升,以及 100% 的合規性。

閱讀案例研究  

Bg Chart Blue related to 客戶如何評價 IronPDF? 減少行政工作40%

它就是這麼好用——自動生成 PDF 的功能,每次都能產出像素級精準的財務報告。

閱讀案例研究  

每當開發者提出需求時,我們總會給出肯定的答覆 IronPDF

switch(faqQuestions)
{ 
    case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
    case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
    case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
    case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
    case "Is IronPDF compatible with Azure Functions?": return "YES";
    case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
    case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
    case "Can I access PDF DOM through ObjectModel property?": return "YES";
    case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
    case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
    case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
    case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
    case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}

Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?YES!

Can I convert an HTML string to PDF in one line of C# code?YES!

Can I convert a URL to PDF with authentication, cookies, and custom headers?YES!

Can I generate a PDF from Razor, CSHTML, or ASPX views?YES!

Can I add custom headers, footers, page numbers, and watermarks during conversion?YES!

Can I run HTML to PDF conversion in Docker, Azure Functions, or AWS Lambda?YES!

Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?YES!

Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?YES!

Can I set custom viewport dimensions and print media CSS to control responsive layouts?YES!

Is IronPDF compatible with Azure Functions?YES!

Can I permanently redact sensitive text and images from PDF documents?YES!

Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?YES!

Can I access PDF DOM through ObjectModel property?YES!

Can I programmatically fill, read, and flatten interactive AcroForm?YES!

Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?YES!

Can I secure a document with 256-bit AES password encryption and set user permissions?YES!

Can I apply and verify digital signatures on a PDF using X.509 certificates?YES!

Can I test IronPDF in my live project for free now?YES! Icon Arrow related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronPDF Click here to start your 30-day free trial

Floating Left Top related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronPDF
Floating Right Bottom related to 每當開發者提出需求時,我們總會給出肯定的答覆! IronPDF
世界級工程,
24小時支援
  • Support Team Member 2 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
  • Support Team Member 4 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
  • Support Team Member 6 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
  • Support Team Member 7 related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
  • Support Team Member Iron related to HTML to PDF in C#
Pixel-Perfect Rendering for .NET
與專家交談

1,800 萬次 NuGet 安裝,且成長勢頭持續加速

Aetna
NASA
GE
保時捷
美國國務院
卡達
18 萬+
2026
NuGet 下載歷史圖表:2025 年下載量突破 1,200 萬次
/img/sections/nuget_8m_downloads/nuget_17m_downloads_mobile.png
準備開始了嗎?
Nuget 下載 19,014,616 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronPdf
執行範例 觀看您的 HTML 轉為 PDF。

鋼鐵支援團隊

我們每週 5 天,每天 24 小時在線上。
聊天
電子郵件
打電話給我