About this tool
TXT merge concatenates plain text in file order for logs, draft chapters, and exported data fragments. Plain text has no heading or pagination structure, and separator newlines determine whether the last line of one file runs into the first line of the next.
Character encoding is the main risk. Mixed UTF-8, GBK, or other encodings can display incorrectly; also standardize line endings, trailing blank lines, and whether filenames should mark boundaries.
How to use it
Confirm encoding and content
Open each source and verify non-ASCII text, symbols, and line breaks.
Arrange the order
Decide on blank lines or titles between files, then order the list.
Inspect every join
Search the end and beginning of each source in output for joined lines or omissions.
Supported range and limits
- Input / output
- Several plain-text files in, one TXT out
- How it joins
- End to end in list order, with a line break inserted between files
- Encoding
- Read and written as UTF-8. Sources in GBK or another encoding may come out garbled and need converting first
- Line endings
- Mixing Windows CRLF with Unix LF leaves both kinds in the merged output
- Not done for you
- No deduplication, no sorting, no trimming of blank lines; content is preserved verbatim
- Good for
- Drafts split by chapter, logs split by day, plain-text records exported in batches
When you would use it
Combining rotated logs
Join logs split by date or size in chronological order.
Assembling plain-text chapters
Combine unformatted drafts into one searchable file.
Merging logs split by date
Join a set of daily plain-text exports into one file, then run counting or searching over the whole thing.
What to know before you start
- The tool does not sort by timestamps automatically; list order controls output.
- Concatenation cannot repair misdecoded text; convert each source to UTF-8 first.
- Large files consume browser memory, so retain sources and compare output size.
Related concepts
- UTF-8
- A common text encoding covering Unicode while remaining ASCII compatible.
- line ending
- A sequence marking a new line, commonly LF or CRLF.