How to Apply a License Key in IronOCR

Curtis Chau
Curtis Chau
Updated: May 9, 2026

The license key is a long string that ends with an expiry date. Please ensure this is copied correctly, with no spaces.

IRONOCR-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050
Text

The most robust method of applying a license key is directly in your code, before the library is called.

// Set the license key for IronOCR before using the library
IronOcr.License.LicenseKey = "IRONOCR-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050";

For more options, including setting the license key in web.config and appsettings.json, please see this FAQ page for more information:

IronOCR License Keys FAQ

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

Read More

Ready to Get Started?

Nuget Downloads 6,357,159Version:2026.11just released