How to Search Inside a PDF
You have a long PDF. You need to find a specific name, date, or phrase. The fastest way is to use built-in search — if the PDF cooperates.
The fast way: Ctrl+F / Cmd+F
In any PDF viewer:
- Open the PDF
- Press Ctrl+F (Windows) or Cmd+F (Mac)
- Type your search term
- Press Enter to jump between matches
Works in:
- Adobe Reader
- Browser PDF viewers (Chrome, Safari, Firefox, Edge)
- macOS Preview
- Microsoft Edge
- Mobile PDF apps (iOS Files, Android Drive)
When search doesn’t find anything
If Ctrl+F returns no results when you can clearly see the word in the PDF, the PDF is image-only — pictures of pages with no actual text data.
To check: try to select text with your cursor. If you can only draw a rectangle (not character-by-character selection), the page is an image.
The fix: add OCR
Use PDF OCR to add a searchable text layer:
- Open PDF OCR
- Drop in your PDF
- Choose the language of the text
- Click Run OCR
- Download the searchable PDF
The result looks identical to the input but Ctrl+F now works.
See our Why Your Scanned PDF Won’t Let You Copy Text guide for the full background.
Advanced search options
Most PDF viewers have advanced search:
Adobe Reader: Edit → Advanced Search (or Shift+Ctrl+F). Adds:
- Whole words only
- Case sensitive
- Search across multiple PDFs in a folder
- Include bookmarks and comments
Preview (Mac): search bar has options for case sensitivity.
Browser PDF viewers: typically basic search only.
For searching across many PDFs, Spotlight (Mac) or Windows Search index PDF text — if the PDFs have text layers.
Searching a folder of PDFs
If you need to find a term across dozens of PDFs:
Mac: Spotlight searches PDF text content if the PDFs have text layers.
Windows: Windows Search indexes PDF text (with the right filter installed). Or use PowerToys File Explorer Find Files.
Cross-platform: tools like DocFetcher (free) index folders and search PDF content.
For all of these to work: the PDFs must have text layers. Run PDF OCR on scanned PDFs first.
Extract all text from a PDF
For text-based analysis (not just searching):
Use PDF to Text:
- Open PDF to Text
- Drop in PDF
- Get a
.txtfile with all the document’s text
Useful for:
- Feeding PDF content into other tools (analytics, AI, processing)
- Quickly scanning text without opening the PDF viewer
- Building searchable archives
Search by regex
For advanced text matching:
Adobe Acrobat Pro: supports regex search in advanced find.
Command-line:
pdftotext file.pdf - | grep "your-regex"
Extracts text from PDF and pipes to grep for regex matching.
Programming approach: extract text, use language regex (Python, JavaScript) for pattern matching.
For one-off searches: basic Ctrl+F is usually enough.
Common scenarios
Finding a name in a long contract: Ctrl+F.
Locating a specific clause: Ctrl+F with the relevant keyword.
Searching financial records: Ctrl+F for amounts, vendor names, dates.
Research across many papers: extract text with PDF to Text, search in text files.
Searching scanned old documents: run OCR first, then Ctrl+F.
TL;DR
- Search in any PDF: Ctrl+F (Cmd+F on Mac)
- If search finds nothing: PDF is image-only; run PDF OCR first
- Advanced search: Adobe Reader’s Shift+Ctrl+F or Acrobat Pro
- Across many PDFs: Spotlight (Mac), Windows Search, or DocFetcher
- Extract text for analysis: PDF to Text