txtin8or
A tool for combining and splitting text files.
- Active · last change 5-16-2026
- ★ 1 on GitHub
README
TXTin8or
TXTin8or can combine all text files in a specific directory into one large text file. It adds a one-line marker with the actual original text file name at the start of each text file's contents. The tool works in the other direction too: It can split the combined text file back into the original files.
Combine operation
Assume the following two files:
file1.txt
This is the first file.
It contains two lines.file2.txt
This is the second file.
As you can see,
it contains three lines.After running the combine operation, the following file gets created in the same directory as where the text files are located:
combined.txt
@@TXTin8or@@ file1.txt
This is the first file.
It contains two lines.
@@TXTin8or@@ file2.txt
This is the second file.
As you can see,
it contains three lines.Split operation
Assume the following combined file:
combined.txt
@@TXTin8or@@ file1.txt
This is the first file.
It contains two lines.
@@TXTin8or@@ file2.txt
This is the second file.
As you can see,
it contains three lines.After running the split operation, the tool creates these files in the combined sub-directory:
file1.txt
This is the first file.
It contains two lines.file2.txt
This is the second file.
As you can see,
it contains three lines.Note that the tool takes the directory name from the filename with the combined text. For example, if you renamed the filename to combined_EN.txt, then the tool creates the files in the combined_EN sub-directory.

