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.

  • Runs in your browser, nothing uploaded
  • No sign-up
  • Up to 50 .txt files

Click here or Drop files to upload

How to use it

  1. 1 Collect the .txt files, such as logs, notes or exports, in one folder.
  2. 2 Add them to the upload area; files appear in the order you pick them, so drag to fix the sequence.
  3. 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.