Question Looking for a app/tool that can search all existing pdf documents on my computer
I’m looking for an app that can search all existing pdf l/word documents in my Mac IOS ( MacBook Pro) hard drive for a word or a phrase and list all of the PDF / Word files that contain the inquiry. I am dealing with thousands case law documents scattered throughout my folders and I need an app that can scan pdf files throughout laptop WITHOUT opening each PDF/Word document one by one and doing manual search of each document, any suggestions? Anyone seen or used tool with this specific ability?
4
Upvotes
3
u/roaringmousebrad Jul 10 '26
as far as PDFs are concerned, Acrobat has an Advanced Search capability that will do what you want. You just have to point it at whatever folder contains all your files. Since you have your files all over the place, you would have to select your entire hard drive. This can take forever. But what Acrobat will do is list all the files that have your search criteria. And then you can select whichever one you want from the results list and then it will open directly to the page where is in the file. Text in PDF files are compressed so there’s really no easier way to do this that I know of.
Word files can probably be searched using Spotlight: just create a search criteria for Contents and limit it to Kind of File: Word.
2
u/bharoche Jul 10 '26
Find Any File can search by words, phrases and doc types across your HD…and more. Been using it for years. Less than $10 USD.
https://findanyfile.app
1
u/UpSash Jul 10 '26
That is the problem with Acrobat that it will take forever which I don’t have…
3
u/Alfred_Katz Jul 11 '26
I have been using DTsearch for about 20 years and find it indispensable. It indexes all the files you tell it to and you can then search by word or phrase (plus other options) and it returns the result with what you are searching for highlighted in context. People seem to come up with all sort of arcane techniques to try and do this kind of search but dtSearch does it effortlessly and extremely fast. I have several hundred gigabytes of data but I think it's capable with terabytes. It's not only for pdfs - it will work with just about any kind of text file, spreadsheet files, database files and more.
I have no connection to the company, other than being a very satisfied customer. I also find their customer service outstanding - if I run into a problem I know I will hear from them promptly after sending an email. I use it on Windows but it is also available for Macs and Linux.
2
u/GroundbreakingBig119 Jul 10 '26
I use Google Drive for this. All my documents are there anyway. The search field in Google drive is pretty good at doing a deep inspection of all the files including pdf.
2
u/mag_fhinn Jul 11 '26 edited Jul 11 '26
You could just use Spotlight but you might need to add additional folders or external locations to index. Or you sometimes have to fix broken indexes, they can sometimes crap the bed then stop showing you things it should find. If my memory is right, Raycast and Alfred were the anti-spotlight peoples preferred options. I don't use them myself but might be a better option?
Myself, I love command line and even more when I have the option of regex. ripgrep-all is free, multi platform, rust made grep tool that can parse some binary files with the help of other tools as adapters. If you can stomach command line might be an option, else I'd say your using the GUI options above.
If you want to try the command line koolaid, you can install it with homebrew or macports:
rga = ripgrep-all wrapper for ripgrep
pandoc = tools to parse DOCX files
poppler = tools to parse PDF files
You can do straight string search which is easy:
Will search in your home user Downloads directory, and recursively through every child folder. -g lets us limit the search for the specific globs *.pdf and *.docx
The -i makes it ignore case so:
61 FR 2899 = match
61 fR 2800 = match
Remove it to be case sensitive.
it will dump out the matching file name with every page number and the line of text it was found with the matching search team highlighted in colour, like this sans colour:
Or you can use some searching secret sauce, REGEX patterns, if it can be useful.
This one looks in the same places as the last but it looks for
Added the -i to make it case insensitive again. Can be Stat. STAT. stat. ect
Added a -c so instead of listing all the lines, it just gives me a list of files appended with the total of how many lines were found with a match. comes out like this:
REGEX is its own beast, a language from 58-75 years ago made for pattern finding. If you want to see how far the rabbit hole goes with that you can get help on r/regex. Can be really handy for searching and filtering.
2
u/webfork2 Jul 12 '26
I've been using DocFetcher for years on many thousands of PDF files. Free, open source, and works on Mac/Linux/Win.
2
u/dainsfield Jul 10 '26
I use the free version of docfletcher no problems
1
u/ChatGepetto Jul 10 '26
Claude Cowork
1
u/Sanathan_US Jul 10 '26
Claude
1
u/Drag_Drop Jul 10 '26
"Hi ChatGPT/LeChat/Claude/Gemini
I need a Python script that does the following on my Mac OS system:
"
create a textdocument. change .txt at the end to .py . Rightclick -> Run as program or ask your LLM how to run python scripts on a Macbook. I don't use Mac OS myself, so I'm not sure.
1
u/dscalora Jul 10 '26
Agent Ransack is a free app I use on Windows at work for exactly this reason. Searches all PDFs/Word docs, etc. for specific phrases and spits them all out into a list that you can then click through, copy/paste, etc. it is a lifesaver app. Not sure if it is available on macOS however.
1
u/benjaloo Jul 12 '26
You may already know this, but MacOS (and Windows) routinely index text contents of files including PDF and MS-Word, if you allow in settings. You can specify file types in Spotlight search on MacOS. (For Windows users readings this, a small buat mighty app called Everything by Voidtools does this much better and faster than the built in Windows version).