PDF search not finding text? Check accents and hyphens

PDF search not finding text you can see? Check accents, ligatures, line-break hyphens, OCR and search settings, then review each name before you redact.

When PDF search is not finding text you can see, the file usually stores that text differently from what you typed: the word is part of an image, the accent or hyphen is a different character, a line break splits the word, or a search setting excludes it. Test a plain visible word on the same page first, then copy the missing word from the page into the search box; the two results tell you which cause to check.

This matters most just before redaction. A name that search cannot find is a name you can miss, so a zero-result search is a reason to inspect the page, not proof that the person is absent. The general steps to redact a PDF and check the saved copy start from that list of occurrences, and the guide to searching and redacting every occurrence of a name in a PDF builds the variant list this article helps you complete.

PDFRedactLab prepares a sharing copy of your PDF: it spots sensitive data in the text, in scans with OCR and in hidden information, you review every marked zone, and it exports a redacted copy. See how the PDFRedactLab review and export steps work.

Why does PDF search miss a word you can see?

PDF search compares your query with the characters stored in the file. What you see is drawn by fonts and images, and the two do not always match. The table lists the usual causes, the quick test for each and what the test shows.

SymptomLikely causeQuick testWhat the test shows
No word on the page can be selected or foundThe page is an image (scan or flattened export)Try to select one ordinary wordWithout selectable text, search covers nothing on this page
Ordinary words are found, Zoë is notAccent stored differently, or an accent settingPaste the name copied from the page into the search boxA match means the typed and stored characters differ
Martin is not found where the line shows Mar- / tinLine-break hyphenationSearch Mar and tin separatelyA fragment hit locates the word; read it in context
Anne-Marie is not found, Anne isHyphen stored as another dash characterSearch each part of the nameThe parts confirm the location, not the stored hyphen
O'Brien is not found, Brien isStraight apostrophe in the query, curly one in the fileSearch the surname without the apostropheSame character mismatch, different symbol
Copied text comes out as random symbolsFont encoding without a usable text mappingPaste a copied line into a plain noteSearch cannot rely on this text; review the page visually
Found in one reader, not in anotherDifferent matching rules between PDF readersRepeat one query in a second readerThe difference comes from the reader’s matching rules, not only from the file

Run a control search first

Pick a plain word that you can see near the missing name, such as “Inspection” or “Invoice”. If the control word is found, the page has searchable text and the problem is specific to the name. If the control word is not found either, treat the page as unsearchable and review it visually; changing the name query will not help.

Then select the missing name and copy it. Paste it into the search box instead of typing it. Pasted characters come from the file itself, so a match after pasting points to a character difference (accent, hyphen, apostrophe, ligature) rather than a missing word.

Why does PDF search not find accented characters?

The Unicode standard allows the same accented letter to be stored in two ways: as one precomposed character (é) or as a base letter followed by a combining accent (e + ´). The Unicode normalization report treats both forms as canonically equivalent, but not every PDF reader normalizes them before comparing. If the file uses one form and your keyboard produces the other, the search can return nothing even though the screen shows the same letter.

Signs that the accent is stored as two characters: the copied name has one character more than expected in a plain note, or a backspace removes only the accent. What to try, in order:

  1. Paste the name copied from the page into the search box.
  2. Search the unaccented spelling (Zoe) and the name without the accented letter (Zo).
  3. If your PDF reader offers an accent-sensitive or diacritics option, run the same query with it on and off.
  4. Check capital letters separately: a heading in capitals (ZOË MARTIN) can behave differently from the same name in body text in some readers.

Keep the spelling in the document as it is. An unaccented query is a diagnostic tool, not a correction to make in the file.

Ligatures, apostrophes and other look-alike characters

Some fonts draw “fi”, “fl” or “ffi” as a single glyph. A well-made PDF maps that glyph back to separate letters; a poorly made one stores the ligature character, and a search for Fiona or Griffin then misses. The Unicode report notes that the ligature only splits into its letters under compatibility normalization, which a search may not apply. Search a fragment that avoids the ligature (ona, Grif) and read each result.

