PDF Editing Issues

Run OCR on the Current PDF Page in Adobe Acrobat

John WilsonJohn Wilson Nov 24, 2026 869 views

Question details

Determine whether Acrobat JavaScript can run OCR only on the PDF page currently being viewed.

Can Adobe Acrobat JavaScript Run OCR on the Current PDF Page?
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the OCR tool

With the PDF open, select All tools > Scan & OCR. In some Acrobat versions, use Tools > Scan & OCR instead.

2
Choose the page

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.

3
Run OCR

Check the recognition language and other settings, then select Recognize Text to process the selected page.

Select the current page in Acrobat’s OCR workflow
About shortcuts: Some Acrobat versions support Actions or interface shortcuts that can streamline the workflow. They do not provide a supported JavaScript command for directly running OCR on the current page, and you may still need to select the page manually.
Free Microsoft Office alternative

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.

Open and work with PDF documents alongside office files.Compatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to transition from Microsoft Office.Keep common document tools together in a lightweight office suite.
microsoft office alternative - wps office

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.