Find a phrase in a PDF

Written by Bilal Hassan on 28 November 2026.

How to search words that are already in the PDF text. A scanned page with no text layer will not match until you run OCR and read the .txt file.

Find PDF Text searches the text layer. Scans without text recognition will not match. A photographed contract can look full of words and still return no hits, because those words are pixels. An empty result means the query was not in the text layer. A file that cannot be read is a different failure, and it produces no hit list. Do not treat an empty result and an unreadable file as the same event.

Type a Search query. Search PDF stays disabled until the query has characters that are not only spaces. Case sensitive starts off. Turn it on when capitals must match. Enter runs the search when one is not already busy. The progress label is Searching PDF and the row says Searching pages….

The on-screen list stops at 200 and the caption says capped at 200 when it hits that. Narrow the query if you expected a shorter, complete list. The matches are places in the text layer. This page does not edit them. If you need to change a phrase, note the page and open the editor on a file that has real text. The search will not rewrite the PDF.

OCR is a different page. It writes a .txt, caps a run at 20 pages, and does not make a searchable PDF. Running OCR does not make this search start working on the same scan unless you somehow have a new PDF with a text layer, which that OCR download is not. If you need the words from a scan, use the .txt. If you need to find a phrase in a digital PDF, use this search and skip OCR.

A password-protected file has no password box here. Search failed is what you get. Remove the password in a program you are allowed to use, save a copy that opens, and search that copy. There is no partial result that hides the password problem inside No matches. The file has to open first.

Use a distinctive phrase rather than a single common word when the document is long. The 200-hit cap arrives quickly on words like the. Case sensitive off is the right start for a name that may be capitalized in more than one way. Turn it on for a product code. The list is in the page. It is not a separate report file unless you copy it yourself. Closing the tab drops the hits. The PDF you added is unchanged.

A useful search is specific enough that the list fits under 200 and still shows the page you will open next. Search a full name, then a shorter form if No matches comes back. No matches with Case sensitive on is a reason to turn it off and run once more before you conclude the name is absent. No matches with Case sensitive off, on a file where you can select the same words in a reader, means the query really is not there, including a spelling difference. No matches on a file where you cannot select any words means you searched a scan. Switch to the OCR page if you need a .txt of up to 20 pages. Do not keep changing the query on the scan. Search failed is the branch where you stop and check whether the PDF opens at all. A file that asks for a password will not be searched here. There is no field for it. Copy the page numbers you care about before you close the tab. The list is not written into the PDF and it is not saved as a sidecar by this page.

Copy the hits you need into your own note if you will close the tab. Include the page number and the phrase. A later edit in the PDF editor will not update that note. If you change the wording, search again. The old list is a picture of the file at the time you clicked Search PDF. Search cancelled means you stopped early, so the list can be incomplete even when it already shows a hit. A hit list you stopped early is only a sample, not the full set of pages that contain the phrase.

Steps

  1. Add a PDF whose words you can select. A scan will not match.
  2. Type a distinctive phrase. Leave case matching off unless capitals matter.
  3. An empty result means the phrase was not in the text layer. A file that will not open is a different outcome.
  4. The on-screen list stops at 200 hits. Narrow the phrase if you need a complete list.
  5. Copy the page numbers you need before you close the tab. The search does not save a report.
  6. Edit the PDF only when the words are really selectable.

Check the result

  • No matches was not confused with Search failed.
  • A scan was sent to OCR for a .txt instead of being searched again with the same empty result.
  • Case sensitive was on only when you needed it.
  • The PDF on disk was not modified by the search.

Related tool: Open find pdf text