Run OCR on the Current PDF Page in Adobe Acrobat
Question details
Determine whether Acrobat JavaScript can run OCR only on the PDF page currently being viewed.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- The user wants to recognize text on the current PDF page without navigating the OCR menu and page-selection options.
- Observed behavior
- Acrobat does not provide a supported JavaScript command that directly runs OCR on only the current page.
Open the PDF in Adobe Acrobat and navigate to the page you want to recognize. Check that your Acrobat version and license include the Scan & OCR tools.
Select the current page in Acrobat’s OCR workflow
Use Acrobat’s built-in OCR controls to recognize text on one page without relying on an unsupported JavaScript command.
With the PDF open, select All tools > Scan & OCR. In some Acrobat versions, use Tools > Scan & OCR instead.
Select Recognize Text > In This File. In the page options, choose Current page or This Page; if neither appears, enter the current page number as the page range.
Check the recognition language and other settings, then select Recognize Text to process the selected page.

Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility helps you move existing files into your workflow, though it does not add OCR commands to Acrobat JavaScript.

Frequently Asked Questions
Is there an Acrobat JavaScript command to OCR the current page?
No. Acrobat does not provide a supported JavaScript command that directly runs OCR only on the page currently being viewed.
How do I OCR just one page in Acrobat?
Open All tools > Scan & OCR, select Recognize Text > In This File, and choose Current page or enter the page number as the range before selecting Recognize Text.
Can an Acrobat Action remove the page-selection step?
An Action may streamline parts of the OCR workflow if your version supports it, but it does not provide a supported JavaScript command for OCRing the current page. You may still need to select the page manually.
Why can’t I find Scan & OCR in Acrobat?
Check All tools or Tools for Scan & OCR. Availability and menu names depend on your Acrobat version and license.




