Is there a free way to perform a text search in PDF and XLS (Excel spreadsheet) files?
I want to be able to find a specific word in these type of files.
Is there a free tool for that?
|
|
|||
|
migrated from stackoverflow.com |
|
|
|
There are several open source tools that convert binary files like PDF or XLS to plain text. Then use For instance:
Some tools:
If you are on Windows, I suggest you install Cygwin and add the |
|||
|
|
|
|
The free viewer It is also available for Windows. See http://gnuwin32.sourceforge.net/packages/xpdf.htm |
||
|
|
|
|
I knew you can use poi to open xls file. |
||
|
|
|
|
Total Commander has a plugin called TextSearch that can search through almost anything you can throw at it. |
||
|
|
|
|
Do you want to find files that contain your search terms or every instance of the search terms in each file? If you're running Windows XP (or later, I assume), you can simply use Windows search to do the former. Go to the directory where your files are and hit Ctrl-F. Put what you're searching for in the Containing Text box, and away you go. Excel and PDF files that contain your search terms will be included in the results. To search within each file, just open it and hit Ctrl-F. Both Excel and all PDF readers include text searching within the document you're looking at. |
||
|
|
|
|
For searching XLS files and PDF files with text available, you can search with local search engines like: Note that you will not be able to search scanned PDFs as the text is not embedded in the PDF. However it is possible to use Optical Character Recognition (OCR) software to embed text into PDFs. |
||
|
|