Use Acrobat Actions to OCR the First Page of Multiple PDFs
Question details
Extract the first page of each PDF, apply OCR, and save the resulting pages with new filenames.

- Product
- Adobe Acrobat Pro
- Device & OS
- not provided
- Scenario
- The user has multiple PDF files and wants to recognize text only on the first page of each file.
- Observed behavior
- The desired result is a set of first-page PDFs with recognized text, optionally placed back into their original documents.
Gather the source PDFs in one folder and create separate folders for extracted pages and OCR output. Check that your Acrobat edition includes Action Wizard, page extraction, and Recognize Text; tool names and locations may vary by version.
Extract first pages, then run an OCR Action
Use this workflow to apply OCR only to page one of each document without processing the remaining pages.
Acrobat JavaScript can help extract pages, but it cannot fully automate the Recognize Text command by itself. Run OCR as a separate Action after extraction.
Open each PDF in Acrobat and select All tools > Organize pages > Extract. Set the page range to 1, leave the option to delete pages after extraction unchecked, and save the extracted page in the extraction folder with a filename that identifies its source.
Open All tools > Use guided actions or Action Wizard, then choose New Action. Add Recognize Text using OCR to the action and configure the OCR language and output settings.
Add the extracted-page folder or its PDF files as the Action input. Add a Save step and choose the OCR output folder; use filenames that preserve the link to each original document.
Run the Action on the extracted PDFs. Open a few output files and try selecting or searching for recognized text to verify the results.
To put an OCR page back into its full document, open the matching original PDF, choose Organize pages > Replace, and replace page 1 with the corresponding OCR PDF. Use Save As to give the updated document a new filename.

Extract and recognize first-page PDF content in WPS Office
For a manual alternative, extract each first page in WPS PDF, use OCR-enabled PDF-to-Word conversion, and export the recognized content as a new PDF. This recreates the page rather than adding a searchable text layer to the original, so formatting may change.
- 1. Open a source PDF: Open the PDF in WPS Office and select the PDF page-management or Extract Pages tool.
- 2. Extract the first page: Choose page 1 and save it as a separate PDF with a filename that identifies the source. Repeat for the other files.
- 3. Recognize the text: Open an extracted PDF and choose PDF to Word, selecting OCR or scanned-document recognition if offered. Check the converted text in WPS Writer.
- 4. Save a new PDF: In WPS Writer, choose Export to PDF and enter a new filename. Repeat for each extracted page and check the exported layout.

Frequently Asked Questions
Can Acrobat JavaScript run Recognize Text fully automatically?
Acrobat JavaScript can assist with page extraction, but it cannot fully automate the Recognize Text command by itself. Use Action Wizard to run Recognize Text on the extracted pages.
How do I avoid OCRing the rest of each PDF?
In Organize pages > Extract, save only page 1 from each document. Run the OCR Action on those extracted files rather than on the original PDFs.
How can I return an OCR page to its original PDF?
Open the original in Acrobat, choose Organize pages > Replace, and replace page 1 with the matching OCR PDF. Use Save As if you want a new filename.
Why should I keep the extracted and OCR files in separate folders?
Separate folders make it easier to select only first-page files as Action input and distinguish OCR output from the original and extracted PDFs.
Does the WPS workflow preserve the original PDF page exactly?
Not necessarily. OCR-enabled conversion to Word followed by Export to PDF recreates the page, so check the recognized text and formatting. OCR availability can depend on the WPS edition and platform.




