Search text inside a PDF and locate the page number
This only searches text that truly exists in the PDF — a scanned (image-based) PDF has no text layer and can't be searched. Everything is processed locally in your browser; your file is never uploaded.
This tool searches a PDF for a keyword and tells you which pages contain it, how many times it appears on each of those pages, and a short snippet of the surrounding text. It first reads the text layer of the whole file, then matches as you type. It is therefore only useful for PDFs that contain real text; scanned or image-only PDFs have no text layer and return nothing. It is a lightweight way to find out which page to look at. It does not highlight the keyword in the original file, and it does not support regular expressions or combining several keywords.
The following was produced by running the same matching logic as the page on a three-page test file we generated. Page 1 contains Invoice Summary Total due: 120 USD. Please pay the invoice. Page 2 contains Appendix No invoice here? Invoice again. Page 3 is blank. Searching for invoice reported 2 pages matched. Page 1 showed 2 occurrences with the snippet Invoice Summary Total due: 120 USD. P… and page 2 showed 2 occurrences with the snippet Appendix No invoice here? Invoice again. The blank page 3 was not listed. Notice that matching ignores case, so both Invoice and invoice were counted.
There are three common causes. The file may really be a scanned image. The word may be split into several fragments inside the PDF, so joining them adds a space in the middle. Or the characters you see may differ from those stored in the file, for example because of a special font or ligatures. Try a shorter keyword, or search for just part of the word.
It counts how many times the keyword, ignoring case, appears in all the text of that page. It counts string matches, not words. Searching for art, for example, also counts the art inside start and party. Overlapping matches are counted as the regular expression engine scans, which normally means one after another without overlap.
Ctrl+F in a browser or viewer highlights matches directly on the page. This tool lists every matching page and its count at once, which helps when you need to find the relevant pages in a long file. After you have the page numbers, you will still need to search again in your viewer if you want highlighting.
The file you choose is read in your browser and its text is parsed by the bundled pdf.js component. The page contains no code that uploads the file or your search terms. The extracted text and your keyword live only in the memory of the current page and are cleared when you refresh or close it.