How to Search Inside a PDF on Mac

Find text in a PDF on Mac using Preview, Spotlight, and Finder. Troubleshoot when search does not work on scanned documents.

To search inside a PDF on Mac, open it in Preview and press Command+F. Type your search term and Preview highlights every match, jumping to the first occurrence. Use the arrow buttons (or Return and Shift+Return) to move between matches. If search finds nothing in a document that clearly contains the text, the PDF is likely a scan that needs OCR.

Method 1: Search with Preview (free)

  1. Open the PDF in Preview
  2. Press Command+F to open the search bar
  3. Type the word or phrase you are looking for
  4. Preview highlights all matches on the current page and shows a count
  5. Press Return to jump to the next match, Shift+Return for the previous match

The search bar also appears in the sidebar when you type. It shows a list of every match with surrounding context, grouped by page. Click any result to jump directly to that location.

Method 2: Search with Spotlight (system-wide)

Spotlight indexes the text content of PDFs on your Mac. Press Command+Space, type your search term, and Spotlight shows matching PDFs alongside other files. This searches across all PDFs on your system — useful when you know the content but not which file it is in.

For Spotlight to find PDF content, the PDF must have a text layer. Scanned PDFs without OCR do not appear in Spotlight text searches.

Method 3: Search with Finder

Open Finder, navigate to a folder, and use the search bar (Command+F). Finder searches file names by default. To search file contents, click the "Contents" option that appears in the dropdown. Finder uses the same Spotlight index, so the same OCR requirement applies.

Why search does not work on some PDFs

Two common reasons:

  • Scanned PDF (image-only): The PDF contains photographs of pages, not selectable text. Command+F has nothing to search. Solution: run OCR to add a text layer.
  • Copy-protected PDF: Some PDFs restrict text selection and search through permissions. Solution: enter the owner password to remove restrictions, or use the print-to-PDF workaround.

Search tips

  • Search is case-insensitive in Preview by default. "Invoice" matches "invoice" and "INVOICE."
  • Search exact phrases by typing the full phrase. Preview matches the exact string.
  • Use the sidebar results for long documents. The contextual list is faster than jumping through matches one by one.
  • Search across multiple PDFs by using Spotlight or Finder rather than opening each file individually.

Frequently asked questions

Can I search and replace text in a PDF?

Preview does not support search-and-replace. You need a PDF editor that supports text editing. In PDF Opus, you can edit text directly — find the text, click on it, and change it.

Can I search for text in a scanned PDF?

Not until you run OCR. A scanned PDF is just images. Run OCR with PDF Opus or Acrobat to create a text layer, then search normally.

Why does Spotlight not find my PDF?

Three possible reasons: the PDF is a scan without OCR, the file is in a location Spotlight does not index (like external drives excluded from Spotlight), or the Spotlight index needs rebuilding (System Settings → Spotlight → Privacy → add then remove the drive).