Make any PDF have Searchable, Copyable Text
using IronOcr;

var ocrTesseract = new IronTesseract();

using var ocrInput = new OcrInput();
ocrInput.LoadPdf("scan.pdf", Password: "password");

// Clean up twisted pages
ocrInput.Deskew();

var ocrResult = ocrTesseract.Read(ocrInput);
ocrResult.SaveAsSearchablePdf("searchable.pdf");
NuGet Download
PM > Install-Package IronOcr
Make any PDF have Searchable, Copyable Text

Make any PDF have Searchable, Copyable Text

IronOCR allows you to embed the recognized text from scanned documents directly into PDFs, making them fully searchable and selectable - perfect for OCR workflows and archival indexing.

  • Use Configuration.RenderSearchablePdf = true if not using default behavior.
  • Input is added via input.LoadPdf() or input.LoadImage().
  • Optional enhancements like Deskew() improve OCR quality.
  • Use SaveAsSearchablePdf(...), or output to byte/stream variants for embedding or further processing.
Learn to Create Searchable PDFs with IronOCR in C#
View on GitHub

Ready to Get Started?

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