Merge Text Files
Quick answer
To merge text files online, add up to 50 .txt files below, drag them into order and click Merge and Download. The tool joins them, in order and unchanged, into one .txt file in your browser, with a line break between files. Nothing is uploaded to a server.
Click here or Drop files to upload
How to use it
- 1 Collect the .txt files, such as logs, notes or exports, in one folder.
- 2 Add them to the upload area; files appear in the order you pick them, so drag to fix the sequence.
- 3 Click Merge and Download to save one merged-file.txt with a line break between files.
What to expect
- File contents are copied unchanged, with one line break added between files.
- Files are read as UTF-8 text. Files saved in other encodings may show odd characters.
- The file names are not inserted. Add a heading line to each file first if you need to tell them apart.
Frequently asked questions
How do I merge text files on Windows without a tool?
In Command Prompt, run copy *.txt merged.txt in the folder. Files are joined in name order.
How do I merge text files on Mac or Linux?
In Terminal, run cat file1.txt file2.txt > merged.txt, listing files in the order you want.
Is there a size limit?
Up to 50 files per merge. Total size is limited only by your browser's memory.
Why do some characters look wrong after merging?
The tool reads files as UTF-8. Text saved in another encoding, such as Windows-1252, can show odd symbols; re-save the file as UTF-8 first.
Can I add a separator between files?
Add a heading or a line of dashes at the end of each file before merging; the tool joins files with a single line break.
Related guides
- Word to Google Docs (Without Losing Formatting) To convert Word to Google Docs, upload the .docx to Google Drive, open it in Google Docs, and choose File > Save as Google Docs. This creates an editable Google Docs copy and leaves the original Word file unchanged. To convert every future upload automatically, turn on Convert uploads in Drive settings.
- How to Convert an Image to a Word Document (2 Methods) To convert an image to a Word document, upload it to Google Drive, right-click it and choose Open with > Google Docs, then select File > Download > Microsoft Word (.docx). In desktop Word on Windows, insert the image, save the file as a PDF, then reopen that PDF in Word to get editable text.
- How to Merge Word Documents into One File (3 Methods) To merge Word documents, open the first file, click where the others should go, and choose Insert > Object (arrow) > Text from File. Select the other files and click Insert; Word adds them in the order shown in the file list. Without Word, use Google Drive with an add-on or a free online merger.