Find Text in PDF

Search for words in a PDF’s text layer and see the matches. A scan with no text will not match. Use PDF OCR if you need a .txt from a scan. File remains.

How to use this tool

  1. Add one PDF. The row says Searching pages… while a search runs.
  2. Type a Search query. Search PDF stays disabled until the query has non-space characters.
  3. Turn on Case sensitive only when capital letters must match. It starts off.
  4. Choose Search PDF. The progress label is Searching PDF. Cancel is available during the run and the info toast is Search cancelled.
  5. A finished search toasts Found N match(es) or No matches. The list caps at 200 and the caption says (capped at 200) when it hits that. Search failed is the danger toast.

A miss can mean there is no text layer

The search reads text operators already in the PDF. A scan is a picture. The note on the page says scans without OCR will not match. Run the OCR tool if you need a .txt from a scan. This search will not OCR the page for you, and it will not turn the scan into a searchable PDF.

Case sensitive off compares without regard to case. On, the capitals have to match. The list stops at 200 hits and labels that cap. If you expected more, narrow the query. Cancel sets the cancelled flag and toasts Search cancelled.

Search failed means the file could not be read. There is no password field. No matches means the read succeeded and the query was absent. Those are different toasts. Do not treat No matches as a broken file.

A search of the text layer

Type a word you can see in the PDF and run the search. A hit means that word is in the text layer. No hit on a page that clearly shows the word means the page is a scan, and this tool cannot read it. Use the OCR page for that scan if you need the letters. This search does not change the PDF. It only lists where the text layer matches.

Common questions

Why are there no hits in a scanned contract?
The page says scans without OCR will not match. This tool does not OCR. The text layer is empty.
Is an empty search an error?
No. It means the query was not in the text layer. A file that could not be opened is a different outcome. A scan has no text layer to search.
Does search edit the PDF?
No. A hit is a place in the text layer. The file you added is not changed. Note the page if you need to edit that phrase later in a file that actually contains characters.
Does the on-screen list include every hit?
The list stops at 200. A caption says when that cap is reached. Narrow the query if you expected a complete list. This page does not edit the PDF. Note the page and change the wording in the editor if the file has real text.