Fast, keyboard-friendly file search for Windows.
Search inside files, find files by name with wildcards or regex, and see the results on a treemap. No index, no background service, results stream in as they are found.
Spelunker is a free, open-source desktop file search tool for Windows 10 and 11. It is a "find in files" and grep-style GUI: type a word, phrase, or regular expression and it searches the contents of every file under the folders or drives you choose, or match file names with * and ? wildcards, and filter by size and date. Matches show in a built-in preview, and a treemap of the results shows where the hits are and how much space they take. It is written in Rust with a Tauri 2 shell and a Svelte 5 interface, and it reads files directly, so there is nothing to index first.
Get a package from the latest release:
| Package | For |
|---|---|
Spelunker_<version>_x64-setup.exe |
A per-user install with no administrator prompt. Registers the Explorer right-click entries. |
Spelunker_<version>_x64_en-US.msi |
A per-machine install. Registers the Explorer right-click entries for all users. |
Spelunker-<version>-portable.exe |
No install. |
The packages are not code-signed, so Windows SmartScreen may warn on first run. To build them yourself, see Build.
The portable exe needs no installer. On its first run from a normal folder it adds the Explorer entries for the current user, and it repairs them if the file moves. Turn that off under Settings > Files > Windows Explorer. Builds run straight from a cargo target folder never register themselves.
- It searches file contents, not just names. Literal text, whole words, or regex, across whole drives, in the encodings Windows files actually use.
- It is fast without an index. A parallel walk and the same matching engine as ripgrep, streaming into a list that stays smooth past 100,000 rows. Nothing runs in the background between searches.
- It shows where the results are. The results map is a treemap of the matched files, sized by file size or match count and colored by type or age, so a search over a drive doubles as a picture of what is taking the space.
- It behaves like a Windows program. The real Explorer context menu on results, drag files out to any program, "Search with Spelunker" when you right-click a folder or drive, and dates in your regional format.
- It is keyboard first and themed properly. Every pane works without a mouse, and 12 themes each have a designed light and dark variant.
Spelunker is built for the two searches done every day: text inside files and file names with wildcards. There is no index and no background service. It walks the folders you point it at, in parallel, and shows each hit the moment it is found.
- Instant feel. Results stream into a virtualized list that stays smooth past 100,000 rows.
- Content search. Literal, whole word, match case, or regex (including across lines). Reads UTF-8, UTF-8 with BOM, UTF-16 LE/BE, and falls back to Windows-1252. Skips binary files unless asked.
- Name search.
*and?wildcards, several patterns separated by;or,, and exclusions with a leading-(for example*.log; -*.min.js). A plain word matches anywhere in the name. - Filters when needed. Size, modified date, created date, and multi-line regex, in a panel that stays closed until you need it, with a badge counting what is active. A
.*chip beside each field switches the name or the text to a regular expression. - Search everywhere. Pick any folders, or choose This PC in the Browse dialog or the Look in list to search every local fixed drive (it shows as
This PC (C:, D:), and you can edit the letters). - Built-in preview. Matching lines with context, a full scrollable view of the file with next/previous hit, and rendered previews for images, PDFs, audio, and video. The preview is resizable and collapsible.
- Results map. A treemap below the results shows where your matches are: rectangle area is file size or match count, color is file type or age. It fills in as the search runs, click a rectangle to select the file, Ctrl+click to zoom into its folder, and
Ctrl+Shift+Mhides it. Tiles are shaded like lit cushions, with a Flat option in Settings. - Select many, drag them out. Select results the way you do in File Explorer (Ctrl+click, Shift+click, Shift with the arrow keys, Ctrl+A), see the count and total size in the status bar, and drag the selection out of the window into Explorer and other programs that accept files. Right-click a selection (up to 5,000 files) for the Windows context menu of every selected file.
- Real Windows integration. Right-click a result for the genuine Windows context menu, with Spelunker's own entries on top (open containing folder, copy path, copy name, copy matching lines, or copy paths and copy names for several files). Right-click a folder, a drive, or This PC in Explorer and choose Search with Spelunker.
- Your columns, your way. Resize, reorder, show or hide columns, and let them fill the window automatically. Dates follow your Windows regional format.
- 12 themes, each with light and dark. Designed separately, not inverted, and the default Slate follows Windows. Pick one from the toolbar or on the Appearance tab of Settings. The match highlight follows each theme's accent.
- Settings in three tabs. Files holds the editor, preview and Explorer options, Appearance the mode and theme, and About the version, license, a button to copy the version details, and the update check. Reset everything to defaults from the footer (saved searches are kept).
- Update check. Check for updates on the About tab asks GitHub for the newest release, and a banner under the toolbar announces a newer one with a View release button. Dismissing it hides that version only. The app also checks once a day as it starts, and you can turn that off.
- Keyboard first. Every pane, column, and splitter works without a mouse. Press
F1in the app for the full list, shown in a dialog grouped by what you are doing.
Below the results list, a treemap draws one rectangle per matched file, grouped by folder. Rectangle area is file size or match count, and color is file type or file age, your choice. It fills in while the search runs, so a name search like * over a drive becomes a live disk usage map of that drive, and a content search shows at a glance which folders hold most of the hits.
- Click a rectangle to select that file in the list and the preview.
- Ctrl+click a rectangle to zoom into its folder. Press
Backspaceor the Zoom out button to come back. Ctrl+Shift+Mshows or hides the map. Its height is adjustable with the splitter above it.- Tiles are shaded like lit cushions by default, with a Flat option in Settings.
- Type a Name pattern, Containing text, or both. Leaving the text empty runs a fast name-only search.
- Choose Look in folders, or press the This PC button to search all drives.
- Press
Enter. PressEscto stop. - Select a result to see it in the preview. Use
F3andShift+F3to step through matches.
Name, content, and filters combine with AND.
| Shortcut | Action |
|---|---|
Enter / Esc |
Start / stop the search |
Ctrl+N |
Go to Name |
Ctrl+T or Ctrl+F |
Go to Containing text |
Ctrl+L |
Go to Look in |
Up / Down, Home / End, Page Up / Page Down |
Move through the results |
Shift + arrows or click |
Select a range |
Ctrl + click |
Add or remove a result |
Ctrl + arrows, then Ctrl+Space |
Move without selecting, then toggle |
Ctrl+A in the results |
Select every result |
Enter on a result |
Open the current file |
Menu key or Shift+F10 |
Context menu for the selected results |
F3 / Shift+F3 |
Next / previous match in the preview |
Ctrl+E |
Export results (CSV or plain text) |
F6 / Shift+F6 |
Next / previous pane |
Ctrl+Shift+P |
Show or hide the preview |
Ctrl+Shift+M |
Show or hide the results map |
Ctrl+, |
Settings |
F1 |
All shortcuts |
Launching with folders opens Spelunker looking in them. This PC (or All drives) means every local fixed drive.
Spelunker.exe "D:\Projects" "E:\Notes"
Spelunker.exe "This PC"A second launch hands its folders to the window that is already open.
How do I search inside files on Windows? Type the text in Containing text, pick a folder or This PC, and press Enter. Every match shows its line in the preview. Leave Name empty to look in every file, or set it to a pattern such as *.txt; *.md to narrow the search.
Does it support regular expressions? Yes. Press the .* chip beside Containing text for a content regex (Rust regex syntax, with a filters panel option to match across lines), or the .* chip beside Name to match file names with a regex instead of wildcards.
How are wildcards written? * matches any run of characters and ? matches one. Separate several patterns with ; or ,, and put - in front of a pattern to exclude it: *.log; -*.min.js. A plain word with no wildcard matches anywhere in the name.
Does it index my drive? No. Each search reads the files directly, in parallel, and nothing runs between searches. There is no database to build or keep fresh. By default it skips .git, node_modules, $RECYCLE.BIN, and System Volume Information, and hidden and system files unless you turn Hidden on.
Which file encodings can it search? UTF-8 with or without a BOM, UTF-16 LE and BE, and Windows-1252 as the fallback. Binary files are skipped unless Binary files is on. Text inside Office documents, PDFs, and archives is not searched (the preview can still show PDFs and images).
Can I use it as a disk usage map? Yes. Search a drive with the name * and the results map draws a treemap of every file, sized by file size and colored by type or age.
Can I save a search or export the results? Yes. Saved searches live in a menu on the search bar, and Ctrl+E exports the result list as CSV or plain text.
Does it send anything over the network? Only the update check, which asks GitHub for the newest release number. See Security notes.
You need Windows 10 or 11, a stable Rust toolchain, Node.js with npm, and the WebView2 runtime (already present on current Windows).
npm install
npm run tauri dev # the real app with hot reload
npm run tauri build # NSIS setup and MSI in target/release/bundleTo work on the interface alone, in a plain browser with fake data:
npm run dev # http://localhost:5173Typing many as the search text streams 100,000 fake rows for visual checks, and deep streams 100,000 rows in a deep, uneven folder tree for the results map.
cargo test # search engine and CLI
cargo test --workspace # also builds and tests the Tauri shell
cargo clippy --workspace --all-targets # kept warning-free
npm test # frontend logic (Vitest)
npm run check # svelte-check: types and accessibilityThe screenshot above is made by node tools/e2e/screenshot.mjs, from an invented documents folder in the browser build, so no real file name is in it.
The tools/e2e scripts drive the real app window over the Chrome DevTools protocol. Read tools/e2e/README.md first, because some scripts open native Windows menus.
A command-line harness runs the same engine without the UI:
cargo run -p spelunker-cli -- -l <folder> -n "*.rs" -t "text" [-c] [-w] [-r]| Part | Role |
|---|---|
crates/spelunker-core |
The search engine, as a library. Parallel walk with ignore, matching and binary detection with grep-searcher and grep-regex, encodings with encoding_rs. |
crates/spelunker-cli |
A test harness binary over the engine. |
src-tauri |
The Tauri 2 shell: commands, a 50 ms event batcher that keeps the UI responsive, the native Windows context menu, and Explorer integration. |
src |
The Svelte 5 and TypeScript interface. Pure logic sits in src/lib/*.ts with tests beside it. |
The interface never touches the disk. All file access lives in spelunker-core.
The one thing Spelunker asks the network for is the newest release number. The backend (src-tauri/src/updates.rs) does it over HTTPS to one fixed GitHub address, when you press Check for updates on the About tab or, unless you turn it off there, once a day as the app starts. The page cannot choose the address, the reply is size and time limited, and View release opens only a page of this project's releases. Nothing about you or your files is sent. The page shown in the window is treated as untrusted, so the backend does not simply do what it asks:
- Commands that take a path (preview, open, reveal in Explorer, the system menu, drag out, open in editor) work only on files inside the folders of the current search.
- Saving an export shows the native save dialog from the backend, and the page never names the file it writes.
- A custom editor command is not run until you approve it in a native dialog the first time. The built-in editors have their command lines in the app.
- A strict Content Security Policy limits what the page can load, and a file named
.pdfis shown only if it begins with the PDF header.
The installers are unsigned.
Released under the MIT License. The dependencies it builds on are permissively licensed too (MIT, Apache-2.0, or Unlicense).

