Quick Start (No Installation Needed)
Download the Standalone .EXE
Open the Releases page and download WhereIsMyPdf-*-win-x64-standalone.exe (no .NET runtime or installer required).
Scan or Drag & Drop Folders
Double-click to launch, click Scan Folder (or press Ctrl+O), or drag & drop any folder or PDF file directly onto the window.
Search in Milliseconds
Type keywords, exact phrases, or Vietnamese text without accents. Every hit shows the exact page number and yellow-highlighted preview.
Your search index is stored locally in data/where-is-my-pdf.db beside the executable (or %LocalAppData%\WhereIsMyPdf if placed inside a read-only folder like Program Files). Nothing ever leaves your computer.
Why Where Is My PDF?
Windows Search frequently skips PDF content or returns slow, incomplete results, while Java-based search tools require heavy runtimes. Where Is My PDF extracts every page with PdfPig (Apache-2.0) into a local SQLite WAL + FTS5 index for sub-10ms BM25-ranked queries.
| Feature | Where Is My PDF | Windows Search | DocFetcher | Adobe Acrobat Search |
|---|---|---|---|---|
Single portable .exe (no install) |
Yes | Built-in | Needs Java Runtime | Heavy installer |
| Sub-10ms SQLite FTS5 full-text search | Yes | Slow / flaky on PDFs | Fast (Lucene) | Slow (scans live) |
| Exact page number + highlighted preview | Yes | No | Yes | Partial |
Diacritic-insensitive search (hoa don → Hóa đơn) |
Yes | Partial | Limited | No |
| Detects scanned / image-only PDFs | Yes | No | No | No |
| Incremental re-indexing (skips unchanged files) | Yes | Background service | Manual | Re-reads every time |
| 100% offline, zero telemetry, MIT | Yes | OS telemetry | EPL | Proprietary |
Search Syntax Cheatsheet
The query parser (FtsQueryParser) safely translates user input into SQLite FTS5 expressions, supporting prefix matching, exact phrases, boolean operators, diacritic-insensitive Unicode matching, and file name search.
| Query Example | What It Matches |
|---|---|
invoice 2026 |
Pages containing both invoice* and 2026* (prefix-enabled AND). |
"annual financial report" |
Pages containing the exact quoted phrase. |
contract OR agreement |
Pages containing either contract* or agreement*. |
invoice NOT draft |
Pages containing invoice* while excluding draft*. |
hoa don |
Diacritic-insensitive match for Hóa đơn (also matches resume → résumé). |
2026-Q4.pdf |
Matches PDF file names as well as page text. |
Daily Workflow & Keyboard Shortcuts
- Watched Folders & Incremental Sync: Manage multiple indexed directories via the Folders dialog, filter search results by folder, and press
F5to re-index new or modified PDFs while automatically pruning deleted files. - Scanned PDF Detection: Files with zero extractable text are flagged automatically so you know which documents need OCR (for example with document-to-markdown).
- One-Click Actions: Double-click any match (or press
Enter) to open the PDF in your default viewer; right-click to Show in Explorer, copy the full file path, copy the matched snippet, or Export to CSV. - Bilingual UI: Switch between English and Tiếng Việt immediately from the Language menu without restarting.
| Shortcut | Action |
|---|---|
Ctrl+F / Ctrl+L | Focus the search bar |
Ctrl+O | Open folder picker to scan a PDF directory |
F5 | Re-index all watched folders & prune missing files |
Enter / Double-click | Open the selected PDF in your default viewer |
F1 | Open the built-in search syntax reference |
Architecture Overview
where-is-my-pdf/
├── find-my-pdf.sln
├── source/
│ ├── find_my_pdf.csproj # .NET 8 WinForms desktop app (WhereIsMyPdf.exe)
│ ├── MainForm.cs # Search UI, split preview, drag-drop, CSV export
│ ├── FoldersDialog.cs # Watched folders manager
│ ├── Localization.cs # Built-in English & Vietnamese UI strings
│ └── WhereIsMyPdf.Core/ # Platform-independent .NET 8 core library
│ └── Services/
│ ├── PdfTextExtractor.cs # PdfPig reading-order page text extractor
│ ├── SearchIndexStore.cs # SQLite WAL + FTS5 (unicode61) & BM25 ranking
│ ├── FtsQueryParser.cs # Safe FTS5 query builder & highlight extractor
│ ├── FolderIndexer.cs # Async incremental directory & file indexer
│ └── AppSettings.cs # Portable data directory & JSON settings
└── tests/
└── WhereIsMyPdf.Tests/ # xUnit unit & end-to-end PDF indexing tests
Build From Source
Requires Windows 10/11 (64-bit) and the .NET 8 SDK.
# Clone the repository
git clone https://github.com/sinhsac/where-is-my-pdf.git
cd where-is-my-pdf
# Build and run the xUnit test suite
dotnet build find-my-pdf.sln -c Release
dotnet test tests/WhereIsMyPdf.Tests/WhereIsMyPdf.Tests.csproj -c Release
# Run the desktop application
dotnet run --project source/find_my_pdf.csproj -c Release
# Publish a standalone zero-install single-file .exe
dotnet publish source/find_my_pdf.csproj -c Release -r win-x64 --self-contained true `
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:EnableCompressionInSingleFile=true
Troubleshooting
- Windows SmartScreen prompt: Because the community `.exe` is not EV code-signed, click More info → Run anyway, or build locally with the PowerShell commands above.
- Crash diagnostics: If the app ever hits an unexpected UI error, check
data/crash.log(or%LocalAppData%\WhereIsMyPdf\crash.log) and attach it to a GitHub issue.