Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Through June 2025, you can try out a limited amount of optical character recognition and other selected content services at no cost if you have pay-as-you-go billing set up. For information and limitations, see Try out pay-as-you-go services.
The optical character recognition (OCR) service in SharePoint lets you extract printed or handwritten text from images and documents. Examples of images include posters, drawings, and product labels. Examples of documents include articles, reports, forms, and invoices.
The text is typically extracted as words, text lines, and paragraphs or text blocks, enabling access to digital version of the scanned text. The extracted information is indexed in search and can be made available for compliance features like data loss prevention (DLP).
For example, you enable the OCR service and then add image files to your document library. The feature automatically scans the image files, extracts the relevant text, and makes the text from the images available for search and indexing. This feature lets you quickly and accurately find the keywords and phrases you're looking for.
Requirements and limitations
Supported file types
Endpoint | Supported file types |
---|---|
SharePoint and OneDrive | .bmp, .png, .jpeg, .jpg, .jfif, .arw, .cr2, .crw, .erf, .gif, .mef, .mrw, .nef, .nrw, .orf, .pef, .raw, .rw2, .rw1, .sr2, .tif, .tiff, .heic, .heif, .ari, .bay, .cap, .cr3, .dcs, .dcr, .drf, .eip, .fff, .iiq, .k25, .kdc, .mef, .mos, .ptx, .pxn, .raf, .rwl, .sr2, .srf, .srw, .x3f, .dng, .tiff, and .pdf (scanned and hybrid) Embedded images in docx, pptx, xlsx are extracted and scanned |
Teams, Exchange, and Windows devices | .bmp, .png, .jpeg, .jpg, .tiff, and .pdf (scanned and hybrid) Embedded images in docx, pptx, xlsx, RAR, TAR,ZIP and 7z are extracted and scanned |
In addition to image-based PDF, SharePoint OCR supports hybrid PDF (text plus image PDF). Newly uploaded hybrid PDFs will be processed by the OCR service.
Note
When you apply OCR to an image file, the text is stored in the Extracted text metadata column. When you apply OCR to a PDF or TIFF file, the extracted text is indexed in search but not available in the metadata column.
Office file support in SharePoint
SharePoint now supports OCR for Microsoft 365 Office files, including Word, PowerPoint, and Excel documents. Any images added to these files will be automatically scanned using OCR, and the extracted text will be indexed for search purposes and integrated into compliance solutions. Additionally, SharePoint has implemented de-duplication processes to check for unique images to avoid duplicate charges against the same images.
Supported languages
The OCR service supports more than 150 languages.
Supported locations and solutions
The OCR service supports multiple solutions, as shown in the following table. For details about compliance solutions, see Supported locations and solutions in Microsoft Purview.
Location | Supported solution |
---|---|
Exchange | Text is available for end-user search and search-driven solutions. Text is available for compliance solutions. |
SharePoint sites | Text is available for end-user search and search-driven solutions. Text is available for compliance solutions. |
OneDrive accounts | Text is available for end-user search and search-driven solutions. Text is available for compliance solutions. |
Teams chat and channel message | Text is available for compliance solutions. |
Devices | Text is available for compliance solutions. |
File limitations
Images must be less than 50 MB.
Images must be at least 50 x 50 pixels and not larger than 16,000 x 16,000 pixels.
Images uploaded after OCR has been enabled are the only images that are scanned.