Agent Ransack vs grepWin: which free search tool should you use?

Last updated: · written by the FileLocator team

Agent Ransack and grepWin are the two free tools we recommend most often for searching inside files on Windows — and people regularly pick the wrong one, because they look similar on the surface. Both scan folder trees on demand, both support regular expressions, and both cost nothing. The split is simple once you see it: Agent Ransack reads inside Office documents and PDFs and shows rich previews, but can only find; grepWin reads plain text only, but can find and replace. This comparison walks through where each one wins so you can pick in five minutes. (Full write-ups: our Agent Ransack review and grepWin review.)

Head-to-head comparison

Agent Ransack vs grepWin at a glance (free versions, June 2026)
Category Agent Ransack grepWin
Speed On-demand scan; fast on plain text, slower when parsing Office/PDF formats On-demand scan; quick raw-text reads, speed scales with file masks/excludes
Content search formats Plain text plus Word, Excel and PDF via built-in filters Plain text only (code, configs, logs, HTML, Markdown, CSV)
Regex flavor Full regex plus boolean operators (AND/OR/NOT) and a query builder Full regex (Boost-style) for both search and replacement strings
Search and replace No — search only Yes — with capture-group backreferences ($1, $2) and optional backups
Result preview Rich preview pane with highlighted hits in context Match list with surrounding text; opens files in your editor
Interface Tabbed, wizard-friendly, gentler for non-technical users Single dense window; utilitarian but fast once learned; dark mode
Price Free; FileLocator Pro is the paid sibling (Mythicsoft) Free and open source (GPL); no paid tier
Platforms Windows only Windows only (64-bit and ARM64, portable build available)

Content search: formats decide it

This is the first question to ask yourself: what kind of files am I searching? Agent Ransack ships with filters that crack open .docx, .xlsx and PDF files and search the text inside them — the formats where most office work actually lives. grepWin sees those same files as compressed or binary noise and will return nothing useful from them.

Flip it around for technical files. Both tools read code, configs and logs equally well, but grepWin's include/exclude masks (skip node_modules, only scan *.cs) are quicker to set up for repository-sized jobs. For the broader landscape of options, our guide to searching file contents on Windows covers indexed tools too.

Replace: grepWin's unanswered argument

Agent Ransack has no replace function at all — by design. grepWin not only replaces but does it with regex capture groups, so (\d{2})/(\d{2})/(\d{4}) can become $3-$2-$1 across a thousand files in one pass, with a backup of each file it modified. If your task ends with "…and then change it," the comparison is over: grepWin is the only one of the two that can edit files. Our regex file search guide has ready-made patterns for exactly these jobs.

Speed: a draw, with caveats

Neither tool builds an index — both read files fresh on every search, so raw disk speed and how much you scan matter more than which app you launch. On our reference machine (Ryzen 7, 32 GB RAM, NVMe SSD), both tore through tens of thousands of plain-text files in well under a minute in our testing, and the gap between them on identical text-only jobs was small enough to ignore.

Two asymmetries are worth knowing. Agent Ransack slows down noticeably when its Office and PDF filters are active, because unpacking those formats costs real time — that's the price of being able to search them at all. grepWin's advantage runs the other way: its include/exclude masks make it easy to skip dead weight, so a well-scoped grepWin search over a code repository often finishes faster simply because it reads less. And because neither keeps an index, neither costs you any RAM or background CPU between searches.

Preview and ease of use: Agent Ransack's home turf

Agent Ransack's preview pane shows every hit highlighted in context, so you can confirm you've found the right document without opening it — invaluable when the answer is "which of these 40 contracts mentions the clause?" Its boolean query builder also lets non-regex users compose serious searches (invoice AND NOT draft) with no syntax study. grepWin's interface assumes you know what you want; it lists matches with context but expects you to open files in your own editor.

In our testing, colleagues unfamiliar with either tool got useful results from Agent Ransack within a couple of minutes; grepWin took longer to click but was preferred by the developers once it did.

Scenario-based recommendations

  • "Find the Word/PDF document that mentions X" — Agent Ransack, without hesitation. grepWin can't see inside those formats.
  • "Change a URL/path/version string across a whole project" — grepWin. One pattern, one preview, one click, backups on.
  • "Audit logs or configs for a value, no changes needed" — either works; Agent Ransack if you want previews and boolean queries, grepWin if you're already comfortable with regex.
  • "Non-technical user needs a safe search tool" — Agent Ransack. It cannot modify files, which here is a feature.
  • "Searching the same big library every day" — honestly, neither: both re-scan from scratch every time. An indexed tool from our free file search roundup (like DocFetcher) fits better.

Choose Agent Ransack if… / Choose grepWin if…

Choose Agent Ransack if you search documents more than code: it reads Office files and PDFs, previews every hit in context, offers boolean queries alongside regex, and is gentle enough to hand to anyone. It finds; it never touches your files.

Choose grepWin if you work in plain text and need to change it: full regex search and replace with capture groups, backups before every modification, file masks for repo-scale jobs, and an open-source license with no commercial sibling upsell.

Since both are free and small, the practical answer for many people is both — Agent Ransack for finding documents, grepWin for editing text at scale. To see where each lands against the wider field, our ranked guide to the best file search software covers all ten tools we test.

Both tools are free — so is the rest of our toolkit

We ranked every no-cost search tool worth installing on Windows.

See the best free file search tools

keep exploring

Related reading

/reviews/agent-ransack/

Agent Ransack review

Our full verdict on the free content-search veteran from Mythicsoft.

/reviews/grepwin/

grepWin review

Free regex search and replace with capture groups, tested in depth.