Free Text Search and Replace Utilities
Free search and replace software to help you efficiently find and replace text in files
Free Text Search and Replace Utilities
This page lists software that will allow you to easily and efficiently search and replace text or blocks of text in a set of files or folders/directories. Most if not all of the programs will allow you to search and replace literal text, while others will also allow you to specify regular expressions to find and replace the text; that is, you can ask the software to replace, say, every instance of "happy" that occurs immediately before "birthday" with "joyous" (or whatever).
Note that this page does not list commercial software like PowerGrep that provides a large set of facilities (including regular expressions), convenience, speed, safety (you can preview the replacement before it happens to make sure it does what you want, you can automatically create backup files if you wish and you can also undo the replacements if you realise you've made an error), the ability to search Word documents, Excel documents, PDF files, compressed archives (like zip files), text and binary files, etc. It's expensive, but in my opinion, if you work with text extensively as programmers and webmasters tend to do, the productivity gain is enough to make it worth the price.
Free Text Search and Replace Software
- FAR: Find And Replace
FAR is a search and replace program that supports regular expressions. You need to have the Java runtime environment installed on your system to use it. A corollary to this is that it can run on any system that has Java installed.
GrepWin is a free search and replace Windows Explorer shell extension. It adds a shell context menu to Explorer, allowing you to right click a folder, and specify regular expressions (or literal text) to search and replace in the files in that folder. It works on versions of Windows later than XP, that is, Vista, 7, 8, 8.1 and so on.
- InfoRapid Search and Replace
InfoRapid is a Windows utility that allows you to search and replace text within ASCII text files, PDF files (with the help of a third party program), HTML files, RTF files and even Microsoft Office files. It also supports regular expressions for pattern matching. The program cannot be used on a commercially used computer.
- Search and Replace
This program allows you to search and replace literal text or blocks of text in files matching a particular filter. It also has the ability to replace text begining with a particular string (say, <title>) and ending with another string (say </title>) with a different text. It requires you to have installed the Microsoft .NET framework, and thus to be running Windows.
TextRep is a simple text search and replace utility that allows you to replace a one-lined literal text with another piece of literal text in files that you select using their GUI. It is a Windows program. (Note: you'll have to scroll down their page to find the program.)
- Agent Ransack
Agent Ransack allows you to search for text using regular expressions. This is a Windows program. Note that you cannot replace text with this utility.
AstroGrep is a Windows GUI version of the Unix grep that allows you to search in files using regular expressions. Note that it does not have replace facilities. Unlike grep however, it includes a GUI facility that allows you to print various aspects of your search results. AstroGrep is open source.
TextCrawler is lets you search and replace strings of text which may, at your option, contain regular expressions across ANSI text files on your system. It has a preview pane that shows you the files that will be affected by a replacement operation. This program works on Windows and requires the .NET Framework. NOTE: Only the non-Pro version is free, and it's free only for non-commercial use.
- GNU sed
The venerable sed utility is a command line utility to search and replace text from a set of files using regular expressions. It has been ported to a huge variety of operating systems. The link above points to the source code.
Can't Find What You're Looking For?
Search the site using Google.
How to Link to This Page
It will appear on your page as: