Find PDF Page Numbers for Repeated Text in Adobe Acrobat
Question details
Find and export the page numbers where a repeated phrase appears in a PDF.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A user needs to locate a recipient name label or another repeated phrase throughout a large mail-merge PDF.
- Observed behavior
- A CSV listing the search matches and their page numbers can be reviewed in a spreadsheet.
Open the PDF in Acrobat and use Find to confirm that the target phrase is searchable. If the PDF contains scanned images, run text recognition first using Scan & OCR.
Export Search and Redact results as a CSV
Use Acrobat's Search and Redact results to collect page numbers without permanently removing the text.
Acrobat does not directly expose Advanced Search results to JavaScript. This workflow provides a manual way to export matching page numbers instead.
Open the PDF in Acrobat, select Redact, and choose Find Text & Redact. Depending on your version, you may first need to select Redact Text & Images.
Enter the target phrase in the Search panel and select Search & Remove Text. Review the matching results.
Select the disk icon above the search results, save the results as a CSV file, and open the CSV in a spreadsheet to review the page numbers.
If redaction annotations were created, select and delete them before saving the PDF. Do not select Apply Redactions if you want to keep the text.

Collect matching PDF page numbers with WPS Office
Search the PDF in WPS Office, record the page number for each match, and save the list in WPS Spreadsheets. This manual approach is best for a manageable number of matches.
- 1. Open the PDF: Open WPS Office and select Open to choose the searchable PDF.
- 2. Find the text: Press Ctrl+F or use the PDF search control, enter the phrase, and move through the matches.
- 3. Record page numbers: Check the current page indicator at each match and enter the page number in a new WPS Spreadsheets worksheet.
- 4. Save the list: In WPS Spreadsheets, select File > Save As and save the worksheet as an XLSX or CSV file.

Frequently Asked Questions
Why can't Acrobat find text in my scanned PDF?
The pages may contain images rather than searchable text. In Acrobat, open Scan & OCR and run text recognition, then search for the phrase again.
Does Search & Remove Text immediately delete the text?
Redaction marks do not permanently remove text until you apply the redactions. If you only need the page numbers, export the results and delete any unwanted redaction annotations without applying them.
How do I view the exported page numbers?
Use the disk icon above Acrobat's Search and Redact results to save a CSV, then open that file in a spreadsheet application and review the page-number entries.
Can Acrobat JavaScript retrieve Advanced Search results directly?
Acrobat does not directly expose Advanced Search results to JavaScript. Use Search and Redact to export results, or use a script that scans the PDF page by page.




