Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best, free, grep application for use with Windows instead of Linux?

share|improve this question

migrated from Aug 9 '10 at 17:46

This question came from our site for professional and enthusiast programmers.

findstr is an alternative and comes with windows. – Moron Aug 9 '10 at 17:45
possible duplicate of Unicode grep for Windows – akira Apr 6 '12 at 20:12

You could also download Cygwin, which has a full Unix-style toolkit, including grep, AWK, and all the servers.

share|improve this answer
I understand that all of Cygwin can sound intimidatingly heavyweight to some Windows developers, but I have to say: If you aren't using this set of unixy command-line tools, even on your Windows projects, you are stunting your development as a programmer. The reason they are 40 years old but still thriving is that they are simply the best tool for many jobs, and smart people will still be using them to solve difficult problems 40 years from now. How many other technologies could remotely come close to claiming the same thing? – Jonathan Hartley Jun 8 '12 at 12:14

Either use Grep for Windows or the findstr command suggested by Moron.

share|improve this answer has a bunch of GNU tools ported to Windows.

share|improve this answer

Newer versions of Windows include a built-in grep, called findstr. It'll do just about whatever you need. For example

C:\>findstr /I windows c:\boot.ini
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professio
nal" /fastdetect /NOEXECUTE=ALWAYSON

For more info, just run findstr /? on a command prompt.

share|improve this answer

I know this has been dormant, but I don't see very many options listed. I just came across AstroGrep referenced by twlichty at How to search inside files... and it works fine for me. As to "best", I think that is subjective, but I prefer command line grep and this is a GUI tool, but my preference is not enough to keep me looking...

share|improve this answer

FART provides some of the functionality of grep, depends on your requirements but I recommend you take a look:

share|improve this answer
How are we supposed to take that seriously? – Peter Mortensen Apr 6 '12 at 22:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .