The C# OCR Library

IronOcr makes it easy to read text from images in your .net apps & websites.
It makes OCR in C# a 3 line task, so that you can add "image to text" functionality to your application or document management with ease.

C# OCR

OCR. Technology for .Net

IronOcr is an advanced OCR Library written in C#. It uses computer vision technology to 'read' text in images and scanned documents, and translate it into plain text content. This is ideal for indexing documents in databases, or extracting data from old documents and putting them online or into intranet archives. IronOcr forms the bedrock of document management systems built using C# by providing reliable, enterprise class optical character recognition in an easy to use DLL library.

Because the IronOCR API is well documented and easy learn, most C# coders are up and running in 60 seconds using the Nuget installer for Visual Studio.     Install Now »


C# OCR Image to Text

Image to Text

IronOCR class contains an Image-to-Text, allowing .Net developers to read text from image files using C#.   You can point it to any compatible image or scan file to extract accurate text read using OCR technology.


C# OCR Bitmap to Text

Bitmap to Text

The IronOCR class allows .Net developers to read text from Bitmaps in memory.   This technology is useful for real-time OCR such as in mobile apps or from web-cam image feeds.

Start reading text from images in 60 seconds

How To Install the IronOCR C# OCR Library into Visual Studio

Install IronOCR to your .Net Project

The easiest way to install IronOCR is using NuGet Package Manager for Visual-Studio:

  1. The package name is "IronOCR"
  2. If NuGet is unfamiliar to you… read this tutorial
  3. If you would prefer to download IronOCR as a dll and install manually.
C# OCR Example Code Demo

Get Coding

IronOCR has a very simple API based on HTML as a design language:

using IronSoftware.IronOcr;
//..
OcrEngine Ocr = new OcrEngine();
string responseText = Ocr.ProcessImage("path/to/any.image",
                                        OcrMode.Fastest).GetAllText();
Console.WriteLine(responseText);
                                    
Imports IronSoftware.IronOcr
Dim Ocr As New OcrEngine()
Dim responseText As String = Ocr.ProcessImage("path/to/any.image", OcrMode.Fastest).GetAllText()
Console.WriteLine(responseText)
using IronSoftware.IronOcr;
//..
OcrEngine Ocr = new OcrEngine();
string responseText = Ocr.ProcessBitmap((Bitmap) myBitmapData,
                                        OcrMode.AdvancedWithMachineLearning).GetAllText();
Console.WriteLine(responseText);

                                    
Imports IronSoftware.IronOcr
Dim Ocr As New OcrEngine()
Dim responseText As String = Ocr.ProcessBitmap(myBitmapData, OcrMode.AdvancedWithMachineLearning).GetAllText()
Console.WriteLine(responseText)

Reliable Ocr tools for C# developers

C# OCR Documentation

Well Documented

Clear online manuals in plain English.

Comming Soon
C# OCR Library Licensing

Flexibly Licensed

Free Development. Commercial from $499.

Explore Licenses
C# PDF Open-Source Examples

Human Support

Talk directly with our development team

Ask a Question
visual studio Install C# PDF Generator by IronPdf

1 Minute Setup

Use Nuget Package Manager to install in under 60 seconds.