The same problem appears with curly and straight apostrophes (O’Brien and O'Brien), with a non-breaking space between first name and surname, and with the German sharp s (ß) when a reader does not match it with ss. Search the part of the name that contains none of these characters.

How to search for a hyphenated name in a PDF

There are two different hyphens to handle.

  • A hyphen added at a line break. The layout split Martin into Mar- at the end of one line and tin at the start of the next. Some PDF readers join the two parts, others store a hyphen and a line break between them, so the full name fails. Search Mar and tin, open each result and check that it belongs to the name.
  • A hyphen that is part of the name. Anne-Marie or Smith-Jones may be stored with a regular hyphen, a non-breaking hyphen or a dash. Your keyboard types only one of these. Search each part (Anne, Marie) and the full form, then compare.

A line break without a hyphen causes the same failure for a two-word name: Zoë at the end of one line and Martin on the next can defeat a search for the full name. Search the surname alone. Short fragments return more unrelated matches (Mar also finds “March” and “market”), so read every result in context before you mark anything.

Scanned pages and OCR text

On a scanned page, search only reads the OCR text layer added behind the image, and that layer can contain a misread name (Zoé, Zo8, Marlin) while the image shows the correct one. The W3C technique on OCR recommends checking that each recognized page was converted correctly, which is exactly the check a name needs. Follow the guide to redacting a scanned PDF and its OCR text for these pages, and keep signatures, stamps and handwriting in a visual review: OCR rarely covers them reliably.

Check your search settings, one change at a time

Whole-word matching can exclude Martin's or a name glued to punctuation. Case-sensitive matching can exclude MARTIN in a header. Some readers search only the current page, the visible document in a portfolio, or skip comments and bookmarks. Text order in the file can also differ from the order on screen, so a phrase spanning two columns may not match; search single words.

Change one setting, repeat the same query on the same known occurrence, and note what produced the match. If you change two things at once, you no longer know which one mattered, and you cannot repeat the result on the next file.

Example: one name, four pages, three search results

Fictional example. A four-page report mentions Zoë Martin:

  • Page 1, cover: the name in body text.
  • Page 2: Mar- at the end of a line, tin on the next.
  • Page 3: a scanned signed note with the name in the signature block.
  • Page 4: ZOË MARTIN in the footer.

A typed search for Zoë Martin finds page 1 only. Pasting the name copied from page 1 adds page 4. A search for Mar adds page 2, along with an unrelated “March” on page 3, which you read and leave. The signature on page 3 never appears in any result: the OCR layer reads it as Zo Marlin. Three searches found three of four occurrences, and only the page review found the fourth.

Record the result per location: found by search and reviewed, found by visual review only, or unresolved if a page is too faint to read. An unresolved page needs a clearer authorized copy, not a guess.

A fixed search is not a redaction

Finding every occurrence is the first half of the job. Once the occurrences are marked, apply redaction, save a new copy and check that copy: search it for each variant you used, inspect the four locations, and make sure the words you kept around the name still read correctly. Zero results on the saved copy show that the searchable text no longer contains those exact forms; they do not cover images, scans with a poor OCR layer or hidden information. To test whether a black box actually removed the text underneath, use the checks in how to check that a redacted PDF cannot be unredacted.

To see a review of marked zones on a sample document, open the fictional redaction example on the home page.

Frequently asked questions

Why can't PDF search find text I can see on the page?

Search reads the text stored in the file, not the picture on screen. The word may be part of an image or a scan without OCR text, stored with different characters (an accent, a ligature, a special hyphen or apostrophe), split across two lines, or excluded by a whole-word, case or accent setting.

Why does PDF search not find accented characters?

An accented letter can be stored as one character or as a base letter plus a separate accent mark. If the file and your query use different forms, some PDF readers find no match. Copy the name from the page and paste it into the search box, then try the unaccented spelling and a short fragment.

How do I search for a hyphenated word in a PDF?

Search each part separately as well as the full form. A hyphen added at a line break may not be joined by the reader, and a hyphen inside a name such as Anne-Marie may be stored as a different dash character than the one you type.

Does a search with zero results mean a name is not in the PDF?

No. It only means the searchable text does not contain that exact sequence of characters under the current settings. Names in images, badly recognized scans, signatures and hidden information still need a visual or separate review.

Should I remove the accents from the document so search works?

No. Keep the document's spelling and change the query instead: try variants, fragments and pasted characters. Editing the text to make search work changes the content you are about to share.

A thoughtful last step before sharing a PDF.

See the fictional review example

Request access to PDFRedactLab

Leave your professional email to get access to PDFRedactLab.

Submitting sends your email and visit context to BankStatementLab’s infrastructure for PDFRedactLab. No account, payment or automatic email is triggered. Privacy.