IRONSOFTWAREHOME

Edit PDF in C#
Inside the Page, Not Just the Page Order

Open a PDF that already exists and change what is actually on it. Find and replace text, redact it permanently, stamp, watermark, annotate, draw text and bitmaps, add headers, footers and page numbers, extract text and images, and translate, scale, or remove individual objects on the page. Thirteen editing operations through one .NET API — no Acrobat automation, no Office interop, no content-stream surgery. Runs on .NET 10, 9, 8, Framework, Core, and Standard.

  • Load any existing PDF and edit it in place — find and replace text, redact, extract text and images
  • Move, scale, or delete individual objects on the page — content-level editing, not merge-and-split
  • Overlay anything: stamps, custom watermarks, annotations, drawn text and bitmaps, backgrounds and foregrounds, headers, footers, page numbers
  • Free 30-day trial, no watermarks, no credit card
using IronPdf;
using IronPdf.Editing;

// Start from a file that already exists — nothing is re-generated
PdfDocument pdf = PdfDocument.FromFile("contract.pdf");

// Change the text that is already in the document
pdf.ReplaceTextOnAllPages("[CLIENT_NAME]", "Northwind Traders");

// Redact — the characters are removed, not just covered over
pdf.RedactTextOnAllPages("Account No. 4417-9920");

// Overlay an approval mark on page 1
pdf.ApplyStamp(new HtmlStamper("<h2>APPROVED</h2>")
{
    HorizontalAlignment = HorizontalAlignment.Right,
    VerticalAlignment   = VerticalAlignment.Top
}, 0);

// Number every page
pdf.AddTextFooters(new TextHeaderFooter
{
    CenterText = "Page {page} of {total-pages}"
});

pdf.SaveAs("contract-final.pdf");
// No Acrobat. No Office interop. No content-stream surgery.
NuGet Downloads Badge
PM >Install-Package IronPdf
NEWInstallStart Free TrialGo Live
1

Install

Copy the NuGet
command above - ready
in about 5 minutes.

2

Start Free Trial

Test in production without watermarks and 30 days fullyfunctional product. 24/5 technical support during trial

Get 30-Day Trial KeyNo credit card required
3

Go Live

See your PDF workflow
running in a live
production project.

Cross Platform Support

The editing API is fully managed and behaves identically everywhere — the same find-and-replace, the same redaction, the same object edits, whether the job runs on a Windows box, in a Linux container, or inside a serverless function. Nothing here depends on desktop software being installed on the machine.

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
Azure Logo
AWS Logo
Visual Studio Logo
NuGet Logo
ReSharper

.NET バージョン:

OS & プロセッサ:

  • 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, ファンクション)
  • AWS (EC2, Lambda)

IDE について:

バイナリー認証

  • DigiCert署名済みバイナリ

Most .NET libraries edit pages. This one edits what is on them.

Most .NET tools that say "edit" mean merge, split, and rotate. The generation-first libraries cannot open your file at all; the low-level free ones can, but replacing a line of text means rewriting content streams by hand. IronPDF edits inside the page: find and replace, redact, extract text and images, translate, scale, or remove objects, stamp, watermark, annotate, draw, set backgrounds, and add headers, footers and page numbers — one managed .NET API, no Acrobat, no Office interop.

あなたの無料30日間の試用キーをすぐに入手。

Everything you need for PDF editing in C#

Why IronPDF?

Edit any PDF on any server — no Acrobat licence, no Office interop, no COM objects to keep alive.

Click to view video about Why IronPDF?

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.

Up & running in 5 mins

  • PM > Install-Package IronPdf
    , then PdfDocument.FromFile("yours.pdf") — one line from editing. Replace text, redact, stamp, watermark, annotate, move or delete objects, add headers and page numbers, all named the way you would describe the task out loud.
  • Instant licence key, full API access, and a commercial licence with no copyleft strings attached.

Cross-platform

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

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.

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.

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.

For buyers

  • Trusted by 2M+ engineers • 20M+ 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 についてお客様は何と言っていますか?

Agorus40%節約

quote_symbol過去にはOCR用のプラグインやPDF用のパッケージを別々に使わなければならなかったところ、一つの低コストパッケージに統合されていることは本当に素晴らしかったです。

David JonesDavid Jonesリードソフトウェアエンジニアケーススタディを読む

Green2View

Green2View savings chart節約20%

Green2view は20%の費用削減、30%の迅速な書類処理、100%のコンプライアンスを達成しました。

ケーススタディを読む
WILLAN

WILLAN savings chart管理作業の軽減40%

それはただ機能します—自動PDF生成は毎回ピクセルパーフェクトな財務報告書を提供します。

ケーススタディを読む

開発者が尋ねるたびに、YES! Iron Softwareから IronPDF

Can I open a PDF I did not create and edit the text inside it?YES!

Does redaction actually remove the text, or just draw a black box over it?REMOVES IT

Can I move, resize, or delete individual objects on a page?YES!

Do I need Adobe Acrobat, Word, or any Office interop installed on the server?NO

Can I add headers, footers, page numbers, watermarks, stamps, and annotations to an existing file?YES!

Will editing a PDF re-flow or degrade the rest of the document?NO

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! Click here to start your 30-day free trial

世界クラスのエンジニアリング、
24時間サポート

専門家に相談

20M+のNuGetインストール、ますます加速中

20M+2026

準備はできましたか?

Nuget Downloads 20,809,720バージョン:2026.9リリースされたばかり

あなたの無料30日間の試用キーをすぐに入手。
クレジットカードやアカウントの作成は不要です。
Key in blue circle

無料の30日間トライアルキーをすぐに入手してください。

Your trial license will be sent to your email address

制限なし。100% ロック解除済み。クレジットカード不要。

bullet_checkedクレジットカードやアカウントの作成は不要です。制限なし。100% ロック解除済み。クレジットカード不要。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
無料のライブデモを予約する
Booking Badge

世界中の数百万人のエンジニアから信頼されています。

ライセンスはより安く
義務のない相談を受ける
下記のフォームを記入するか、sales@ironsoftware.comにメールしてください。
あなたの詳細は常に守秘されます。
世界中の数百万人のエンジニアから信頼されています。
ライセンスはより安く
あなたの無料30日間の試用キーをすぐに入手。
クレジットカードやアカウントの作成は不要です。