For editing document files, Open Office or Microsoft Office contains all the tools you need. And for working with plain text files, Notepad or WordPad are included with Windows and do the job just fine. But what if you need to edit, view or search text files which are too large for Word, Writer, Notepad or Wordpad to comfortably handle?
As an example, I frequently need to search through a text file that’s a few hundred megabytes long. Microsoft Word can do it, but it’s pretty slow. Even slower if I work with native .TXT files rather than converting them into .DOC format. Notepad gets there eventually, but it’s also too slow to be acceptable. And WordPad, while faster than Notepad, still doesn’t provide the speed I’m after. So it was time to go looking for free Windows programs that allowed me to view and search large text files, and two examples stood out from the crowd.
First, The Gun. It’s a simple Windows program that looks very much like Notepad. It’s an unbelievably small download, at just 6 KB, and runs without needing to be installed. It loaded my 250 MB text file in about 5 seconds, and a search for a string which is roughly half way down the file took around 2 seconds. Read more, and download it, at
www.movsd.com/thegun.htm. There’s also an updated version called Top Gun, at
www.movsd.com/topgun.htm.

Secondly, EditPad Lite. It’s free for non-commercial use, and again looks rather like the Windows Notepad that you’re used to. We’ve mentioned this program in the past, at www.techsupportalert.com/best-free-text-editor.htm, but I was specifically evaluating it for working with very large files. It’s a 3.1 MB download, but it does have a number of features that The Gun doesn’t. It can work with blocks of text, for example, and also convert to/from upper or lower case. It also has a “reopen” menu option. While searching seems slightly slower than The Gun (4 seconds as opposed to 2), loading and displaying my large file was instant.
So, which one will I be using from now on? Because I find the “reopen” command so useful, and because initial opening and display of a file is so quick, I’m going with EditPad Lite for now.
Comments
My work requires me to read log-files from servers on a Windows PC. Often these files are bigger than 1GiB. I just downloaded the most recent versions and tried to open a 1 GiB file with some of the tools mentioned - here are the results:
TheGun - file opening blocked (on WinXP on 3GiB RAM). I had to kill the program;
HxD - works fine but only in HEX view, which is not appropriate for me;
GigaEdit - does not recognize Linux line breaks;
EmeraldEditor - read from the file for about two minutes then fell with "Out of memory" error;
TexMaker Viewer 2010 - loads the file more than seven minutes then fired a "Not enough memory" message;
ConTEXT - displays "Error opening ..." dialog and stops the file read;
MetaPad - can not open the file;
Lister - the only working application, although as old as year 2006;
[Commercial reference removed]
I hope this information will help further readers with the proper tool selection.
My choice: http://mh-nexus.de/en/hxd/
I had trouble loading a 5.5GB binary file in a whole range of editors, including The Gun and EditPad Lite.
I found that worked, and opened the file instantly:
* HxD - http://mh-nexus.de/en/hxd/
HxD is my preferred one, since it is free, supports viewing and editing and is a stand alone. My large files are generally binary, so a hex editor is fine.
[Moderator's Note : Link and mention to commercial software removed. Please keep the discussion to freeware only.]
I have developed a UNICODE editor specifically to solve the issue of opening unlimited size files instantly by blocks of 1Mb with scrollbar to navigate effortlessly between blocks and a multithreaded search feature that brings result as they become available and allows you to go to matches instantly F3 / Shift+F3 even across blocks transparently.
WARNING:
There is no UNDO after saving so make sure you know what you are doing.
Download:
http://www.heliwave.com/GigaEdit.html
Ali Adams
No support for Cyrillic character set.
Very interesting editor but supports only Windows line breaks. If the file comes from the Linux world you're out of luck!
Hi Adam,
I had been looking for these kind of tool. Your tool is really best of all for very large files.
Thanks for sharing free of cost !
I have opened very large files (as big as 20 GB) on a unix system with a 64 bit self compiled gvim. Only downside is the memory requirement with that big a text file... :(
-Abhishek
I think that security is crucial, also, with large texts. What text editors do with bits of your text, if the text is personal, is essential and must be considered, at times. The only text editor that never uses the swap or any temporary files, to the best of my own current knowledge, is Notepad, as primitive as it is. That's got to mean an increase in security, even if features, capacity and speed are casualties, at work.
My Favourite is the free Crimson Editor for int´s fabolous "Column Mode".
http://www.crimsoneditor.com/
Inspired heavily by Crimson is GNU GPL, is the texteditor Emerald Editor
http://www.emeraldeditor.com/
Am I the only one who use Vim? http://www.vim.org/
vim an excellent viewer to 931.000 lines or so but that's it.
They don't understand nothing/. Vim is to difficult for tem. I've opened 100MB text file less then 5 second))
Elaborate. Who "don't understand nothing/."? Who is tem? Is tem even a word?
Must be me that don't understand nothing:D
What exactly are you saying?
They who cannot recognize Vim xD
Even who cannot ignore typing error too))
Ok thanks for clearing that up. No offence intended but if you have something to say about Vim or any other app, it's better to try and inform people sensibly rather than simply stating your opinion regarding people's understanding (or otherwise) of these apps. These comments simply get deleted and nobody benefits. This exchange has no value and so will be deleted.
grf
Site Moderator
Ok. You are right. I am not author of Vim. I'm very satisfacted user. Simply use Vim and don't forget about it)) My lines can be delentd without any qwestion))
Y'see this is a worthwhile comment and now i don't have to delete:D.
Thanks for that.
Have a good one.
grf
Thanks))))
No, no you're not.
TextMaker handles large text files.
TextMaker Viewer 2010 - Free document viewer for .doc, .docx, .odt, .tmd, .rtf, and more
I guess it all depends on what you define as a "very large text file". I was expecting to be able to edit, say, a 6GB logfile with TheGun, until I read its limitations:
"TheGun does not have an effective file size limit and the maximum size that can be loaded into it is determined by available memory and loading speed of the file. It can typically load files in excess of 10 megabytes with no problems."
Limited to available memory? I don't consider that a very large file.
ConTEXT will edit unlimited-size files (although it will only deal with line lengths up to 4096 characters): http://www.contexteditor.org/
Ah, the Gun - the power of plain assembly language. Thanks to Hutch and company!
Have tried a bunch of these and I still stand close to TextPad. In terms of speed it has no rival.
-pizza
I use Metapad to edit all kind of (text) files. It opens very large files as well and takes a huge 94 Kb to fit the good amount of features. No install needed. Metapad is not very new but (the newest version is from 2002) but still a very nice notepad replacement and worth trying. You can grab it at: http://liquidninja.com/metapad
jms
Wonder what the fastest big-file editor is for Linux?
PSPad editor opens extremely large files in no time and has many more features: http://www.pspad.com/en/
BTW UltraEdit opens Windows install.ISO (2.2GB) in 90 sec.
Ultraedit opens 50MB file in 10 sec.
Thegun after 30 sec... nothing.
Post new comment