Find Which PDF Pages Contain a Phrase

Find Which PDF Pages Contain a Phrase

Type a phrase and download JSON with the matching page numbers. The search ignores letter case and reads selectable text. A scanned page with no text layer is skipped. The result is a list, not highlighted hits.

  • Files stay on this device
  • Usable without internet
  • Output JSON

Your files

Select files from this device.

JSON

    1. Open the PDF and enter the current password if needed.
    2. Type the words in Phrase to search. Leave Pages blank to scan the whole file.
    3. Download the JSON. The matches array lists page numbers. coverage says the search covered selectable text.
    OutputJSON

    Questions & answers

    How do I find which pages of a PDF contain a word?

    Type the phrase and open the JSON. matches lists the page numbers whose text contains it, ignoring letter case.

    Does a clear result mean my PDF is safe to share?

    No. The check misses scans, odd encodings, and text it cannot extract. Look at the pages yourself before you send a sensitive file.

    Does it search scanned pages?

    Only if those pages already have selectable text. Run OCR PDF first for an English scan, then search the searchable copy.

    How do I remove the phrase once I find it?

    Use Redact PDF with the same phrase, then run this search again on the redacted file. Redaction saves image pages, so a second search should find no text layer to match.

    Questions about privacy and offline use