IRONSOFTWAREHOME
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");
Imports IronOcr

Dim ocrTesseract = New IronTesseract()

Using ocrInput = New OcrInput()
    ocrInput.LoadPdf("scan.pdf", Password:="password")

    ' Clean up twisted pages
    ocrInput.Deskew()

    Dim ocrResult = ocrTesseract.Read(ocrInput)
    ocrResult.SaveAsSearchablePdf("searchable.pdf")
End Using
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,236,385Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required