Split Large Text Files - gHacks Tech News

Split Large Text Files

I just downloaded a very large text file with more than 70K lines of text, and had troubles loading it into a third party software getting an out of bounds error because of the size of the text file. The logical next step was to find a program to split the large text file into multiple smaller files, so that they can be loaded into the program separately afterwards.

Simple Text Splitter is an Open Source program for the Windows operating system, that can process - which means split -  large text files easily.

The portable program displays all options directly in the main interface on startup. The first thing you need to do is load a text file into the program using the open text button. Simple Text Splitter supports txt, log and srt files among other plain text files.

simple text splitter

It may take a while to load the text file completely depending on its size and the performance of the computer. You should not have issues loading large text files in the Megabyte range in the program.

Several splitting options are listed on the right side. You can select the number of parts - called chunks - that you want to split the document in to. The default name for all parts of the text file is partxx.txt which you can change to only numbers, e.g. xx.txt or by adding the default file name to the partxx name of the new files that get generated. A click on the Start button starts the process, and splits the text file into the selected number of chunks.

Simple Text Splitter has been tested on a 64-bit Windows 7 Professional PC, it should work fine on most other Microsoft operating systems as well. Note that the interface has changed slightly in newer versions of the program. You now find the options listed underneath the main pane and not on the right of it anymore.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Niefer said on October 17, 2010 at 3:39 am
      Reply

      The logical next step might be a program able to open the large text file.

    2. orlando said on October 17, 2010 at 10:40 pm
      Reply

      Hi,

      for splitting large text files, i use GSplit.

      It’s very good.

      http://www.gdgsoft.com/gsplit/

    3. OAlexander said on October 18, 2010 at 1:55 am
      Reply

      @ Niefer:
      Hear, hear! ;)

    4. john said on February 1, 2011 at 7:55 pm
      Reply

      to open a large text file get LTF (Large Text File) Viewer 5.2u

    5. Kenny Rogers said on February 3, 2011 at 5:05 pm
      Reply

      Thanks for this software. I was dividing my text file by hand, it was so difficult.

    6. Michael said on March 15, 2011 at 11:50 pm
      Reply

      Hello,

      I just tried your tool, but it can’t handle large files. I often end up with log files with 5+ million lines and just tried to open a 8 million line 1.2 gb file to split it in smaller pieces.

      But thanks for trying.

      Note: A tool that works for that kind of files is textcleaver http://bartdart.com/downloads/textcleaver.zip

    7. Emily said on May 14, 2011 at 1:09 am
      Reply

      Rock on! I’ve been looking for this for about an hour now but google turns up no valid results for “list splitter,” “split my big list,” etc. I was on the verge of swearing to it when I came across this. My file is only 2400 lines, needs to be split into sets of roughly 20 lines. I’ll try the one recommended in the post first, then look at the ones from the other commenters if it doesn’t work for me. MANY THANKS!

    Leave a Reply