Ironpdf License Key [updated] (2025-2027)

. While it is free to use for development and testing, a license key is required to remove watermarks for production deployment. Licensing and Costs

If you prefer not to hard-code your license key directly in your source code, you can configure it through your project's configuration files (e.g., appsettings.json in ASP.NET Core) and retrieve it at runtime.

"); pdf.SaveAs("output.pdf"); Use code with caution. Method 2: Using Web.config or App.config ironpdf license key

IronPDF is a commercial product, but the developers provide a few ways to use it without paying upfront. 30-Day Free Trial Key

Set the key at the entry point of your application—whether it’s Main() , Startup.cs , or the top of your script. Placing the key after PDF operations have already started will have no effect on those earlier calls. "); pdf

To keep your credentials secure and out of your source control repository, set a system environment variable. IronPdf_LicenseKey Variable Value: IRONPDF-YOUR-LICENSE-KEY-HERE

// Now you can render PDFs var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("<h2>Hello, IronPDF is licensed!</h2>"); pdf.SaveAs("output.pdf"); Placing the key after PDF operations have already

The fastest way to initialize the license is at the application entry point (e.g., Program.cs or Global.asax ).

This guide covers everything you need to know about acquiring, activating, and managing your IronPDF license key. What is an IronPDF License Key?

Then, use the ConfigurationManager to retrieve it in your code: